BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Create an MDI as an applet

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Applet Issues
View previous topic :: View next topic  
Author Message
Anton
Guest





PostPosted: Tue Mar 29, 2005 12:17 am    Post subject: Create an MDI as an applet Reply with quote



Hi.

I need to create a simple applet to manage diferents contents, so I want
to do as an applet. I have read something and the way is using
JDesktopPane, etc.. but once I have created my applet using the Jbuilder
wizard I CANt FIND this components (JDesktopPane, JInternalFrame), etc..
Any help will be welcome.
Thanks
Back to top
Paul Nichols (TeamB)
Guest





PostPosted: Thu Mar 31, 2005 2:25 pm    Post subject: Re: Create an MDI as an applet Reply with quote




"Anton" <trumaxformax1 (AT) yahoo (DOT) es> wrote

Quote:
Hi.

I need to create a simple applet to manage diferents contents, so I want
to do as an applet. I have read something and the way is using
JDesktopPane, etc.. but once I have created my applet using the Jbuilder
wizard I CANt FIND this components (JDesktopPane, JInternalFrame), etc..
Any help will be welcome.
Thanks

There is no visible Bean for JDesktopPane. However, here is a trick.

Create a JFrame as usual. Drop a Panel on the JFrame (setting null of course
to drop the Panel on the Frame). Then, change the Type in your code from
jPanel1 (or whatever it is called) from JPanel jPanel1 to JDesktopPane
jPanel1. Make it say BorderLayout.CENTER for alignment (especially if you
using a JMenuBar and StatusBar).

Now you will have a JDesktopPane instead of a JPanel, and you can use this
and view this from the Designer.



Back to top
Anton
Guest





PostPosted: Sat Apr 02, 2005 12:36 pm    Post subject: Re: Create an MDI as an applet Reply with quote



Paul Nichols (TeamB) escribió:
Quote:
"Anton" <trumaxformax1 (AT) yahoo (DOT) es> wrote in message
news:42489ebd (AT) newsgroups (DOT) borland.com...

Hi.

I need to create a simple applet to manage diferents contents, so I want
to do as an applet. I have read something and the way is using
JDesktopPane, etc.. but once I have created my applet using the Jbuilder
wizard I CANt FIND this components (JDesktopPane, JInternalFrame), etc..
Any help will be welcome.
Thanks


There is no visible Bean for JDesktopPane. However, here is a trick.

Create a JFrame as usual. Drop a Panel on the JFrame (setting null of course
to drop the Panel on the Frame). Then, change the Type in your code from
jPanel1 (or whatever it is called) from JPanel jPanel1 to JDesktopPane
jPanel1. Make it say BorderLayout.CENTER for alignment (especially if you
using a JMenuBar and StatusBar).

Now you will have a JDesktopPane instead of a JPanel, and you can use this
and view this from the Designer.


Great

Thanks a lot.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Applet Issues All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.