Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting a JScrollBar to a JPanel urgent  RSS feed

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JPanel (350, 1600) which contains a number of JTextfields. I would like to connect a JScrollBar to the JPanel;
I dont want to insert the panel into a JScrollPane since I dont
want the JPanel to appear within a box ie I want it to blend with the JFrame which is 450, 650. How do I make the connection.
Thank u for your time
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!