I'm using rsyntaxtextarea , i've added it to Netbeans palette, here it has two components,
An RSyntaxTextArea is the main text editor class. It extends JTextArea, so it has all the standard methods you'd expect from a Swing text component, plus more specific to handling syntax highlighting.
An RTextScrollPane is an extension of JScrollPane that supports line numbers. You can use a standard JScrollPane if you want, but when editing source code, it is often nice to have line numbering enabled.
I can actually add RSyntaxTextArea by dragging and dropping it from palette, but i cannot do that for RTextScrollPane (it is necessary for RSyntaxTextArea to feel better than existing scroll panel). The error message says that the component cannot be instantiated and that you should make sure it is a JavaBean
i've added it through tools->palette->Swing/AWT Components
even if i've added it to palette, i can't add it through drag & drop, i've added RSyntaxTextArea though, even i've added RTextScrollPane through custom code in it, but i couldn't see that in Inspector or in Application ..
How can i add these two components in netbeans through drag & drop ?
from above post i've seen that it is fixed in some revision, now i've download the latest one , but i can still see the error,
can anyone help me please?
Thanks in advance