iframe.setContentPane(this);
iframe.setLayer(JLayeredPane.PALETTE_LAYER);
- Desktop.desktop.add(iframe);
SplashImage splashimg = new SplashImage(image);
iconimg.add(splashimg, BorderLayout.CENTER);
add(iconimg, BorderLayout.NORTH);
add(authlist, BorderLayout.CENTER);
authlist.setEditable(false);
authlist.addMouseListener(closer);
+ Desktop.desktop.add(iframe);
refreshText();
}
setPreferredSize(new Dimension(image.getWidth(this) + 8,
image.getHeight(this)));
}
-
+ @Override
+ public Dimension getPreferredSize()
+ {
+ return new Dimension(image.getWidth(this) + 8,
+ image.getHeight(this));
+ }
public void paintComponent(Graphics g)
{
g.setColor(Color.white);