NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Alexander Verdyan Posted via mailing list.
|
Posted: Tue Nov 04, 2008 3:01 pm Post subject: Using Common Palette and TopComponent outside of Netbeans Platform |
|
|
Hi all,
1. Is it possible to use Common Palette on TopComponent outside of Netbeans Platform?
I mean I create JFrame and add TopComponent to it.
2. I tried to create a palette this way an I receive an error
FileNotFound: "palette"
looks like some map in FileSystem is not initialized.
Can somebody please guide me how to solve this problem?
Thanks in advance.
Alex |
|
| Back to top |
|
 |
Geertjan Wielenga Posted via mailing list.
|
Posted: Tue Nov 04, 2008 3:03 pm Post subject: Using Common Palette and TopComponent outside of Netbeans Platform |
|
|
Alexander Verdyan wrote:
| Quote: | Hi all,
1. Is it possible to use Common Palette on TopComponent outside of
Netbeans Platform?
I mean I create JFrame and add TopComponent to it.
2. I tried to create a palette this way an I receive an error
FileNotFound: "palette"
looks like some map in FileSystem is not initialized.
Can somebody please guide me how to solve this problem?
Thanks in advance.
Alex
| You need to add the palette to the JFrame's lookup. But the JFrame
doesn't have a lookup.
Gj |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|