Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1626 > unrolled thread
| Started by | "iszekeell" <iszekeell@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:34 +0000 |
| Last post | 2011-04-27 15:34 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
adding an internaljframe "iszekeell" <iszekeell@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: adding an internaljfr "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
| From | "iszekeell" <iszekeell@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:34 +0000 |
| Subject | adding an internaljframe |
| Message-ID | <1179256714.968331.221050@w5g2000hsg.googlegroups.com> |
To: comp.lang.java.gui
I'm running multiple internaljFrame application, and i have a jtree to
select what internaljFrame i want to open. each frame is a class to
itself, because I'm using packages. I'm not able to get a new
internaljframe to open (more like become visible) in the jdesktopplane
of my container frame, what I'm trying at the min is using a method in
the desktopFrame called addtodesktopane() which i call in my
selectjtree.
public void addToDesktopPane(ViewDataInternalFrame aInternalFrame)
{
if(aInternalFrame == null)
{
System.out.println("Frame empty");
}
System.out.println("add to desk top check");
aInternalFrame.setLocation(30,30);
aInternalFrame.setVisible(true);
desktopPane.add(aInternalFrame);
}
Object nodeInfo = node.getUserObject();
if (node.isLeaf())
{
DesktopJFrame desktopJFrame = new DesktopJFrame();
CollumNodeInfo info = (CollumNodeInfo)nodeInfo;
ViewDataInternalFrame view = new
ViewDataInternalFrame(info.getCollumDaoCall());
//view.setLocation(30,30);
//view.setVisible(true);
desktopJFrame.addToDesktopPane(view);
}
it's really got be beat so any help is welcome
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:34 +0000 |
| Subject | Re: adding an internaljfr |
| Message-ID | <723ec50ab9c46@uwe> |
| In reply to | #1626 |
To: comp.lang.java.gui iszekeell@gmail.com wrote: .. >it's really got be beat so any help is welcome You might get more help if you post an SSCCE* to the group. * <http://www.physci.org/codes/sscce.html> -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200705/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web