answersLogoWhite

0

Monitor and other display devices

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

In java what is the import statement needed to use button components in applets or GUI applications?

I highly recommend you to use javax.swing.JFrame


What is jfc?

The Java Foundation Classes (JFC) are a comprehensive set of GUI components and services which dramatically simplify the development and deployment of commercial-quality desktop and Internet/Intranet applications.


What are the advantages of JFC?

JFC stands for Java Foundation Classes. They are a set of GUI components and services which simplify the development and deployment of commercial-quality desktop and internet/intranet applications.


How do you make a Java Text Adventure GUI?

It depends on how complicated you'd like it to be. I would suggest you begin with a simple java text adventure without GUI components, and then convert it into a GUI when you've got a good feel for the program. This is a very broad question, and you can really create a text adventure GUI via any means you can possibly imagine. A very basic GUI could consist of several JButtons (four for moving around, one for looking around the room for objects, one for looking in inventory, etc.) and possibly a JTextField and JTextArea to analyze player-written commands and to display a log of the program output. A basic Grid or Flow Layout is probably the easiest layout to start with, and you can arrange the components in any way you like. Once you have your layout, you can add actionListeners to each component to perform each command that the player initially had to type out in your original program. It should be pretty straightforward from there. Good luck!


What do you mean by JFC in java?

The Java Foundation Classes (JFC) are a comprehensive set of GUI components and services which dramatically simplify the development and deployment of commercial-quality desktop and Internet/Intranet applications. Sundeep

Related Questions