authlist.setContentType("text/html");
authlist.setText(newtext);
authlist.setVisible(true);
+ authlist.setSize(new Dimension(750, 275));
add(authlist, BorderLayout.CENTER);
+ revalidate();
iframe.setBounds((int) ((Desktop.instance.getWidth() - 750) / 2),
- (int) ((Desktop.instance.getHeight() - 160) / 2), 750,
- iframe.getPreferredSize().height);
- //System.err.println("New preferred size: "+iframe.getPreferredSize().height);
+ (int) ((Desktop.instance.getHeight() - 140) / 2), 750,
+ authlist.getHeight()+iconimg.getHeight());
iframe.validate();
iframe.setVisible(true);