LS03-02-2 | Designvereinheitlichungen
This commit is contained in:
@@ -4,12 +4,18 @@
|
||||
<constraints>
|
||||
<xy x="20" y="20" width="501" height="400"/>
|
||||
</constraints>
|
||||
<properties/>
|
||||
<properties>
|
||||
<background color="-16777216"/>
|
||||
<foreground color="-16777216"/>
|
||||
</properties>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<grid id="6dda1" layout-manager="FlowLayout" hgap="5" vgap="5" flow-align="1">
|
||||
<constraints border-constraint="South"/>
|
||||
<properties/>
|
||||
<properties>
|
||||
<background color="-16777216"/>
|
||||
<foreground color="-16777216"/>
|
||||
</properties>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<component id="cdd2d" class="javax.swing.JButton" binding="btnPlay">
|
||||
@@ -41,19 +47,30 @@
|
||||
<component id="fc00" class="javax.swing.JLabel">
|
||||
<constraints border-constraint="North"/>
|
||||
<properties>
|
||||
<enabled value="true"/>
|
||||
<font size="18" style="1"/>
|
||||
<foreground color="-16711936"/>
|
||||
<horizontalAlignment value="0"/>
|
||||
<text value="Levelauswahl"/>
|
||||
</properties>
|
||||
</component>
|
||||
<scrollpane id="231d4">
|
||||
<scrollpane id="231d4" binding="scrollPane">
|
||||
<constraints border-constraint="Center"/>
|
||||
<properties/>
|
||||
<properties>
|
||||
<background color="-16777216"/>
|
||||
<foreground color="-16711936"/>
|
||||
</properties>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<component id="28513" class="javax.swing.JTable" binding="tblLevels">
|
||||
<constraints/>
|
||||
<properties/>
|
||||
<properties>
|
||||
<background color="-16777216"/>
|
||||
<foreground color="-16711936"/>
|
||||
<gridColor color="-16777216"/>
|
||||
<selectionBackground color="-16711936"/>
|
||||
<selectionForeground color="-16777216"/>
|
||||
</properties>
|
||||
</component>
|
||||
</children>
|
||||
</scrollpane>
|
||||
|
||||
@@ -21,6 +21,7 @@ public class LevelChoice {
|
||||
private JTable tblLevels;
|
||||
private JButton btnDeleteLevel;
|
||||
private JButton btnPlay;
|
||||
private JScrollPane scrollPane;
|
||||
|
||||
private final LevelController lvlControl;
|
||||
private final LeveldesignWindow leveldesignWindow;
|
||||
@@ -71,6 +72,11 @@ public class LevelChoice {
|
||||
btnUpdateLevel.setVisible(false);
|
||||
btnDeleteLevel.setVisible(false);
|
||||
}
|
||||
scrollPane.getViewport().setBackground(Color.BLACK);
|
||||
|
||||
tblLevels.getTableHeader().setOpaque(false);
|
||||
tblLevels.getTableHeader().setBackground(Color.BLACK);
|
||||
tblLevels.getTableHeader().setForeground(Color.YELLOW);
|
||||
}
|
||||
|
||||
private String[][] getLevelsAsTableModel() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package de.oszimt.ls.aliendefence.view.menue;
|
||||
|
||||
import java.awt.CardLayout;
|
||||
import java.awt.*;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JPanel;
|
||||
@@ -35,6 +35,8 @@ public class LeveldesignWindow extends JFrame {
|
||||
setBounds(100, 100, 1200, 800);
|
||||
contentPane = new JPanel();
|
||||
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
|
||||
contentPane.setBackground(Color.BLACK);
|
||||
|
||||
setContentPane(contentPane);
|
||||
this.cards = new CardLayout();
|
||||
contentPane.setLayout(cards);
|
||||
|
||||
Reference in New Issue
Block a user