Closed jarek-insys closed 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-
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.
Hi Vincent @vincenzopalazzo,
Resize window problem after look change a). demo start b) Java Look & Feel c) Material Style Look & Feel
Different icons demo & release
3.Label overwrite border when on 0 position a) normal b) material
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
} 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); } }
b) material