Skip to content

phase/jaco

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

![Example] (http://i.imgur.com/DiL9bNC.png)

jaco

A console written in Java.

This is a console written in Java using Swing.

##API ###Commands Make your class extend the Command class.

public class TestCommand extends Command

(Be sure to make a new instance in your main method)

public static void main(String[] args){
	new TestCommand();
}

Put the getCommand() and exec() methods in your command class.

public String getCommand(){
	return "test";
}

public void exec(String in, String[] args) {
	//Run Command
}

Jaco automatically tests if your command is the command being inputed, so you don't have to worry about it (that's what the getCommand() is used for).

The exec() method is run when your command is inputed. In here, you can use the rest of the Jaco API to do different things.

###PrintStream PrintStream is what is used to print to the console. //todo PrintStream

About

A console written in Java with an API for commands and other things.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages