Dragging JLabels on JPanels afterwards [message #610862] |
Sat, 24 September 2005 16:12 |
Eclipse User |
|
|
|
Originally posted by: mail.jens-presser.de
Hi,
first i have to say, VE ist a really great tool. Saved me much time so
far :)
But here is one problem.
I create a Java Project
I create a Visual class, JFrame
I create a JLabel in the ContentPane of the JFrame
After that I create a JPanel in the ContentPane of JFrame.
Then i want to drag the JLabel onto the JPanel, but i cant.
I create a JButton, JTextField (and some other Components).
These Components can be dragged onto the JPanel afterwards.
So, it works with every Component I've checked, but not with JLabel.
I also tried this with JLabel and other Containers like SplitPanes etc.
Same thing. JLabel is not draggable while other Components are.
I tried several ways. In the Design View, in the JavaBeans View and so
on. In every way only JLabel cannot be dragged onto the JPanel.
My question:
Is it on purpose that you cannot drag JLabels onto Containers
afterwards? Perhaps there is an option to turn this off, which i don't find?
I hope you can help me :)
Thanks and greetings,
jghost
|
|
|
Powered by
FUDForum. Page generated in 0.03029 seconds