Using Dialogues in Applets

There are many dialogues built into Java libraries and you can customise your own if you must, but be warned that some of the code for customised dialogues is not easy. Follow the links below for a simple message dialogue, option dialogues with standard buttons or with your own button names then input, colour and file dialogues.

We supply the source code but not the .oxygene project files or the html files to run the applets. For many simple examples of these see the first applets in this tutorial such the one demonstrating the drawing of lines.

Programming - a skill for life!

How to use widgets such as JButtons, JTextAreas, JComboBoxes and dialogues in Oxygene for Java applets