V
vikas talwar
Hi All,
I have created a JPanel object.
JPanel my_panel = new JPanel();
I have many component added on this JPanel object.
Now, I have make JScrollPane.
JScrollpane my_scroll = new JScrollpane(my_panel);
NOw my problem is with default Layout, I'm getting my component (at
JPanel) in vertical row.
and when I use 'my_panel.setLayout(null)', my JScrollpane is not
working.
Please tell me if I'm not clear with my question.
I have created a JPanel object.
JPanel my_panel = new JPanel();
I have many component added on this JPanel object.
Now, I have make JScrollPane.
JScrollpane my_scroll = new JScrollpane(my_panel);
NOw my problem is with default Layout, I'm getting my component (at
JPanel) in vertical row.
and when I use 'my_panel.setLayout(null)', my JScrollpane is not
working.
Please tell me if I'm not clear with my question.