The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

INVOKE: Java Swing Gurus by jmaxsohmer 2007-04-26 02:14:48
Okay, so I've got this JPanel with a JComboBox and two JScrollPanes in it, both of which have JTables as the viewports. They're arranged using a SpringLayout which specifies a distance of zero between all edges, including that of the JPanel.

Problem is that the JScrollPanes don't seem to be resizing to accommodate the size of the JPanel, which is the left component of a JSplitPane. So I've got, from the bottom up, a JScrollPane at what seems to be the full default height and the bottom of the next JScrollPane. The rest, including the JComboBox, is pushed above the top of the JSplitPane's left viewport.

Any suggestions (aside from "Don't use Swing")? This is driving me nuts...

Thanks in advance.
[ Reply ]
  Oh yeah, one more thing... by jmaxsohmer2007-04-26 02:17:37
  Never mind, I figured it out... by jmaxsohmer2007-04-26 02:27:50
    glad you fixed it, even if I did type all that n/t by drrk2007-04-26 02:39:42
  I have two and a half suggestions by drrk2007-04-26 02:29:38
    Among other reasons... by jmaxsohmer2007-04-26 02:40:49
      Fair enough by drrk2007-04-26 02:59:03
        You can get Java 6 for Mac. by jmaxsohmer2007-04-26 05:25:18
          awsome - i'm not uptodate by drrk2007-04-26 06:49:52

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)