All Downloads are FREE. Search and download functionalities are using the official Maven repository.

convex.gui.manager.mainpanels.DeployPanel Maven / Gradle / Ivy

There is a newer version: 0.7.15
Show newest version
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