Search:

Type: Posts; User: Norm

Search: Search took 0.45 seconds.

  1. Replies
    7
    Views
    1,540

    [SOLVED] Re: Keyboard Listeners and ImagePanel

    Try it and see what happens.
  2. Replies
    7
    Views
    1,540

    [SOLVED] Re: Keyboard Listeners and ImagePanel

    Make sure the JPanel is given a size for the layout manager to use. Try using the set preferred size method.
  3. Replies
    7
    Views
    1,540

    [SOLVED] Re: Keyboard Listeners and ImagePanel

    Yes that was the code I was talking about. You need to read up on how to use layout managers.
    A Visual Guide to Layout Managers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out...
  4. Replies
    7
    Views
    1,540

    [SOLVED] Re: Keyboard Listeners and ImagePanel

    Check how you are using the layout manager. When add components to a container, the layout manger controls where the components go. For some layout mangers you need tell it where to put components by...
Results 1 to 4 of 4