google-code-export / macwidgets

Automatically exported from code.google.com/p/macwidgets
1 stars 0 forks source link

No close button for HudWindow #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
optional close button for HudWindow.

Original issue reported on code.google.com by dyorgio on 16 Jun 2009 at 12:07

GoogleCodeExporter commented 9 years ago
Today I make so..

new HudWindow("Tools") {
            {
                // remove Close button hack
                ((Container)getContentPane().getParent().getComponent(0)).remove(0);
            }
};

Original comment by dyorgio on 16 Jun 2009 at 12:35

GoogleCodeExporter commented 9 years ago
after this to center title:

// set new layout to titlebar
((Container)getContentPane().getParent().getComponent(0)).setLayout(new 
BorderLayout());
// add component again into titlebar
((Container)getContentPane().getParent().getComponent(0)).add(
                ((JLabel)((Container)getContentPane().getParent().getComponent(0)).getComponent(0)));

Original comment by dyorgio on 16 Jun 2009 at 12:52

GoogleCodeExporter commented 9 years ago

Original comment by kenneth....@gmail.com on 18 Jun 2009 at 11:43

GoogleCodeExporter commented 9 years ago
Added a hideCloseButton to HudWindow. This will be available in 0.9.5 or -- or 
your can get it now from 
Subversion.

Original comment by kenneth....@gmail.com on 18 Jun 2009 at 11:53

GoogleCodeExporter commented 9 years ago
thanks, I get this now :)
this version center title?

Original comment by dyorgio on 19 Jun 2009 at 12:02

GoogleCodeExporter commented 9 years ago
Just fixed the centering issue (update again for the fix).

Original comment by kenneth....@gmail.com on 19 Jun 2009 at 12:12

GoogleCodeExporter commented 9 years ago
you has a "nighty builder" process?

Original comment by dyorgio on 19 Jun 2009 at 12:27

GoogleCodeExporter commented 9 years ago
No -- you can pull the code from Subversion, or I can email you a jar file.

Original comment by kenneth....@gmail.com on 19 Jun 2009 at 12:32

GoogleCodeExporter commented 9 years ago
please: dyorgio@gmail.com

Original comment by dyorgio on 19 Jun 2009 at 12:45

GoogleCodeExporter commented 9 years ago

Original comment by kenneth....@gmail.com on 19 Jun 2009 at 11:58