Libresource
Home
Search
My Page
Guest -
Login
Navigation
location:
>
Artenum OpenSource
>
JyConsole
>
Get Started
Contextual Menu
Search
go
JyConsole
In Action
Gallery
Get Started
Specification
Services and Commercial Offer
Change Log
License
Services
Getting involved
Forum
Wish List
Bug Tracker
Download
Sources
JyConsole Members
JyConsole Readers
Edit this menu
Resource Menu
Properties
Security
More actions...
----
Node Information
Create new resource
Delete this resource
Move this resource
Unbind this resource
----
List children
Go to parent
----
search from here
Get Started
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. {code} 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); } {code}
Last edited by Zorin at Feb 17, 2011 6:18 PM -
Edit content
-
View source