RootPaneCreationPolicy [message #612322] |
Thu, 16 March 2006 08:33 |
Eclipse User |
|
|
|
Hi!
If I create a new visual class which extends JFrame, VE creates a
constructor, a contentPane with BorderLayout and a main method to run it.
If I take my own STFrame, which extends JFrame, as superclass nothing is
created. I wonder how I can tell VE to create these things for my class as
well and how I can change that text.
The only thing I found so far is the RootPaneCreationPolicy. But that
works just for STFrames that are dropped from the palette. At least that
is what my test made me think.
I've done my tests with the RootPaneCreationPolicy the way it is described
in
http://dev.eclipse.org/newslists/news.eclipse.tools.ve/msg00 391.html
I guess that's not the right way to solve my "STFrame-as-superclass"
problem, am I right?
Regards,
Markus
|
|
|
Powered by
FUDForum. Page generated in 0.04309 seconds