Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24
  1. #21
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by pahiker View Post
    That worked, thanks. I assume it was #2 that was the problem, can you explain what was wrong?
    It's already explained above. You're not removing the old JPanel object but rather are creating a new JPanel object and trying to remove it before it's been even added (makes no sense), and are leaving the old JPanel in place.

    Also, where are the tutorials? Other than the basic intro, I haven't seen any in-depth tutorials on the sun site.
    You must be a much better Swing coder than I since the Sun Swing tutorials seem pretty darn advanced to me, and I still don't know half of what is contained in them.

  2. #22
    pahiker's Avatar
    pahiker is offline Member
    Join Date
    Jun 2010
    Posts
    63
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    It's already explained above. You're not removing the old JPanel object but rather are creating a new JPanel object and trying to remove it before it's been even added (makes no sense), and are leaving the old JPanel in place.
    I guess what I was asking is why it worked on the Mac OS but not the Windows? I thought execution was to be the same across all platforms?


    You must be a much better Swing coder than I since the Sun Swing tutorials seem pretty darn advanced to me, and I still don't know half of what is contained in them.
    Doubt it, this is the only tutorial I know of: Trail: Getting Started (The Java™ Tutorials)

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

  4. #24
    pahiker's Avatar
    pahiker is offline Member
    Join Date
    Jun 2010
    Posts
    63
    Rep Power
    0

    Default

    Wow! Thanks! I never saw those before.

    BTW, looks like the redirections have been resolved on the Oracle/Sun site, I can get to the docs now.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Refreshing Jtable once again...
    By Norther in forum AWT / Swing
    Replies: 2
    Last Post: 06-29-2010, 08:46 PM
  2. Refreshing JList - need help
    By Unsub in forum New To Java
    Replies: 1
    Last Post: 04-13-2010, 07:31 AM
  3. JTableHeader not refreshing
    By aznboarder in forum AWT / Swing
    Replies: 4
    Last Post: 04-11-2009, 05:31 AM
  4. Why my JTree always collasped after refreshing?
    By lmsook10 in forum AWT / Swing
    Replies: 2
    Last Post: 06-24-2008, 06:55 AM
  5. Bug in refreshing jsp
    By anki1234 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 12-31-2007, 08:09 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
  •