Search:

Type: Posts; User: JonLane

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    [Mark as solved]
    Well, good thing you kept insisting on a wrapper Copeg, I tried it again after 100 other things, and it worked this time.
    No idea how I failed to add it right the first time, must...
  2. [SOLVED] Re: JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    Even shorter SSCCE

    This code just uses GridLayout, and fills it with exactly as many JPanels as needed to fill the grid.
    in this demo we have 10x10 grid, filled with 100 JPanels, they order...
  3. [SOLVED] Re: JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    JPanels are weak mindless creatures, they need to grow some back bone and stand up to those Layout managers. I am close to giving up and either not using a layout manager, or trying something other...
  4. [SOLVED] Re: JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    ha ha, will do. Can I ask why?
  5. [SOLVED] Re: JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    I took out the scroller and it didn't make a difference as I suspected. (but it is needed to test the behavior of window resizing)
  6. [SOLVED] Re: JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    import java.awt.*;
    import javax.swing.*;
    public class SSCCE extends JFrame {

    public static void main(String[] args)
    {
    //This block creates a panel(which uses grid layout) to put in the...
  7. [SOLVED] JPanel inside CENTER of BorderLayout is given GRID LAYOUT

    My code compiles and runs, but I have a behavior problem with my Layout managers.

    This is the creation of the JFrame which uses BorderLayout.
    I use Border because I like/need the Quality that...
Results 1 to 7 of 7