Rename LayerUI to GuiUtil
This commit is contained in:
parent
04b8948440
commit
defc3826f7
@ -12,7 +12,7 @@ import javax.swing.JComponent;
|
|||||||
*
|
*
|
||||||
* @author aNNiMON
|
* @author aNNiMON
|
||||||
*/
|
*/
|
||||||
public class LayerUI {
|
public class GuiUtil {
|
||||||
|
|
||||||
public static class GradientBackground extends javax.swing.plaf.LayerUI<JComponent> {
|
public static class GradientBackground extends javax.swing.plaf.LayerUI<JComponent> {
|
||||||
|
|
@ -28,7 +28,7 @@ public class Main extends JFrame {
|
|||||||
setLocationByPlatform(true);
|
setLocationByPlatform(true);
|
||||||
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||||
|
|
||||||
add(new JLayer<>(new MenuPanel(), new LayerUI.PlanetBackground()));
|
add(new JLayer<>(new MenuPanel(), new GuiUtil.PlanetBackground()));
|
||||||
pack();
|
pack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user