Search:

Type: Posts; User: Cornix

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,444

    [SOLVED] Re: Problem with swing GUI components in JPanel

    A null layout is usually a very bad idea. It doesnt scale well, actually, it doesnt scale at all. And you have so much work to position all elements by hand.
    Just study the different layouts and...
  2. Replies
    6
    Views
    1,444

    [SOLVED] Re: Problem with swing GUI components in JPanel

    The problem is you make your frame visible and afterwards you keep adding components to it.
    Once you make a frame visible the frame will then arrange its contents and paint itself. If you change...
  3. Replies
    6
    Views
    1,444

    [SOLVED] Re: Problem with swing GUI components in JPanel

    Probably because you did something wrong in your code.
    But we cant really tell because we dont know your code.

    When you post your code make sure to put it inside [code] brackets.
Results 1 to 3 of 3