Package madkit.gui

Class MDKDesktopFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Printable, Serializable, Accessible, RootPaneContainer, WindowConstants, PrintableFrame

public class MDKDesktopFrame extends JFrame implements PrintableFrame
A class that could be overridden to define a new desktop frame for MaDKit
Since:
MadKit 5.0.0.22
Version:
0.9
Author:
Fabien Michel
See Also:
  • Constructor Details

    • MDKDesktopFrame

      public MDKDesktopFrame()
  • Method Details

    • getMenuBar

      public JMenuBar getMenuBar(AbstractAgent guiManager)
      Builds tool bar for the desktop frame. By default it builds a classic MaDKit menu bar
      Returns:
      the menu bar to use in the desktop frame
    • getToolBar

      public JToolBar getToolBar(AbstractAgent guiManager)
      Builds tool bar for the desktop frame. By default it builds a classic MaDKit tool bar
      Returns:
      the tool bar to use in the desktop frame
    • setBackground

      public void setBackground(Color bgColor)
      Overrides:
      setBackground in class Frame