Booyo Control Tower

1. Introduction

BCT easily control the linux desktop resource and monitors.

2. Structure and Requirement

  • Structure

3. Directory and Files

  • bin : it contains class files
  • src : it contains main code in source files
  • lib : it contains library
  • build.xml : Ant build file

4. Building and execution

please use the ant command

[indigo@pr3900a Booyo_Contorl_Tower]$ ls
bin  build.xml lib  src
[indigo@pr3900a Booyo_Contorl_Tower]$ ant
Buildfile: build.xml

clean:
     [echo] Cleaning...
   [delete] Deleting directory /home/indigo/ant/Booyo_Contorl_Tower/client

init:

build:
     [echo] Building...
    [mkdir] Created dir: /home/indigo/ant/Booyo_Contorl_Tower/build
    [mkdir] Created dir: /home/indigo/ant/Booyo_Contorl_Tower/build/classes
    [mkdir] Created dir: /home/indigo/ant/Booyo_Contorl_Tower/client
    [mkdir] Created dir: /home/indigo/ant/Booyo_Contorl_Tower/client/lib
    [javac] Compiling 69 source files to /home/indigo/ant/Booyo_Contorl_Tower/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 5 files to /home/indigo/ant/Booyo_Contorl_Tower/client/lib
      [jar] Building jar: /home/indigo/ant/Booyo_Contorl_Tower/client/BooyoControlTower.jar
   [delete] Deleting directory /home/indigo/ant/Booyo_Contorl_Tower/build

BUILD SUCCESSFUL
Total time: 4 seconds

after the building it create client directory and it has BooyoControlTower?.jar and lib directory

[indigo@pr3900a Booyo_Contorl_Tower]$ ls
bin  build.xml  client  lib  src
[indigo@pr3900a Booyo_Contorl_Tower]$ cd client/
[indigo@pr3900a client]$ ls
BooyoControlTower.jar  lib

we make shell script for executing BCT

[indigo@pr3900a client]$ vi booyocontroltower.sh
/usr/java/jdk1.6.0_3/bin/java -jar BooyoCotrolTower.jar

indigo@pr3900a client]$ chmod 755 booyocoltroltwer.sh

5. I18N

BCT supports the internationalization and default Set up is Korean.
example
you have to change ControlBundle?_xx_yy.java and MesssageBundle?_xx_yy.java

/src/BooyoControlTower/resource/message
ControlBundle.java        ControlResource.java      MessageBundle_ko_KR.java
  MessageBundle.java        MessageResource.java    ControlBundle_ko_KR.java 

if you support English Language. 
$cp ControlBundle_ko_KR.java ControlBundle.en_Us.java
$vi ControlBundle.en_Us.java
package BooyoControlTower.resource.message;

import java.util.ListResourceBundle;


public class ControlBundle_ko_KR extends ListResourceBundle {
    private String[][] contents = {
                // main application title
                { ControlResource.MAIN_TITLE,                   "Booyo control tower"},

                // common resource title
                { ControlResource.BUTTON_OK,                    "OK"},
                { ControlResource.BUTTON_CANCEL,                "Cancel"},

                // toolbar title
                { ControlResource.TOOLBAR_SETTING,              "Seetting"},
                { ControlResource.TOOLBAR_CONNECT,              "연결"},
                { ControlResource.TOOLBAR_DELETE,               "삭제"},
                { ControlResource.TOOLBAR_SAVE,                 "저장"},
                { ControlResource.TOOLBAR_NEWTAB,               "추가"},
                { ControlResource.TOOLBAR_CLOSE,                "종료"},

                // setting dialog label, button title
                { ControlResource.SETTING_HOSTNAME,             "호스트 명"},
                { ControlResource.SETTING_HOSTIP,               "호스트 IP"},
                { ControlResource.SETTING_HOSTPORT,             "포트"},
                { ControlResource.SETTING_AUTH,                 "사용자"},
                { ControlResource.SETTING_PASSWD,               "암호"},
                { ControlResource.SETTING_NAMESPACE,    "Namespace"},


8. download

7. Screenshot

Attachments