Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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...
  2. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Yes those are examples of packages.
  3. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    You need to read about using packages when creating a program. Read about the package statement.
  4. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Sounds like you need to read the Tutorial and the API doc about jar files.
  5. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    the manifest file goes in the jar file.
  6. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    You need to put everything that is needed in the jar file.


    Read the doc on how to use the jar command.
  7. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Put the class files in a jar file that includes a manifest file.
  8. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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.
  9. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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.
  10. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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.
  11. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Yes, most people do run their programs after they compile them.


    ??? separate from what?
  12. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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...
  13. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    What class is it in? Have you read the API doc for that class and method?


    Not easily. Why not use the JScrollPane?
  14. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Do you get a scroll bar with a scroll pane?
    Or do you want one separate from the pane?
  15. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Put it in its own window.
  16. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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)...
  17. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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.
  18. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    Do a search for JScrollPane to get some examples on how to use it.
    Or go the the Java Tutorial for some examples.
  19. Replies
    60
    Views
    8,147

    [SOLVED] Re: Scroll down in JOptionPane and window problems.

    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.
Results 1 to 19 of 19