(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) Designer :
How do I convert my own/other IDE code to display in the Designer?
See the following Borland FAQ:
  http://community.borland.com/article/0,1410,19650,00.html

A short summary cut from the above FAQ:

 1)  declare all of the GUI components to be instance variables 
This ensures that the components are recognized as permanent members of the class, and as such, they will be displayed in the Structure pane.
2) wrap all of the initialization code in a jbInit method.
When building the class representation in the UIDesigner, the parser looks for a method with the signature: private void jbInit() throws Exception,and the representation is built based on the code defined in this method. Any additions or changes made to the class outside of the jbInit() method will not be visible in the UIDesigner.
3) add call to jbInit() in the applet's now empty init() method (or in an equally appropriate place, depending on your code).

2001-Feb-13 10:14pm gyles19@visi.com
[Append to This Answer]
2001-Apr-09 1:01pm
Previous: (Answer) Why can't I get XYLayout to work in JBuilder4 Foundation?
Next: (Answer) How does the Designer work?
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=88
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]