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 

Changing the way Designer works with panel elements.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Java
View previous topic :: View next topic  
Author Message
Innominate Twice
Guest





PostPosted: Sun Nov 07, 2004 3:34 am    Post subject: Changing the way Designer works with panel elements. Reply with quote



When I began working with JBuilder, I liked the "Designer" but I
didn't know how to modify the project to suit my tastes w/o breaking
the ability of Designer to work with the GUI elements.

I worked around this by performing the following steps:

1.Use the wizard to create a new class derived from 'JPanel'
2.In Designer, add a panel to the Frame I'm working in.
3.Go to the source for that Frame and change the type of panel created
to that of the one I created in the Wizard.
4.Perform all edits to that panel in the file in which it is defined.
It is possible to visually make edits in the Frame file, but they will
not appear in the panel file.

This way allows me to add panels to a Frame in Designer and edit their
elements in the separate files in which they're defined. That is what
I want to do. But because I found this method on my own by
experimenting, I'd like to know if there isn't an official way to do
this?

[email]InnominateTwice (AT) yahoo (DOT) com[/email]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Java 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.