Results 1 to 2 of 2
  1. #1
    yaminisankar is offline Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Default how to add a scrollpane to Jframe

    hi
    i designed a sample application with variety of controls like textfield,labels etc.
    Now I want to add scrollbar. How should I do it in swings?

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    6

    Default

    is your scrollpane means JScrollPane?

    i think jscrollpane is similar to jpanel, just add jscrollpane to jframe is ok

    go google and search jscrollpane
    click How to Use Scroll Panes (The Java™ Tutorials > Creating a GUI with...
    Last edited by mtyoung; 07-09-2009 at 11:00 AM.

Similar Threads

  1. Replies: 4
    Last Post: 04-23-2009, 12:02 AM
  2. Replies: 8
    Last Post: 01-13-2009, 11:30 AM
  3. ScrollPane Issues..
    By hanifa in forum AWT / Swing
    Replies: 4
    Last Post: 09-11-2008, 09:18 AM
  4. scrollpane
    By Newb in forum AWT / Swing
    Replies: 0
    Last Post: 06-09-2008, 01:14 AM
  5. Tree with Listener not working when added to ScrollPane
    By praveen.kb in forum AWT / Swing
    Replies: 2
    Last Post: 01-09-2008, 08:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •