Re: Generating GUI at run time
Wolf Paulus <[email protected]> Mon, 6 Sep 2004 10:39:10 -0700
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
Elif, There are a couple ways how you could approach this problem. I.e. the textfield could already be in the xml document but set to invisible. Then an eventhandler or Action could be ued to make it visible at runtime (make sure you give your textfield an id attribute ..) You could also track the id of the enclosing JPanel and add a textfield into it at runtime - this however may require a few more lines of Java code, depending on the LayoutManager used for the enclosing container. -- Wolf Paulus 707.202.3937 [email protected] C a r l s b a d C u b e s Dedicated to Excellence CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. On Sep 6, 2004, at 6:44 AM, Elif Dandan wrote: > Hello, > First of all I want to thank to everybody who is in this group and > shares his/her idea. > I have got one more problem.I generate a GUI from SwiXML.And now I want > to generate a textfield which is copied from that GUI at run time by > clicking a button.Is it possible?If the answer is yes can you help me > please? > > > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter > now._______________________________________________ > Forum mailing list > [email protected] > http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com _______________________________________________ Forum mailing list [email protected] http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com