3

Is there a way to change the type of a component when using Matisse in NetBeans? I would like to switch a standard JDesktopPane to my own extended version. Thanks!

PeeHaa
  • 71,436
  • 58
  • 190
  • 262
Valerio Santinelli
  • 1,592
  • 2
  • 27
  • 45
  • possible duplicate of [How to include custom panel with NetBeans GUI Builder?](http://stackoverflow.com/questions/816286/how-to-include-custom-panel-with-netbeans-gui-builder) – trashgod Aug 17 '11 at 10:46

2 Answers2

1

all visual Components for Standalone Application(s) in Java are based on Swing,

mKorbel
  • 109,525
  • 20
  • 134
  • 319
  • Yep, but Matisse just blocks all editing of the code that it manages so I cannot directly change the type of that component. And I can't find any way to do that in the GUI as well.. – Valerio Santinelli Aug 05 '11 at 15:05
  • @Valerio Santinelli I think that there must be lots of problems how to overrode JSR296 (Matisse) back to the Swing, but plain Swing isn't WYSIWYG editor, – mKorbel Aug 05 '11 at 17:07
1

You can change the type outside of NetBeans using a text editor, change the .form and the .java. Here is a similar question in the NetBeans forums with some answers.

Matt Fenwick
  • 48,199
  • 22
  • 128
  • 192
Tadeo
  • 36
  • 1
  • 3