From: <ka...@we...> - 2006-01-19 19:51:42
|
Hi Timo, you have to have an entry in your gui4Components.properties that maps a factory class to the "simpleInternalFrame" element. The standard file contains this line: simpleInternalFrame = org.gui4j.component.factory.Gui4jSimpleInternalFrameFactory If you're planning to build an MDI application, note that a simpleInternalFrame is not a wrapper around JInternalFrame. gui4j does not support real internal frames. A simple internal frame is a normal Swing component that just happens to look a little bit like a frame with its use of a title bar. The Swing code underneath is a slightly modified version of the SimpleInternalFrame found in JGoodies. Kay Timo Meinen wrote: >Hi Gui4j devs and users, > >I am going to integrate gui4j in an MDA application, which generates Swing >applications out of UML-diagrams. > >I wanted to use JInternalFrames, to get an MDI application. With gui4j I >tried to build a gui with the simpleInternalFrame-components, but I am not >successful. > >How do I use simpleInternalFrames? > >I get this error: > >Programming error:No Component for name simpleInternalFrame registered > >Here is the determinig part out of the XML file: > ><borderLayout guiId="TOP"> > <placeBl anchor="center"> > <simpleInternalFrame title="InFrame"> > <label guiId="empty" text="'Empty label'"/> > </simpleInternalFrame> > </placeBl> > </borderLayout> > >Thank you very much >Timo Meinen > >-- >Mail: me...@gm... >ICQ: 10201138 > > > |