Skip to content

Commit 7ce7563

Browse files
author
atarw
committed
fixed demo
1 parent 9ce2931 commit 7ce7563

File tree

3 files changed

+28
-35
lines changed

3 files changed

+28
-35
lines changed

.idea/workspace.xml

Lines changed: 28 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/material-ui-swing.jar

54 Bytes
Binary file not shown.

src/MaterialUISwingDemo.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import javax.swing.JMenuBar;
88
import javax.swing.JMenuItem;
99
import javax.swing.JPanel;
10-
import javax.swing.JTextField;
1110
import javax.swing.UIManager;
1211
import javax.swing.UnsupportedLookAndFeelException;
1312
import java.awt.BorderLayout;
@@ -50,16 +49,9 @@ public static void main (String[] args) {
5049
JPanel content = new JPanel ();
5150
content.add (button);
5251

53-
54-
JTextField textField = new JTextField (20);
55-
56-
JPanel content2 = new JPanel ();
57-
content2.add (textField);
58-
5952
// add everything to the frame
6053
frame.add (bar, BorderLayout.PAGE_START);
6154
frame.add (content, BorderLayout.CENTER);
62-
frame.add (content2, BorderLayout.PAGE_END);
6355

6456
// start animating!
6557
// in the first example, new Color (230, 230, 230) is the color that the JComponent will transition to when the user hovers over it

0 commit comments

Comments
 (0)