Search:

Type: Posts; User: ha.minh.nam

Search: Search took 0.08 seconds.

  1. Re: what's going on? I tried to make a scrollable JFrame and it didn't work!

    The problem is at this statement:



    spl.layoutContainer(this);


    According to java doc of class JScrollPaneLayout:
  2. Re: what's going on? I tried to make a scrollable JFrame and it didn't work!

    Please post the runtime exception here.

    One solution is to have a JPanel added to a JScrollPane which is added to JFrame. This will work definitely.

    immutable objects
Results 1 to 2 of 2