moizhb / seaglass

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

Maximize and minimize windows buttons on JDialog aren't functional #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Show JDialog
2. In Linux other LAF displays windows buttons, and they are functional.  
3. In Windows other LAF only displays close button.
4. Seaglass LAF displays all windows buttons in Linux and Windows (minimize, 
maximize and close), but only close button are functional.

What is the expected output? What do you see instead?
1. If Seaglas shows windows buttons they must be functional. 

What version of the product are you using? On what operating system? What
JRE version?
- Seaglass 0.2
- JDK 1.7
- Linux OpenSUSE 13.1 and Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by lpascual...@gmail.com on 31 Oct 2013 at 8:11

GoogleCodeExporter commented 9 years ago
Fixed with revision 1633
If the L&F is using the OS windows system then the maximize and minimize 
buttons are shown and work. As Seaglass does decorate the frame on its own we 
have to use Java's  JDialog and that one does not support Minimize or Maximize. 
Therefore I removed the buttons for dialogs as there is no was to make them 
functional.

Have fun,
- Rossi

Original comment by rosstaus...@googlemail.com on 14 Nov 2013 at 9:20