convex.gui.manager.mainpanels.DeployPanel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of convex-gui Show documentation
Show all versions of convex-gui Show documentation
Convex desktop GUI and test applications
package convex.gui.manager.mainpanels;
import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import convex.gui.components.AccountChooserPanel;
import convex.gui.components.ActionPanel;
@SuppressWarnings("serial")
public class DeployPanel extends JPanel {
private AccountChooserPanel acctChooser;
public DeployPanel() {
setLayout(new BorderLayout());
// ===========================================
// Top panel
acctChooser=new AccountChooserPanel();
this.add(acctChooser, BorderLayout.NORTH);
// ===========================================
// Centre panel
JPanel centrePanel=new JPanel();
this.add(centrePanel,BorderLayout.CENTER);
centrePanel.add(new JLabel("Tool for deploying standard Actors"));
// ============================================
// Action buttons
ActionPanel actionPanel=new ActionPanel();
add(actionPanel, BorderLayout.SOUTH);
JButton deployButton=new JButton("Deploy...");
actionPanel.add(deployButton);
deployButton.addActionListener(e->{
});
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy