Unexpected behavior of design view [message #605907] |
Thu, 17 March 2005 07:04 |
Eclipse User |
|
|
|
Originally posted by: Dirk.Hoelzer.Bruker-BioSpin.de
Hi all,
when I drag and drop swing components from the palette onto design view the
code for component generation is automatically created. However when I place
for example a JButton in a JPanel no code is generated for the addition of
the JButton to the Layout. I tried Border, Flow and GridLayout with no
success.
When I debug the components are (according to the code) are not displayed.
When I add getJPanel().add(getJButton()) manually, it works, but I do
expect VE to genrerate code for compontent positioning automatically and to
display the components as I put them in design view. Neither in the ve help
nor in this group or the internet have I found a hint how to achieve this
behavior.
Any help would be appreciated!
TIA,
Dirk
|
|
|
Powered by
FUDForum. Page generated in 0.02697 seconds