Win a copy of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to add scrollpane for a jframe?  RSS feed

 
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.:-(
 
Marshal
Posts: 59467
187
  • 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.
 
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)
 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!