[UI] trasnparent players list in gamefind panel

This commit is contained in:
magenoxx 2012-07-25 09:54:40 +04:00
parent 8a4c81be23
commit 721c87757b

View file

@ -34,10 +34,6 @@
package mage.client.chat; package mage.client.chat;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.util.*;
import java.util.List;
import mage.client.MageFrame; import mage.client.MageFrame;
import mage.client.components.ColorPane; import mage.client.components.ColorPane;
import mage.remote.Session; import mage.remote.Session;
@ -46,6 +42,10 @@ import mage.view.ChatMessage.MessageColor;
import javax.swing.*; import javax.swing.*;
import javax.swing.border.EmptyBorder; import javax.swing.border.EmptyBorder;
import javax.swing.table.AbstractTableModel; import javax.swing.table.AbstractTableModel;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.util.*;
import java.util.List;
/** /**
* *
@ -125,6 +125,17 @@ public class ChatPanel extends javax.swing.JPanel {
public ChatPanel(boolean addPlayersTab) { public ChatPanel(boolean addPlayersTab) {
tableModel = new TableModel(); tableModel = new TableModel();
initComponents(); initComponents();
jTable1.setBackground(new Color(0, 0, 0, 0));
jTable1.setForeground(Color.white);
setBackground(new Color(0, 0, 0, 100));
if (jScrollPane1 != null) {
jScrollPane1.setBackground(new Color(0, 0, 0, 100));
jScrollPane1.getViewport().setBackground(new Color(0, 0, 0, 100));
}
if (jScrollPane2 != null) {
jScrollPane2.setBackground(new Color(0, 0, 0, 100));
jScrollPane2.getViewport().setBackground(new Color(0, 0, 0, 100));
}
if (!addPlayersTab) simplifyComponents(); if (!addPlayersTab) simplifyComponents();
} }