Should have fixed blinking issue and synchronization stuff for mouse over card displaying.

This commit is contained in:
magenoxx 2010-11-19 15:39:41 +00:00
parent e893935ce6
commit 7ac7fe1087
2 changed files with 17 additions and 13 deletions

View file

@ -18,10 +18,12 @@ public class GuiDisplayUtil {
public static JXPanel getDescription(CardView card, int width, int height) {
JXPanel descriptionPanel = new JXPanel();
descriptionPanel.setAlpha(.8f);
//descriptionPanel.setAlpha(.8f);
descriptionPanel.setBounds(0, 0, width, height);
descriptionPanel.setVisible(false);
descriptionPanel.setLayout(null);
//descriptionPanel.setBorder(BorderFactory.createLineBorder(Color.green));
JButton j = new JButton("");