That message is from the OS. It is saying that it does not know/recognize the command you entered.
Where is the file for the command located? Is that location on the path?
Can you use the full...
Type: Posts; User: Norm
That message is from the OS. It is saying that it does not know/recognize the command you entered.
Where is the file for the command located? Is that location on the path?
Can you use the full...
Yes those are examples of packages.
You need to read about using packages when creating a program. Read about the package statement.
Sounds like you need to read the Tutorial and the API doc about jar files.
the manifest file goes in the jar file.
You need to put everything that is needed in the jar file.
Read the doc on how to use the jar command.
Put the class files in a jar file that includes a manifest file.
Class files are not source code. They are executable.
Read up on how to put an application into a jar file. Then others will be able to use it.
Go to the folder with the class files and use the java command.
Read up on how to put an application into a jar file. Then others will be able to use it.
Make it an applet and put its class files and an html file on a server.
To run a java program use the java.exe command.
Yes, most people do run their programs after they compile them.
??? separate from what?
A feature of modal.
JScrollPane extends the Container class which has the add() methods.
Do you have such large buttons that you need a scroll bar to see them?
the java command is how you...
What class is it in? Have you read the API doc for that class and method?
Not easily. Why not use the JScrollPane?
Do you get a scroll bar with a scroll pane?
Or do you want one separate from the pane?
Put it in its own window.
have you read the API doc for JScrollPane? There is a link to the Java Tutorials on that page:
How to Use Scroll Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)...
You'll have to post the code. There are so many ways to do it incorrectly, I don't know which one you've chosen.
Do a search for JScrollPane to get some examples on how to use it.
Or go the the Java Tutorial for some examples.
To call a method in a class, you need a reference to the object. Can you pass a reference to the button object to the 2nd window?
See the JScrollPane class for how to handle too big to fit problem.