//> using platform jvm
//> using jvm 17
import javax.swing._
import javax.swing.event._
import java.awt._
import java.awt.event._
object PenitentiaryPart3App {
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,
"? SECURITY VERIFICATION (PENITENTIARY PART 3 - FINALE)\n\nPlease enter Password to access Penitentiary Part 3 Story:",
"World Championship Access",
JOptionPane.QUESTION_MESSAGE
)
if (userInput == null || userInput != correctPassword) {
JOptionPane.showMessageDialog(
null,
"? Access Denied! Incorrect Password.",
"Error",
JOptionPane.ERROR_MESSAGE
)
sys.exit(0)
}
// 2. STORY DATA (PENITENTIARY PART 3 - EPISODES 1 TO 20)
val storyData: Map[String, String] = Map(
"Chapter 1: The Global Stage" ->
"""==================================================
|MOVIE STORY: PENITENTIARY III (PART 3 - 1987)
|Directed by Jamaa Fanaka | Adapted by Bixuu
|==================================================
|
|MAIN CHARACTERS:
| - Martel "Too Sweet" Gordone (The International Boxer)
| - Rose (Too Sweet's New Love Interest / Supporter)
| - The Blue Eyed Devil (The Brutal Opponent)
| - Promoter / International Manager
|
|CHAPTER 1 STORY & DIALOGUES:
|Too Sweet ne apne pichle dushmanon ko haraane ke baad ab national boxing circuit mein ek bada naam kama liya hai. Uspar ab international championship ka offer aata hai.
|
|Manager: "Too Sweet, ye tumhare liye world stage par jane ka sabse bada mauka hai. Global tournament mein America ko represent karna hai."
|Too Sweet: "Maine bohot ladaaiyan ladi hain, par world title jeetna mera sapna hai."
|===================================================""".stripMargin,
"Chapter 2: Meeting Rose" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 2 STORY & DIALOGUES:
|Training ke dauran Too Sweet ki mulaqat Rose se hoti hai, jo ek intelligent aur caring art student hoti hai jo use emotional support deti hai.
|
|Rose: "Too Sweet, tumhari ankhon mein ek alag hi aag hai. Par apne andar ke gusse ko control karna seekho."
|Too Sweet: "Jab ring mein utarta hoon, toh sab kuch bhool jata hoon Rose... bas jeetne ka khayal rehta hai."
|===================================================""".stripMargin,
"Chapter 3: The International Opponents" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 3 STORY & DIALOGUES:
|Tournament ke liye alag-alag deshon se khunkhar fighters sheher pahunchte hain. Unmein sabse khatarnak fighter ek European champion hota hai jise 'The Blue Eyed Devil' kaha jata hai.
|
|Blue Eyed Devil (Press conference mein): "Too Sweet sirf ek gali ka fighter hai. Main use pehle round mein hi knock out kar dunga!"
|Too Sweet (Muskurate hue): "Baatein ring ke bahar sabhi karte hain, asli jawab ring ke andar milega."
|===================================================""".stripMargin,
"Chapter 4: Hardcore Training Camp" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 4 STORY & DIALOGUES:
|Too Sweet apne trainer ke sath din-raat strenuous training sh ???? hai. Wo apni stamina aur punching power par sabse zyada focus karta hai.
|
|Trainer: "International level par mistakes ki koi jagah nahi hoti! Apne defence ko tight rakho!"
|Too Sweet: "Main is baar title apne desh ke liye jeet kar rahunga."
|===================================================""".stripMargin,
"Chapter 5: The Opening Matches" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 5 STORY & DIALOGUES:
|Tournament ke opening rounds shuru hote hain. Too Sweet apne shandar footwork aur sharp jabs se ek ke baad ek foreign fighters ko dhool chata deta hai.
|
|Crowd: "USA! USA! Too Sweet!"
|*Referee: "Knockout! Winner is Gordone!"*
|===================================================""".stripMargin,
"Chapter 6: A Mysterious Warning" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 6 STORY & DIALOGUES:
|Semi-final match se pehle raat ko Too Sweet ke room ke bahar ek anjaan shakhs aakar ek chithi chhod jata hai.
|
|Chithi mein likha hota hai: "Final match mein tumhari jaan ko khatra hai... game rigged hai!"
|Too Sweet: "Chahe jitni bhi saazish ho, main ring se pichhe nahi hatunga."
|===================================================""".stripMargin,
"Chapter 7: Rose's Concern" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 7 STORY & DIALOGUES:
|Rose wo chithi padh kar ghabra jati hai aur Too Sweet ko samjhne ki koshish karti hai.
|
|Rose: "Too Sweet, agar yahan koi saazish hai toh hume police ya organizers ko batana chahiye!"
|Too Sweet: "Nahi Rose, darr kar bhagna meri fitrat nahi hai. Mujhe apne mukabale ka samna khud karna hoga."
|===================================================""".stripMargin,
"Chapter 8: Reaching the Finals" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 8 STORY & DIALOGUES:
|Too Sweet semi-final jeet kar seedha Grand World Championship ke finals mein pahunch jata hai, jahan uska mukabla 'Blue Eyed Devil' se hona hota hai.
|
|Promoter: "Kal ki raat poori dunya ki nazrein tum par hongi, Gordone. Tayar rehna."
|===================================================""".stripMargin,
"Chapter 9: The Grand Arena Night" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 9 STORY & DIALOGUES:
|World Championship ki raat mega stadium khach-khach bhara hota hai. Lakhon log television par match live dekh rahe hote hain.
|
|Announcer: "Ladies and gentlemen, it's time for the ultimate world title showdown!"
|===================================================""".stripMargin,
"Chapter 10: Entering the Ring" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 10 STORY & DIALOGUES:
|Too Sweet confident andar kadam rakhta hai. Dusri taraf se 'Blue Eyed Devil' arrogant and aggressive style mein ring mein enter karta hai.
|
|Referee: "Let's have a clean fight. Touch gloves and go to your corners!"
|*Donon fighters ek dusre ko ghoorte hue apne corner mein jate hain.*
|===================================================""".stripMargin,
"Chapter 11: The First Round Storm" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 11 STORY & DIALOGUES:
|Pehle hi round mein Blue Eyed Devil apni brute force aur dirty tactics ka use karte hue Too Sweet par heavy punches barsane lagta hai.
|
|Too Sweet (Man hi man): "Iska stamina high hai, mujhe pehle rounds mein iska attack absorb karna hoga."
|Crowd: "Get up, Too Sweet!"
|===================================================""".stripMargin,
"Chapter 12: Taking Heavy Blows" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 12 STORY & DIALOGUES:
|Round 3 tak pahunchte-pahunchte Too Sweet ke chehre par chot lag chuki hoti hai aur khoon nikalne lagta hai. Rose darr ke maare apni seat se khadi ho jati hai.
|
|Blue Eyed Devil (Haste hue): "Kya hua champion? Tera confidence kahan gaya?!"
|Too Sweet (Gahri saans lete hue): "Abhi toh maine ladna shuru hi nahi kiya."
|===================================================""".stripMargin,
"Chapter 13: Finding the Weakness" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 13 STORY & DIALOGUES:
|Too Sweet dhyan se dekhta hai ki jab wo jab marta hai, toh opponent ka left ribs wala hissa khula chhoot jata hai.
|
|Trainer (Corner se chilate hue): "Uski ribs par attack karo, Gordone! Wahi uska weak point hai!"
|Too Sweet: "Mujhe dikh gaya hai uska kamzor hissa."
|===================================================""".stripMargin,
"Chapter 14: Turning the Match Around" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 14 STORY & DIALOGUES:
|Round 4 mein Too Sweet apni strategy badalta hai aur lightning-fast speed ke sath opponent ki ribs aur body par barrage of punches khol deta hai.
|
|*Ek bhyankar body hook seedha Blue Eyed Devil ke pet par lagta hai.*
|Blue Eyed Devil (Ladkhadate hue): "Ughhh! Yeh kya tha?!"
|===================================================""".stripMargin,
"Chapter 15: The Final Countdown" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 15 STORY & DIALOGUES:
|Too Sweet ko mauka milte hi wo bina waqt gawaye ek devastating upper-cut combination punch deliver karta hai.
|
|*Blue Eyed Devil hawa mein ghum kar seedha ring ke canvas par behosh gir padta hai.*
|Referee: "1... 2... 3... 4... 5... 6... 7... 8... 9... 10! Knockout! The new World Champion is Too Sweet Gordone!"
|===================================================""".stripMargin,
"Chapter 16: The World Title Victory" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 16 STORY & DIALOGUES:
|Poore stadium mein goonj uthti hai. Rose daud kar ring mein aati hai aur Too Sweet ko gale laga leti hai.
|
|Rose: "Tumne kar dikhaya, Too Sweet! Tum World Champion ban gaye!"
|Too Sweet (Belt upar uthate hue): "Yeh jeet mere desh aur har us shakhs ke liye hai jisne mujh par bharosa kiya."
|===================================================""".stripMargin,
"Chapter 17: Respect from All" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 17 STORY & DIALOGUES:
|Yahan tak ki defeated opponent Blue Eyed Devil bhi uth kar Too Sweet ka haath pakadta hai aur respect show karta hai.
|
|Blue Eyed Devil: "Tum sach mein ek true champion ho, Gordone. Maine aaj tak aisi technique nahi dekhi."
|Too Sweet: "Hard work aur discipline har cheez jeet sakta hai."
|===================================================""".stripMargin,
"Chapter 18: A Bright Future" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 18 STORY & DIALOGUES:
|Kuch dino baad, Too Sweet apne sheher wapas lautta hai jahan uska ek hero ki tarah grand welcome hota hai. Purane dinon ke wo andhere badal ab hamesha ke liye chhat chuke the.
|
|Too Sweet: "Zindagi mein chahe kitni bhi mushkilein aayein, agar aap haar nahi mante toh jeet aapki hi hoti hai."
|===================================================""".stripMargin,
"Chapter 19: Looking Back at the Journey" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 19 STORY & DIALOGUES:
|Rose aur Too Sweet ek shaam samundar ke kinare khade hokar aane wale kal ke sapne dekhte hain.
|
|Rose: "Ab aage kya plan hai, Champion?"
|Too Sweet: "Ab aage sirf peace, training aur ek nayi aisi academy kholna hai jahan main naye bachon ko train kar saku."
|===================================================""".stripMargin,
"Chapter 20: The Grand Trilogy Finale - Epilogue" ->
"""==================================================
|WRITTEN BY BIXUU
|==================================================
|
|CHAPTER 20 STORY & DIALOGUES (TRILOGY FINALE):
|Ek final grand message screen par flash hota hai.
|
|Author's Final Trilogy Note:
| "Penitentiary trilogy ka safar jail ke andhere se shuru hokar world championship ke ujale par khatam hota hai. Too Sweet ki kahani sada ke liye amar ho gayi!"
|
|THE END - PENITENTIARY TRILOGY WRITTEN & ADAPTED BY BIXUU.
|==================================================
|
|? ANNOUNCEMENT FROM CREATOR BIXUU:
|"BIXUU (??????) SUCCESSFULLY FINISHED THE ENTIRE PENITENTIARY TRILOGY!
|Hope you loved all 3 parts. Stay tuned for more epic stories!"
|===================================================""".stripMargin
)
// 3. GUI WINDOW CREATION
val frame = new JFrame("Movie Story Viewer: PENITENTIARY PART 3 (FINALE) - By Bixuu")
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE)
frame.setSize(950, 650)
frame.setLocationRelativeTo(null)
// Header (World Championship Theme Color - Royal Blue/Gold)
val headerLabel = new JLabel(" ? PENITENTIARY PART 3: THE WORLD CHAMPIONSHIP FINALE (Adapted by Bixuu) ", SwingConstants.CENTER)
headerLabel.setFont(new Font("Arial", Font.BOLD, 14))
headerLabel.setOpaque(true)
headerLabel.setBackground(new Color(0, 30, 70))
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
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
PenitentiaryPart3App.main(Array())