Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jlabel cover jtable ?

 
marko stone
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i have JLabel and JTable
JLabel showing ok and JTable ok too except columnnames it's not showing
why ?
table_elements=new TableElements[1];
table_elements[0]=new TableElements(this);
Box bv=new Box(BoxLayout.Y_AXIS);
label=new JLabel("0");
bv.add(label);
bv.add(Box.createVerticalStrut(10));
bv.add(table_elements[0]);
jsp=new JScrollPane(bv);
getContentPane().add(jsp);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!