Results 1 to 5 of 5
  1. #1
    rattaman is offline Member
    Join Date
    Nov 2009
    Posts
    5
    Rep Power
    0

    Default JTable and scrollbars

    I'm here, again.

    I'm using a JTable in a JScroolPane. I put the JScrollPane in a JInternalFrame.

    Here the point: when I resize at runtime the JInternalFrame object, it appens that the vertical/horizontal scrollbars of the JScrollPane are not visible, despite when I open the JInternalFrame at first time they are both visible and working!

    Any suggestion?

    Thanks in advance.

    Roy.

  2. #2
    rattaman is offline Member
    Join Date
    Nov 2009
    Posts
    5
    Rep Power
    0

    Default

    I discovered that the scrollbars become invisible when the JInternalFrame width is less than the width of the JToolbar that I put within the frame!

    To confirm this theory, I cancelled the JToolBar and now everything works! But, I don't understant why (and also, I need the JToolBar)!!!

  3. #3
    rattaman is offline Member
    Join Date
    Nov 2009
    Posts
    5
    Rep Power
    0

    Default

    ...and I solved the problem by setting the JToolBar horizontal resizable!

  4. #4
    Jyoti Joshi is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    Hi... i m Jyoti...
    I have a problem with sroll in scrollpane having a JTable which refreshes after every 5 seconds. The problem is that if we drag the scroll at any position, after 5 seconds when JTable updates, the scroll of the scrollbar moves at begining and hence a small flickering of JTable appears. Please geve me some suggessions about this problem as early as possible. I m waiting for your reply.........Reply must.......

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Hide scrollBars from scrollPanes..
    By ehochedez in forum AWT / Swing
    Replies: 4
    Last Post: 06-30-2010, 03:48 PM
  2. JTable help
    By FFEJ in forum New To Java
    Replies: 5
    Last Post: 10-05-2009, 11:30 PM
  3. I am having trouble with scrollbars in netbeans 5.5.1
    By ineedhelp in forum New To Java
    Replies: 2
    Last Post: 03-13-2009, 06:56 PM
  4. How to set SCROLLBARS to my APPLET???
    By nsharath in forum New To Java
    Replies: 2
    Last Post: 02-09-2009, 09:59 AM
  5. Replies: 2
    Last Post: 05-15-2008, 10:15 AM

Tags for this Thread

Posting Permissions

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