Class GeyserStandaloneGUI
java.lang.Object
org.geysermc.geyser.platform.standalone.gui.GeyserStandaloneGUI
-
Constructor Summary
ConstructorsConstructorDescriptionGeyserStandaloneGUI(org.geysermc.geyser.GeyserLogger logger)Create and show the Geyser-Standalone GUI -
Method Summary
Modifier and TypeMethodDescriptionvoidenableCommands(ScheduledExecutorService executor, org.geysermc.geyser.command.GeyserCommandManager commandManager)Enable the command input box.voidRedirect the default io streams to the text panevoidStart the thread to update the form information every 1s
-
Constructor Details
-
GeyserStandaloneGUI
public GeyserStandaloneGUI(org.geysermc.geyser.GeyserLogger logger)Create and show the Geyser-Standalone GUI- Parameters:
logger- the logger for determining debug mode, and executing commands from the console
-
-
Method Details
-
redirectSystemStreams
public void redirectSystemStreams()Redirect the default io streams to the text pane -
enableCommands
public void enableCommands(ScheduledExecutorService executor, org.geysermc.geyser.command.GeyserCommandManager commandManager)Enable the command input box.- Parameters:
executor- the executor for running commands off the GUI threadcommandManager- the command manager to delegate commands to
-
startUpdateThread
public void startUpdateThread()Start the thread to update the form information every 1s
-