Article View: borland.public.jbuilder.java.swing
Article #9847Re: Repost: Newbie ? JSplitPane or SplitPanel help Answer Found
From: James Kelly
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
47 lines
2310 bytes
2310 bytes
Hi all, In case anyone else looks at my original post and had the same problem, here is how I got thigns to work. First, I had to ditch Borlands SplitPanel and DecoratedFrame classes. This means I could not use the GUI to lay things out, so the ide became a bit less attracitve to me at that point. Second, I used instead JsplitPane and JFrame. This required me to change a few things because DecoratedFrames are sublcassed off of awt.Frame and not JFrame. Now, when I swap the panel in one side of JSplitPane, things work fine with minor visual annomalies durign the switch. If anyone else knows a way to do this using DecoratedFrames and SplitPanels, please post a followup. Losing the Rapid GUI development process really takes away a lot of the value of this product. James On Fri, 07 Jan 2000 12:12:53 -0500, James Kelly <kelly@aaxion.com> wrote: >Hello, > >I am trying to create a GUI where there are two splitpanes, or two >panels using PaneLayout (could also use SplitPanel if that would work). >What I am doing is placing one of the splitpanes into the other so that >I get two tree views, split, on the left side of the larger splitpane, >and a panel on the right side of the larger splitpane. > >I can do all that just fine, but I then want to be able to switch >between more than one panel on the right side depending on which item is >selected in the tree views. > >Has anyone else done this? I can not find examples showing anything >close to this in code, but JBuilder uses it so I know it is possible. > >Any pointers would be great. I am relatively knew to Java, but am >fairly experienced in doing this type of thing in Objective-C. > >Thanks in advance for any help, > >james >
Technical Details
Message-ID:
<3879ffbd.247573301@news.ma.ultranet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38761E95.B980E218@aaxion.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8b6fd324a4abdbd7 X-Google-Attributes: gid111d45,public From: kelly@aaxion.com (James Kelly) Subject: Re: Repost: Newbie ? JSplitPane or SplitPanel help Answer Found Date: 2000/01/10 Message-ID: <3879ffbd.247573301@news.ma.ultranet.com> X-Deja-AN: 570746191 References: <38761E95.B980E218@aaxion.com> X-Trace: 5meFro6YgsCFTkI0eD8m1KC6AbAb9QrGb7XaYNJzFtM= NNTP-Posting-Date: 10 Jan 2000 15:59:21 GMT Newsgroups: borland.public.jbuilder.java.swing X-Complaints-To: abuse@rcn.com