|
|
|
|
@ -76,11 +76,6 @@ public class AccountStatusPanel
|
|
|
|
|
*/
|
|
|
|
|
private final TexturePaint texture;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Container for plugins.
|
|
|
|
|
*/
|
|
|
|
|
private final PluginContainer pluginContainer;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Creates an instance of <tt>AccountStatusPanel</tt> by specifying the
|
|
|
|
|
* main window, where this panel is added.
|
|
|
|
|
@ -122,9 +117,7 @@ public AccountStatusPanel(MainFrame mainFrame)
|
|
|
|
|
TransparentPanel pluginPanel
|
|
|
|
|
= new TransparentPanel(new FlowLayout(FlowLayout.RIGHT));
|
|
|
|
|
|
|
|
|
|
pluginContainer = new PluginContainer(
|
|
|
|
|
new TransparentPanel(new FlowLayout(FlowLayout.RIGHT)),
|
|
|
|
|
Container.CONTAINER_MAIN_TOOL_BAR);
|
|
|
|
|
new PluginContainer(pluginPanel, Container.CONTAINER_MAIN_TOOL_BAR);
|
|
|
|
|
|
|
|
|
|
statusToolsPanel.add(pluginPanel, BorderLayout.EAST);
|
|
|
|
|
|
|
|
|
|
@ -136,6 +129,15 @@ public AccountStatusPanel(MainFrame mainFrame)
|
|
|
|
|
this.add(accountImageLabel, BorderLayout.WEST);
|
|
|
|
|
this.add(rightPanel, BorderLayout.CENTER);
|
|
|
|
|
|
|
|
|
|
TransparentPanel southPluginPanel
|
|
|
|
|
= new TransparentPanel(new BorderLayout());
|
|
|
|
|
|
|
|
|
|
new PluginContainer(
|
|
|
|
|
new TransparentPanel(new BorderLayout()),
|
|
|
|
|
Container.CONTAINER_ACCOUNT_SOUTH);
|
|
|
|
|
|
|
|
|
|
this.add(southPluginPanel, BorderLayout.SOUTH);
|
|
|
|
|
|
|
|
|
|
// texture
|
|
|
|
|
BufferedImage bgImage
|
|
|
|
|
= ImageLoader.getImage(ImageLoader.WINDOW_TITLE_BAR_BG);
|
|
|
|
|
|