mirror of
https://github.com/correl/mage.git
synced 2025-03-07 20:53:18 -10:00
UI battlefield transparency fix
This commit is contained in:
parent
73804f3af1
commit
5e97b56508
1 changed files with 4 additions and 1 deletions
|
@ -270,15 +270,18 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane {
|
|||
}
|
||||
|
||||
private void initComponents() {
|
||||
setOpaque(true);
|
||||
setOpaque(false);
|
||||
|
||||
jPanel = new JPanel();
|
||||
jPanel.setLayout(null);
|
||||
jPanel.setOpaque(false);
|
||||
jScrollPane = new JScrollPane(jPanel);
|
||||
|
||||
Border empty = new EmptyBorder(0,0,0,0);
|
||||
jScrollPane.setBorder(empty);
|
||||
jScrollPane.setViewportBorder(empty);
|
||||
jScrollPane.setOpaque(false);
|
||||
jScrollPane.getViewport().setOpaque(false);
|
||||
|
||||
this.add(jScrollPane);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue