This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add scrollpane for a jframe?

 
mohan rajv
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to add scrollpane for a jframe?
i tried to add for a panel.it is working fine.
i tried the same thing with a jframe object insted of panel object.
it is not working.:-(
 
Campbell Ritchie
Sheriff
Pie
Posts: 49733
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't see why not. Please give some more details and show us which code you can't get to work and what sort of error you are experiencing.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> how to add scrollpane for a jframe?

you add the scrollpane to the frame, not the frame to the scrollpane (will work OK adding a panel to a scrollpane)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic