com.fs.commons.desktop.swing.application.MenuItemsPanel Maven / Gradle / Ivy
// package com.fs.commons.desktop.swing.application;
//
// import java.awt.BorderLayout;
// import java.awt.Dimension;
// import java.awt.FlowLayout;
// import java.awt.event.ActionEvent;
// import java.awt.event.ActionListener;
// import java.io.FileNotFoundException;
// import java.util.ArrayList;
//
// import javax.swing.BorderFactory;
// import javax.swing.ButtonGroup;
// import javax.swing.ImageIcon;
// import javax.swing.SwingConstants;
//
// import com.fs.commons.application.Application;
// import com.fs.commons.application.ApplicationException;
// import com.fs.commons.application.ApplicationManager;
// import com.fs.commons.application.Module;
// import com.fs.commons.application.ui.UIOPanelCreationException;
// import com.fs.commons.application.ui.menu.Menu;
// import com.fs.commons.application.ui.menu.MenuItem;
// import com.fs.commons.desktop.swing.Colors;
// import com.fs.commons.desktop.swing.SwingUtility;
// import com.fs.commons.desktop.swing.comp.JKInternalFrame;
// import com.fs.commons.desktop.swing.comp.JKScrollPane;
// import com.fs.commons.desktop.swing.comp.JKToggleButton;
// import com.fs.commons.desktop.swing.comp.panels.JKDesktopPane;
// import com.fs.commons.desktop.swing.comp.panels.JKMainPanel;
// import com.fs.commons.desktop.swing.comp.panels.JKPanel;
// import com.fs.commons.locale.Lables;
// import com.fs.commons.util.ExceptionUtil;
// import com.fs.commons.util.GeneralUtility;
//
// public class MenuItemsPanel extends JKMainPanel {
// /**
// *
// */
// private static final long serialVersionUID = 1L;
//
// final JKDesktopPane pane = new JKDesktopPane();
//
// private final Menu menu;
//
// public MenuItemsPanel(Menu menu) throws UIOPanelCreationException {
// this.menu = menu;
// init();
// }
//
// private void init() throws UIOPanelCreationException {
// setLayout(new BorderLayout());
// setBorder(BorderFactory.createRaisedBevelBorder());
// JKPanel> pnl = new JKPanel