Monday Jun 16, 2008

How to Cripple the NetBeans Window System

Are you building an application using NetBeans platform? Then perhaps you may find the NetBeans window system too feature rich - why would you let users drag and drop windows to destroy your deeply thought-out window layout? Who would want to minimize the window you've spent so much work on? Floating windows? - that's just a plain silly idea...

Well, here's the good news: now in NetBeans 6.5M1 you can disable many window system feature very easily by branding org-netbeans-core-windows.jar module. The features you can turn off are:

  • Window drag and drop - it isn't possible to reorganize window layout by dragging windows to new position.
  • Floating windows - windows cannot 'float' in a standalone frames.
  • Sliding windows - it's not possible to minimize (slide out) a window.
  • Maximized windows - windows cannot be maximized by clicking their header.
  • Closing windows - users cannot close any document/non-document window.
  • Resizing windows - users cannot adjust the width and height of windows by dragging splitter bars.
  • Minimum size - user can resize internal windows to zero width/height using splitter bars.

So to customize the window system of your NetBeans platform application simply open Project Properties window, turn the features you don't need off and the API support will add necessary branding resources for you:

You can click here for more details.

About

Stanislav Aubrecht

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today