forked from External/mage
Displaying set images in tool tips.
This commit is contained in:
parent
4333603e0e
commit
66c04db9f4
9 changed files with 151 additions and 64 deletions
|
|
@ -126,8 +126,8 @@ public class MageFrame extends javax.swing.JFrame {
|
|||
logger.log(Level.SEVERE, null, ex);
|
||||
}
|
||||
|
||||
ManaSymbols.loadImages();
|
||||
Plugins.getInstance().loadPlugins();
|
||||
ManaSymbols.loadImages();
|
||||
|
||||
initComponents();
|
||||
setSize(1024, 768);
|
||||
|
|
@ -229,6 +229,9 @@ public class MageFrame extends javax.swing.JFrame {
|
|||
|
||||
private void addTooltipContainer() {
|
||||
final JEditorPane cardInfoPane = (JEditorPane) Plugins.getInstance().getCardInfoPane();
|
||||
if (cardInfoPane == null) {
|
||||
return;
|
||||
}
|
||||
cardInfoPane.setSize(320, 201);
|
||||
cardInfoPane.setLocation(40, 40);
|
||||
cardInfoPane.setBackground(new Color(0, 0, 0, 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue