//> using platform jvm
//> using jvm 17
import javax.swing._
import javax.swing.event._
import java.awt._
import java.awt.event._
object AnnabellePart2HorrorApp {
def main(args: Array[String]): Unit = {
SwingUtilities.invokeLater(new Runnable {
def run(): Unit = {
// 1. SECURITY VERIFICATION
val correctPassword = "Bixuu02_anime"
val userInput = JOptionPane.showInputDialog(
null,
"? HORROR SECURITY VERIFICATION (PART 2)\n\nPlease enter Password to access Annabelle Part 2:",
"Haunted Access",
JOptionPane.QUESTION_MESSAGE
)
if (userInput == null || userInput != correctPassword) {
JOptionPane.showMessageDialog(
null,
"? Access Denied! Incorrect Password.",
"Error",
JOptionPane.ERROR_MESSAGE
)
sys.exit(0)
}
// 2. HORROR STORY DATA (PART 2 - EPISODES 1 TO 20)
val storyData: Map[String, String] = Map(
"Chapter 1: The Broken Seal" ->
"""==================================================
|HORROR STORY: ANNABELLE PART 2 - THE RETURN
|Written by Bixuu
|==================================================
|
|HORROR CHARACTERS:
| - Father Thomas (The Aging Exorcist)
| - Mark (Curator of the Church Museum)
| - Lily (Paranormal Investigator / Parapsychologist)
| - Annabelle (The Awakened Doll)
|
|CHAPTER 1 STORY & DIALOGUES:
|Church ke secret museum mein rakhi Annabelle doll ke glass case ki seal achanak toot gayi. Security guard Mark jab andar gaya toh box khali mila.
|
|Mark (Radio par): "Father Thomas! Museum ka glass tut gaya hai aur... aur doll gayab hai!"
|Father Thomas (Phone par ghabrate hue): "Mark! Box ke paas mat jana! Wo doll wahan se hil chuki hai!"
|Mark: "Aisa kaise ho sakta hai? Door toh andar se locked thaa..."
|*Peeche se thandi aawaz aati hai: "Now you can't escape..."*
|===================================================""".stripMargin,
"Chapter 2: The Missing Guard" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 2 STORY & DIALOGUES:
|Agli subah Father Thomas museum pahunche toh Mark wahan nahi mila, bas floor par khoon ke nishaan aur doll ka ek purana ribbon pada tha.
|
|Father Thomas (Cross pakadte hue): "Shaitaan phir se aazad ho chuka hai... Iska matlab kisi ne anjaane mein black magic ki kitab padh li hai."
|Assistant: "Father, kya hume police ko batana chahiye?"
|Father Thomas: "Police is dark power ko nahi samajh sakti. Hume paranormal expert Lily ki madad leni hogi."
|===================================================""".stripMargin,
"Chapter 3: Entering the Haunt" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 3 STORY & DIALOGUES:
|Paranormal investigator Lily church pahunchi aur usne apne EMF detectors aur thermal cameras se museum scan kiya.
|
|Lily (Monitor dekhte hue): "Father, yahan energy levels insane hain! Negative frequency maximum par hai."
|Father Thomas: "Doll ab is building mein nahi hai. Wo kisi naye ghar ki talash mein nikal chuki hai."
|Lily: "Toh hume jaldi pata lagana hoga ki wo kahan gayi hai, warna aur bhi mautein hongi."
|===================================================""".stripMargin,
"Chapter 4: The New Victim's House" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 4 STORY & DIALOGUES:
|Ek innocent family (The Millers) ne apne porch par ek ajeeb box mila, jiske andar wahi purani doll rakhi thi.
|
|Mrs. Miller: "Yeh doll yahan kahan se aayi? Kitni creepy aur purani hai."
|Mr. Miller: "Shayad kisi ne donate ki hogi. Baccho ke room mein rakh dete hain."
|Mrs. Miller: "Nahi... mujhe ise dekhkar ajeeb sa darr lag raha hai."
|===================================================""".stripMargin,
"Chapter 5: The Midnight Crying" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 5 STORY & DIALOGUES:
|Pehli hi raat Miller family ke chhote bete Leo ke room se rone ki aawaz aane lagi.
|
|Mr. Miller (Room mein aate hue): "Leo beta, kya hua? Tum ro kyun rahe ho?"
|Leo (Angli se doll ki taraf ishara karte hue): "Papa... doll ne mujhe bola ki wo mere sath khelna chahti hai."
|Mr. Miller: "Doll toh niche living room mein thi... yahan kaise aayi?!"
|*Doll ki ankhon mein red light chamakti hai.*
|===================================================""".stripMargin,
"Chapter 6: Lily's Warning" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 6 STORY & DIALOGUES:
|Father Thomas aur Lily ko ek psychic vision ke zariye pata chala ki doll Miller family ke ghar pahunch chuki hai.
|
|Lily: "Father, hume turant Miller family ke ghar jana hoga! Wo bacche ko target kar rahi hai."
|Father Thomas: "Gaadi tezi se chalao! Shaitaan bacchi ki soul ko absorb karne ki koshish kar raha hai."
|===================================================""".stripMargin,
"Chapter 7: The Locked Doors" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 7 STORY & DIALOGUES:
|Jab Father Thomas aur Lily Miller family ke ghar pahunche, toh darwaze aur khidkiyan andar se lock ho chuki thi.
|
|Father Thomas: "Darwaza todo! Andar demonic barrier ban chuka hai!"
|*Lily ek heavy rod se glass tod kar andar enter karti hai.*
|Lily: "Mrs. Miller! Aap log kahan hain?!"
|===================================================""".stripMargin,
"Chapter 8: The Hallucination Chamber" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 8 STORY & DIALOGUES:
|Ghar ke andar aate hi Lily ko apne past ke dark memories ka illusion dikhne laga.
|
|Lily (Khud se): "Nahi... yeh sach nahi hai! Ye sab shaitaan ka dhokha hai!"
|Father Thomas: "Lily! Apne mind ko control karo, cross ko tight pakdo!"
|*Father Thomas ki prayer se illusion shatter ho jata hai.*
|===================================================""".stripMargin,
"Chapter 9: Confronting the Entity" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 9 STORY & DIALOGUES:
|Dono living room mein pahunche jahan Annabelle doll hawa mein thodi upar tair rahi thi aur charo taraf aag ki laptein thi.
|
|Annabelle (Creepy demonic laugh): "Tum sab yahan marne ke liye aye ho, Father!"
|Father Thomas: "In the name of Almighty, leave this house and this innocent soul!"
|Annabelle: "Yeh soul ab meri hai!"
|===================================================""".stripMargin,
"Chapter 10: The Battle of Faith" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 10 STORY & DIALOGUES:
|Father Thomas ne pure focus ke sath Latin exorcism shuru kiya, jabki Lily ne Miller family ko safe corner mein shift kiya.
|
|Lily: "Aap log theek hain? Humare sath chaliye!"
|Mrs. Miller: "Wo doll... wo zinda hai! Usne Leo ko pakad rakha hai!"
|Father Thomas: "Apni taqat mat todo, shaitaan! Main tujhe hara kar rahunga!"
|===================================================""".stripMargin,
"Chapter 11: The Counter Attack" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 11 STORY & DIALOGUES:
|Shaitaan ne gusse mein aakar ghar ki saari lights fhod diin aur furniture ko hawa mein uchhalne laga.
|
|Lily (Darrte hue): "Father! Uski power bohot zyada strong ho chuki hai!"
|Father Thomas: "Kyunki usne kai logon ki life force absorb kar li hai! Hume iska core weak karna hoga."
|*Father Thomas apni hatheli par holy water lagakar aage badhte hain.*
|===================================================""".stripMargin,
"Chapter 12: The Secret Ritual Book" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 12 STORY & DIALOGUES:
|Lily ne apne bag se purani demonic containment book nikal kar ek specific page open kiya.
|
|Lily: "Father! Is book mein likha hai ki doll ke andar ke demon ko permanent seal karne ke liye silver chain aur holy fire ki zaroorat hai!"
|Father Thomas: "Mere cross ke sath silver chain hai! Ise doll ke round lapet do!"
|===================================================""".stripMargin,
"Chapter 13: Binding the Doll" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 13 STORY & DIALOGUES:
|Lily ne apni jaan ki baazi lagakar tezi se aage badhi aur doll ke charo taraf silver chain lapet di.
|
|Annabelle (Screaming in pain): "Ahhhhh! Yeh jal raha hai! Mujhe chhod do!"
|Lily: "Ab tum kahin nahi ja sakti, shaitaan!"
|Father Thomas: "Ashes to ashes, dust to dust... Return to the abyss!"
|===================================================""".stripMargin,
"Chapter 14: The Final Explosion" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 14 STORY & DIALOGUES:
|Silver chain aur holy fire ke reaction se ek bhyankar blue flame feli aur doll zameen par gir padi.
|
|Mr. Miller: "Kya... kya wo mar gayi?"
|Father Thomas (Haapte hue): "Nahi... shaitaan immortal hai, par humne ise wapas qaid kar liya hai."
|Lily: "Isse pehle ki ye dobara bage, ise hume sacred box mein lock karna hoga."
|===================================================""".stripMargin,
"Chapter 15: Locking the Evil Again" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 15 STORY & DIALOGUES:
|Father Thomas ne doll ko ek lead-lined iron box mein daal kar uspe 7 layers ki holy seals lagadiin.
|
|Father Thomas: "Is baar hum is box ko kisi church mein nahi, balki ek secret underground vault mein dafnayenge."
|Lily: "Yeh sabse safest decision hoga."
|===================================================""".stripMargin,
"Chapter 16: The Deep Vault" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 16 STORY & DIALOGUES:
|Sheher se door ek suneeshan pahadi par bane secret bunker mein box ko zameen ke 50 feet andar dafna diya gaya.
|
|Worker: "Sir, yahan tak koi nahi pahunch sakta. Ye jagah poori tarah safe hai."
|Father Thomas: "Umeed hai ki ab ye shaitaan kabhi bahar nahi aayega."
|===================================================""".stripMargin,
"Chapter 17: Temporary Peace" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 17 STORY & DIALOGUES:
|Kuch mahine beet gaye. Miller family ab normal life jee rahi thi aur sheher mein bhi shanti thi.
|
|Lily: "Father, lagta hai humne finally us curse ko hara diya."
|Father Thomas: "Shanti khuda ki den hai, Lily. Par hume hamesha alert rehna chahiye."
|===================================================""".stripMargin,
"Chapter 18: The Whispering Underground" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 18 STORY & DIALOGUES:
|Lekin 50 feet underground vault ke andar, us heavy iron box ki seals par halki si darar aane lagi.
|
|Box ke andar se aawaz aayi: "Tumne socha tumne mujhe hara diya... par andhera kabhi nahi marta."
|*Box ka lock achanak 'click' karke khulne lagta hai.*
|===================================================""".stripMargin,
"Chapter 19: The Red Glow in the Dark" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 19 STORY & DIALOGUES:
|Vault ke security camera ki screen achanak static ho gayi aur screen par doll ki ankhon ka red glow dikhne laga.
|
|Security Monitoring System: [ALERT: Vault containment breach detected!]
|*Screen poori tarah black ho jati hai aur background mein creepiest hansi goonjti hai.*
|===================================================""".stripMargin,
"Chapter 20: The Endless Curse - Epilogue" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 20 STORY & DIALOGUES (PART 2 ENDING):
|Ek final dark message screen par flash hota hai.
|
|Author's Final Note:
| "Annabelle ko qaid karna mumkin nahi, wo sirf ek naye shikaar ke intezaar mein soyi thi. Part 2 khatam hua hai, par darr abhi baaki hai!"
|
|THE END - ANNABELLE PART 2 WRITTEN BY BIXUU.
|==================================================
|
|? ANNOUNCEMENT FROM CREATOR BIXUU:
|"BIXUU (??????) BROUGHT YOU ANNABELLE PART 2!
|Hope you enjoyed this horror sequel. Stay tuned for Part 3!"
|===================================================""".stripMargin
)
// 3. GUI WINDOW CREATION
val frame = new JFrame("Horror Story Viewer: ANNABELLE PART 2 - By Bixuu")
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE)
frame.setSize(950, 650)
frame.setLocationRelativeTo(null)
// Header (Dark Horror Theme Color - Deep Maroon/Black)
val headerLabel = new JLabel(" ? ANNABELLE PART 2: THE RETURN OF THE DOLL (Written by Bixuu) ", SwingConstants.CENTER)
headerLabel.setFont(new Font("Arial", Font.BOLD, 15))
headerLabel.setOpaque(true)
headerLabel.setBackground(new Color(50, 0, 0))
headerLabel.setForeground(Color.WHITE)
headerLabel.setPreferredSize(new Dimension(950, 40))
// Chapter List
val chapterKeys = (1 to 20).map(i => storyData.keys.find(_.startsWith(s"Chapter $i:")).getOrElse(s"Chapter $i")).toArray
val listModel = new DefaultListModel[String]()
chapterKeys.foreach(listModel.addElement)
val chapterList = new JList[String](listModel)
chapterList.setFont(new Font("Arial", Font.PLAIN, 12))
chapterList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION)
chapterList.setSelectedIndex(0)
val listScrollPane = new JScrollPane(chapterList)
listScrollPane.setPreferredSize(new Dimension(320, 500))
// Story Text Area (Dark spooky background feel)
val storyArea = new JTextArea()
storyArea.setFont(new Font("Monospaced", Font.PLAIN, 13))
storyArea.setEditable(false)
storyArea.setLineWrap(true)
storyArea.setWrapStyleWord(true)
storyArea.setBackground(new Color(20, 20, 20))
storyArea.setForeground(new Color(230, 230, 230))
storyArea.setText(storyData(chapterKeys(0)))
storyArea.setCaretPosition(0)
val textScrollPane = new JScrollPane(storyArea)
// Selection Listener
chapterList.addListSelectionListener(new ListSelectionListener {
def valueChanged(e: ListSelectionEvent): Unit = {
if (!e.getValueIsAdjusting) {
val selectedKey = chapterList.getSelectedValue
if (selectedKey != null && storyData.contains(selectedKey)) {
storyArea.setText(storyData(selectedKey))
storyArea.setCaretPosition(0)
}
}
}
})
// Layout Assembly
val mainPanel = new JPanel(new BorderLayout())
mainPanel.add(headerLabel, BorderLayout.NORTH)
mainPanel.add(listScrollPane, BorderLayout.WEST)
mainPanel.add(textScrollPane, BorderLayout.CENTER)
frame.add(mainPanel)
frame.setVisible(true)
}
})
}
}
// Direct Execution Entrypoint for Scala Script / REPL
AnnabellePart2HorrorApp.main(Array())