سؤال

netbeans platform has proved to be most useful for large applications. But what about small applications?

I'm building a small Price-List making software which only has one TopComponent which contains a JTable and a few buttons.

This component I've set to have closing/sliding etc disabled as this is mandatory to be there. I also DO NOT want to have ANY more top components.

Is there a way to remove the tabs? It seems pointles to show just one tab with the name of the TopComponent.

I hope you get what I mean!

Thanks in advance.

هل كانت مفيدة؟

المحلول

Molten Ice,

Geertjan Wielenga's blog is an invaluable source of information for the NetBeans Platform. He's written a post especially for this task:

http://blogs.oracle.com/geertjan/entry/farewell_to_space_consuming_weird

I've used this technique before and it works fine.

If you have any other questions related to the NetBeans Platform I would suggest that you try the Plaform Users section of the NetBeans forums.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top