vincenzopalazzo / material-ui-swing

:octocat: :hearts: A modern Material Design UI for Java Swing :octocat: :hearts:
https://material-ui-swing.github.io
MIT License
318 stars 29 forks source link

Demo swithc Look resize windows display issue + small things #99

Closed jarek-insys closed 4 years ago

jarek-insys commented 4 years ago

Hi Vincent @vincenzopalazzo,

  1. Resize window problem after look change a). demo start image b) Java Look & Feel image c) Material Style Look & Feel image

  2. Different icons demo & release image

3.Label overwrite border when on 0 position a) normal image b) material image

  1. Split pane - not visible a) normal image b) material image import java.awt.BorderLayout;

import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JSplitPane; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException;

public class SplitPaneExample extends JFrame {

private static final long serialVersionUID = 1L; static { try { // UIManager.setLookAndFeel(new mdlaf.MaterialLookAndFeel(new // mdlaf.themes.MaterialOceanicTheme())); UIManager.setLookAndFeel(new mdlaf.MaterialLookAndFeel(new mdlaf.themes.MaterialLiteTheme())); // UIManager.setLookAndFeel(new mdlaf.MaterialLookAndFeel(new // mdlaf.themes.JMarsDarkTheme())); UIManager.put("Button.mouseHoverEnable", false); // Because the test are more difficulte with effect mouse // hover JDialog.setDefaultLookAndFeelDecorated(true); JFrame.setDefaultLookAndFeelDecorated(false); // not support yet

  } catch (UnsupportedLookAndFeelException e) {
     e.printStackTrace();
  }

} public static void main(String args[]) { SplitPaneExample frame = new SplitPaneExample(); frame.setTitle("SplitPane issue example"); frame.setDefaultCloseOperation(EXIT_ON_CLOSE); frame.getContentPane().setLayout(new BorderLayout()); JSplitPane pane = new JSplitPane(); pane.setDividerLocation(200); JLabel l1 = new JLabel("L1"); JLabel l2 = new JLabel("L2"); pane.setLeftComponent(l1); pane.setRightComponent(l2); frame.getContentPane().add(pane, BorderLayout.CENTER); frame.setBounds(0, 0, 300, 300); frame.setVisible(true); } }

  1. Table header no headers split a) normal image image

b) material image

vincenzopalazzo commented 4 years ago

Hi @jarek-insys,

This issue contains 5 issues, this complicates my work because I'm the only active developer on this library, so I have divided your issue into 5 new issues and I will close it-

  1. Resize window problem it compares when I change l&f
  2. I'm closing this problem for the following reasons:
    • Your demo doesn't contain version 1.1.1_beta, so you can update your demo here or you can open a new issue how you do declare the version of the library.
    • In the "Santa Claus lives in area 51" I declare "The demo updates, you can play with it, but have the partial support to the Material theme.". If you want test the material theme or the l&f change you should use this demo inside the project Demo main for test and Demo for unit test
  3. Label overwrite border when on 0 position
  4. Split pane - not visible
  5. Table header no headers split

Sorry if I close this issue but I have some problem to scheduler more issues inside one, also I'm sorry if the demo doesn't work well but it is very difficult to work only in this project, sometimes I have difficulties to update the demo because I don't have more time. The MaterialTheme is my idea and in alpha version, and the addition of change of l&f, implies many changes within the demo.