package apps.server.publishing; import java.awt.GridBagLayout; import javax.swing.JPanel; import server.GameServer; import apps.common.PublishButton; @SuppressWarnings("serial") public final class PublishingPanel extends JPanel { public PublishingPanel(GameServer theServer) { super(new GridBagLayout()); PublishButton theButton = new PublishButton("Publish online!"); theButton.setServer(theServer); add(theButton); } }