• Post Reply Bookmark Topic Watch Topic
  • New Topic

Drawing a line on an inner JPanel  RSS feed

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JPanel that sits on top of another JPanel. The inner JPanel contains some input JTextFields. I need to draw a line separating the
top from the bottom fields. How do I do this?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a JSeparator.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!