Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to insert a vertical line in Swing - Very Urgent and important  RSS feed

 
Sriram Neelakandha Sharma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I wanna insert a vertical line on a JPanel.
The issue is like this...
I have a jPanel. On the jPanel, three buttons are on the right side and three buttons are on the left side. Now, I need to put a vertical line seperating these left and right side buttons. I am using netbeans IDE. I have a JSeparator for drawing a horizontal line or separator. I dont have a vertical separator. The layout that I am using is Absolute Layout. Can somebody help me on this asap. This is very urgent.
Thanks in advance...Sriram.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you tried setting the orientation of the JSeparator?
 
Sriram Neelakandha Sharma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeff...Now I need to work on customising it for my application.
Thanks again.

Regards,
Sriram.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!