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

Swing-JInternalFrame

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've created an application with JInternal Frame but I can't draw a line in it.
I've tried using the paint(Graphics g) method but it just draws a line on the applications desktop area.
I've also tried paintComponent(Graphics g), it gets called but it doesn't visibly draw the line.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!