hdijkema / seaglass

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

setResizable(false) has no effect #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
setResizable(false) has no effect
when i clicked the Maximize-icon,it still full of screen

can you give me a simple example which  can circumvent this problem

Original issue reported on code.google.com by myed...@gmail.com on 26 Feb 2012 at 7:32

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
let you JFrame =>SeaGlassLookAndFeel sg = new SeaGlassLookAndFeel();
                                UIManager.setLookAndFeel(sg);
let you JFrame => setResizable(false);

What is the expected output? What do you see instead?
when i clicked the Maximize-icon,it still full of screen

What version of the product are you using? On what operating system? What JRE 
version?
sea glass 0.1.7.3
Windows 7-64bit
jre 1.6.31-32bit

Original comment by myed...@gmail.com on 26 Feb 2012 at 7:38

GoogleCodeExporter commented 9 years ago
source code:

public class ac extends JFrame {

    private static final long serialVersionUID = 1L;

    public static void main(String[] args) {

        try {
            SeaGlassLookAndFeel sg = new SeaGlassLookAndFeel();
            UIManager.setLookAndFeel(sg);
        } catch (UnsupportedLookAndFeelException e) {
            e.printStackTrace();
        }
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {

                ac ntf = new ac();
                ntf.setSize(800, 600);
                ntf.setDefaultCloseOperation(EXIT_ON_CLOSE);
                ntf.setLocationRelativeTo(null);
                ntf.setResizable(false);
                ntf.setVisible(true);
            }
        });
    }
}

Original comment by myed...@gmail.com on 26 Feb 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Hi,
I have fixed this issue. It will be delivered with the next version 0.2.1

Have fun,
- Rossi

Original comment by rosstaus...@googlemail.com on 26 Jun 2012 at 8:49

GoogleCodeExporter commented 9 years ago
Hi there is only 0.2, I downloaded the one from the website and I'm still 
encountering this problem.

The windows still can be maximized even though I set the resizing capability to 
false.

Original comment by douha.ab...@gmail.com on 22 Mar 2013 at 5:15

GoogleCodeExporter commented 9 years ago
This issue is not fixed yet. Althought set resizable to false, it still could 
be maximized

Original comment by alfonso4...@gmail.com on 6 Nov 2013 at 6:47

GoogleCodeExporter commented 9 years ago
The issue is not fixed yet...I wrote an application and apply the sea glass 
look and feel the setresizable method is not working...

Original comment by vijeshgo...@gmail.com on 4 Apr 2014 at 11:43