mmb.engine.visuals.ToolVisualsPanel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multimachinebuilder Show documentation
Show all versions of multimachinebuilder Show documentation
Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world.
THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<
The newest version!
/**
*
*/
package mmb.engine.visuals;
import javax.swing.JPanel;
import mmb.NN;
import net.miginfocom.swing.MigLayout;
import javax.swing.JCheckBox;
/**
* @author oskar
*
*/
public class ToolVisualsPanel extends JPanel {
private static final long serialVersionUID = 4745533816341127056L;
@NN public final JCheckBox autoRefresh;
/**
* Create the panel.
*/
public ToolVisualsPanel() {
setLayout(new MigLayout("", "[]", "[]"));
autoRefresh = new JCheckBox("Autorefresh mouse position");
autoRefresh.setSelected(true);
add(autoRefresh, "cell 0 0");
}
}