Get Started

ls://dev.artenum.com/projects/jyconsole/getStarted

After unpacking the archives, the package comes with a default set of script and a default configuration file.
  • JyConsole.sh, for UNIX system such as Linux and Mac OS X
  • JyConsole.bat for Windows system.
The default loaded script provides a "f" variable which is a JFrame java object.

Features:

  • Command history (Key: Up and Down)
  • Style management on text (Popup menu on the console or jyconsole.propertie file for the default properties)
  • Script loader (Popup menu on the console or for the initial script see the jyconsole.propertie file)
  • Java completion (Key: Ctrl + Space)
  • Python/Jython completion (Key: Ctrl + Space)
All the preference settings are inside the jyconsole.propertie file.

The following example provides a simple usage of JyConsole.

public static void main(String[] args) {
      // Load external properties from a file
       try {
           PropertyLoader.loadProperties("./jyconsole.properties");
       } catch (Exception e) {
           System.err.println(e.getMessage());
       }
       JyConsole console = new JyConsole();
       JFrame f = new JFrame("JyConsole by Artenum");
       //f.setIconImage(new ImageIcon(JyConsole.class.getResource("logo.gif")).getImage());
       f.getContentPane().add(console, BorderLayout.CENTER);
       f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
       f.setSize(600, 400);
       f.setLocationRelativeTo(null);
       f.setVisible(true);
  }


Last edited by Zorin at Feb 17, 2011 6:18 PM - Edit content - View source


Decorated version - Feeds - LibreSource