Best Way to Make a Simple Java Program Configurable?

I have a java program that does some stuff involving a database. It's basically a script, but I chose to use Java because of the nice JDBC facilities. Anyway, I plan to schedule a task to have the java program executed daily, but it would be nice if I could configure it without having to recompile the program every time. By configuration, I mean remembering about 6 lines of text, such as database connection address, user-name, password, spread sheet to update, etc. Since I am storing a username and password, I should also encrypt the data. Is there some standalone Java program that is made for creating config files, which would be encrypted and have some sort of an API to access all the data stored in the config file? I am basically thinking of a savable hashtable of Strings mapping keys to values where the values can be configured by some standalone application that allows the values associated with each key to be changed, preferably through a GUI. I could make this, but I figured there may already be something that does this.

SNYP40A123 wrote:
Only thing I still need is some way to hide the password that I plan to store in it.That's a completely separate issue. There could be a lot of discussion on this but basically you can't reliably hide a password that you store somewhere no matter what you do. You can do things that will prevent the idly curious from knowing it but it's a lot harder to prevent the determined cracker from knowing it.

Similar Messages

  • What is the best way to make a program fit different monitor resoultions?

    In our lab all our test stations have 1280x1024 resoultion monitors. In the "other lab" all the test station monitors are 1440x900 resoultion.
    Now I am tasked with making my programs run on the test stations in the other lab. I have tried setting the options "maintain proportions of windows for different monitor resoultions" and "Scale all object on front panel as the windows resizes" and of course neither one of these options really does what I would expect it to do.
    What is the best way to make programs fit different monitor resoultions?

    J-M wrote:
    I resize the Front Panel when the program start to fit the monitor resolution.  After that, I use the "SBE_Determine If Screen Resized.vi" from TomBrass (http://forums.ni.com/t5/LabVIEW/Resizing-controls-on-a-tab-control-within-a-pane/td-p/1520244 ).  This vi is very useful if you don't want to monopolize the CPU with the "Panel Resize" event.
    I don't like this function for a couple reasons.  First for the example you don't need any custom code to handle the window resizing, just use a couple splitters.  Even if you did need to handle the resize, you only resize after the mouse is up after the resize which is not how normal Windows programs work they resize as the mouse moves.  So I modified the VI to resize objects as you resize the window.  Then because doing this can generate 100 events very quickly, I use a boolean in a shift register to make sure that we only handle the resize event if there is no new resize events after 0ms.  This essentially makes a lossy queue and handles the last resize event.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Resizable_Graph.vi ‏22 KB

  • Problem while executing simple java program

    Hi
    while trying to execute a simple java program,i am getting the following exception...
    please help me in this
    java program :import java.util.*;
    import java.util.logging.*;
    public class Jump implements Runnable{
        Hashtable activeQueues = new Hashtable();
        String dbURL, dbuser, dbpasswd, loggerDir;   
        int idleSleep;
        static Logger logger = Logger.getAnonymousLogger();      
        Thread myThread = null;
        JumpQueueManager manager = null;
        private final static String VERSION = "2.92";
          public Jump(String jdbcURL, String user, String pwd, int idleSleep, String logDir) {
            dbURL = jdbcURL;
            dbuser = user;
            dbpasswd = pwd;
            this.idleSleep = idleSleep;
            manager = new JumpQueueManager(dbURL, dbuser, dbpasswd);
            loggerDir = logDir;
            //preparing logger
            prepareLogger();
          private void prepareLogger(){      
            Handler hndl = new pl.com.sony.utils.SimpleLoggerHandler();
            try{
                String logFilePattern = loggerDir + java.io.File.separator + "jumplog%g.log";
                Handler filehndl = new java.util.logging.FileHandler(logFilePattern, JumpConstants.MAX_LOG_SIZE, JumpConstants.MAX_LOG_FILE_NUM);
                filehndl.setEncoding("UTF-8");
                filehndl.setLevel(Level.INFO);
                logger.addHandler(filehndl);
            catch(Exception e){
            logger.setLevel(Level.ALL);
            logger.setUseParentHandlers(false);
            logger.addHandler(hndl);
            logger.setLevel(Level.FINE);
            logger.info("LOGGING FACILITY IS READY !");
          private void processTask(QueueTask task){
            JumpProcessor proc = JumpProcessorGenerator.getProcessor(task);       
            if(proc==null){
                logger.severe("Unknown task type: " + task.getType());           
                return;
            proc.setJumpThread(myThread);
            proc.setLogger(logger);       
            proc.setJumpRef(this);
            task.setProcStart(new java.util.Date());
            setExecution(task, true);       
            new Thread(proc).start();       
         private void processQueue(){       
            //Endles loop for processing tasks from queue       
            QueueTask task = null;
            while(true){
                    try{
                        //null argument means: take first free, no matters which queue
                        do{
                            task = manager.getTask(activeQueues);
                            if(task!=null)
                                processTask(task);               
                        while(task!=null);
                    catch(Exception e){
                        logger.severe(e.getMessage());
                logger.fine("-------->Sleeping for " + idleSleep + " minutes...hzzzzzz (Active queues:"+ activeQueues.size()+")");
                try{
                    if(!myThread.interrupted())
                        myThread.sleep(60*1000*idleSleep);
                catch(InterruptedException e){
                    logger.fine("-------->Wakeing up !!!");
            }//while       
        public void setMyThread(Thread t){
            myThread = t;
        /** This method is only used to start Jump as a separate thread this is
         *usefull to allow jump to access its own thread to sleep wait and synchronize
         *If you just start ProcessQueue from main method it is not possible to
         *use methods like Thread.sleep becouse object is not owner of current thread.
        public void run() {
            processQueue();
        /** This is just another facade to hide database access from another classes*/
        public void updateOraTaskStatus(QueueTask task, boolean success){
            try{         
                manager.updateOraTaskStatus(task, success);
            catch(Exception e){
                logger.severe("Cannot update status of task table for task:" + task.getID() +  "\nReason: " + e.getMessage());       
        /** This is facade to JumpQueueManager method with same name to hide
         *existance of database and SQLExceptions from processor classes
         *Processor class calls this method to execute stored proc and it doesn't
         *take care about any SQL related issues including exceptions
        public void executeStoredProc(String proc) throws Exception{
            try{
                manager.executeStoredProc(proc);
            catch(Exception e){
                //logger.severe("Cannot execute stored procedure:"+ proc + "\nReason: " + e.getMessage());       
                throw e;
         *This method is only to hide QueueManager object from access from JumpProcessors
         *It handles exceptions and datbase connecting/disconnecting and is called from
         *JumpProceesor thread.
        public  void updateTaskStatus(int taskID, int status){       
            try{
                manager.updateTaskStatus(taskID, status);
            catch(Exception e){
                logger.severe("Cannot update status of task: " + taskID + " to " + status + "\nReason: " + e.getMessage());
        public java.sql.Connection getDBConnection(){
            try{
                return manager.getNewConnection();
            catch(Exception e){
                logger.severe("Cannot acquire new database connection: " + e.getMessage());
                return null;
        protected synchronized void setExecution(QueueTask task, boolean active){
            if(active){
                activeQueues.put(new Integer(task.getQueueNum()), JumpConstants.TH_STAT_BUSY);
            else{
                activeQueues.remove(new Integer(task.getQueueNum()));
        public static void main(String[] args){
                 try{
             System.out.println("The length-->"+args.length);
            System.out.println("It's " + new java.util.Date() + " now, have a good time.");
            if(args.length<5){
                System.out.println("More parameters needed:");
                System.out.println("1 - JDBC strign, 2 - DB User, 3 - DB Password, 4 - sleeping time (minutes), 5 - log file dir");
                return;
            Jump jump = new Jump(args[0], args[1], args[2], Integer.parseInt(args[3]), args[4]);
            Thread t1= new Thread(jump);
            jump.setMyThread(t1);      
            t1.start();}
                 catch(Exception e){
                      e.printStackTrace();
    } The exception i am getting is
    java.lang.NoClassDefFoundError: jdbc:oracle:thin:@localhost:1521:xe
    Exception in thread "main" ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
    JDWP exit error AGENT_ERROR_NO_JNI_ENV(183):  [../../../src/share/back/util.c:820] Please help me.....
    Thanks in advance.....sathya

    I am not willing to wade through the code, but this portion makes me conjecture your using an Oracle connect string instead of a class name.
    java.lang.NoClassDefFoundError: jdbc:oracle:thin:@localhost:1521:xe

  • A simple Java program to be compiled with ojc and executed with java.exe

    Hi ,
    This thread is relevant to Oracle Java Compiler (file ojc) and jave.exe file.
    I have written a simple java program which consists of two simple simple classes and using the JDev's 10.1.3.2 ojc and java files , i'm trying to execute it after the successful compilation....
    The problem is that trying to run it... the error :
    Exception in thread "main" java.lang.NoClassDefFoundError: EmployeeTest
    appears.
    How can i solve this problem...????
    The program is as follows:
    import java.util.*;
    import corejava.*;
    public class EmployeeTest
    {  public static void main(String[] args)
       {  Employee[] staff = new Employee[3];
          staff[0] = new Employee("Harry Hacker", 35000,
             new Day(1989,10,1));
          staff[1] = new Employee("Carl Cracker", 75000,
             new Day(1987,12,15));
          staff[2] = new Employee("Tony Tester", 38000,
             new Day(1990,3,15));
          int i;
          for (i = 0; i < 3; i++) staff.raiseSalary(5);
    for (i = 0; i < 3; i++) staff[i].print();
    class Employee
    {  public Employee(String n, double s, Day d)
    {  name = n;
    salary = s;
    hireDay = d;
    public void print()
    {  System.out.println(name + "...." + salary + "...."
    + hireYear());
    public void raiseSalary(double byPercent)
    {  salary *= 1 + byPercent / 100;
    public int hireYear()
    {  return hireDay.getYear();
    private String name;
    private double salary;
    private Day hireDay;
    For compilation... i use :
    D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdev\bin\ojc -classpath D:\E-Book\Java\Sun_Java_Book_I\Corejava EmployeeTest.java
    For execution , i issue the command:
    D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdk\bin\java EmployeeTest
    NOTE:I tried to use the jdk of Oracle database v.2 but the error :
    Unable to initialize JVM appeared....
    Thanks , a lot
    Simon

    Hi,
    Thanks god....
    I found a solution without using Jdev.....
    C:\oracle_files\Java\Examples>SET CLASSPATH=.;D:\E-Book\Java\Sun_Java_Book_I\Corejava
    C:\oracle_files\Java\Examples>D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdk\bin\javac EmployeeTest.java
    C:\oracle_files\Java\Examples>D:\ORACLE_UNZIPPED\JDeveloper_10.1.3.2\jdk\bin\java EmployeeTest
    What does Ant has to do with this?Sorry, under the Ant tree a classpath label is found....I'm very new to Java and JDev...
    You need to include the jar file that has the Day method in it inside project properties->libraries.I have not .jar file.. just some .java files under the corejava directory.... By the way , I have inserted the corejava directory to the project pressing the button Add Jar/Directory.... , but the problem insists..
    Thanks , a lot
    Simon

  • Best way to make a tree?

    i'm fairly new to java and I want to do a program involving binary trees but I'm trying to figure out the best way to get a tree to start with. I'm not really sure of the best way.
    Also, after running the program I want to be able to add to and edit the tree and then be able to output to a file so that the tree grows when ever i want to use it.
    basically im trying to do a 20 questions program that guesses what you're thinking of by asking questions (in the tree) and then if its something not in the tree it can add it to the tree (and whatever questions necessary)

    this is basically what I've done
    to build it i started with
    TreeNode root=new TreeNode("Is it living?",new TreeNode("Is it an animal?",null,null), new TreeNode("Is it an object?",null,null));
    [so basically I have a node asking if its alive and then if it is alive it goes to the left with a node askin if its an animal or if not, to the right asking if its an object. so thats my tree and I have code to insert etc. But now I want to have this tree put in a file so that it can be saved and then built back into a tree so in reality i guessI wouldn't have that code anyway, just code to load a tree from a file. how do i do that?

  • Best way to make small icons anywhere in the screen.

    Hi,
    I'm trying to make for my application sort of like a panel where the user will have in the background a JPG image that will be a map and on top of that I need to have smaller images or icons that will be nodes of a network and those nodes will have to attributes that will determine the position in the screen to fit the map underneath.
    Also every node will have to be able to be clicked to open another window that will contain data from that node.
    I'm new to Java and I don't know which is the best way to do that in Java. Can someone point me to the right direction?
    I thought of using Icons or maybe buttons with the node image on top. But I'm not sure if that is the best approach.
    Thank you.

    Here's a pretty crude example of how to do what you want to do.
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.Rectangle;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.util.ArrayList;
    import java.util.Iterator;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class SampleMap {
         public SampleMap() {
              ArrayList<MapNode> mapNodes = new ArrayList<MapNode>();
              mapNodes.add(new MapNode(100, 100, "Node 1"));
              mapNodes.add(new MapNode(250, 250, "Node 2"));
              JFrame frame = new JFrame();
              frame.setTitle("Map Example");
              frame.add(new ImageMap(mapNodes));
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              new SampleMap();
         private class ImageMap extends JPanel{
              private static final long serialVersionUID = 7819553397548728320L;
              private ArrayList<MapNode> nodes;
              public ImageMap(ArrayList<MapNode> mapNodes){
                   nodes = mapNodes;
                   setMinimumSize(new Dimension(800, 600));
                   setPreferredSize(new Dimension(800, 600));
                   addMouseListener(new MouseListener() {
                        public void mousePressed(MouseEvent arg0) {
                             Rectangle rect = new Rectangle(arg0.getX() - 10, arg0.getY()-10, 10, 10);
                             Iterator<MapNode> iter = nodes.iterator();
                             while(iter.hasNext()) {
                                  MapNode curNode = iter.next();
                                  Point curPoint = new Point(curNode.getXPos(), curNode.getYPos());
                                  if(rect.contains(curPoint)){
    //TODO launch new JFrame with curNodes details
                                       System.err.println("Clicked on: " + curNode.getTitle());
                                       break;
                        public void mouseReleased(MouseEvent arg0) {     
                        public void mouseExited(MouseEvent arg0) {     
                        public void mouseEntered(MouseEvent arg0) {     
                        public void mouseClicked(MouseEvent arg0) {     
              public void paint(Graphics g) {
                   Graphics2D g2 = (Graphics2D)g;
      //TODO replace rectangle with a background image
                   g2.setColor(Color.WHITE);
                   g2.fillRect(0, 0, 800, 600);
                   Iterator<MapNode> iter = nodes.iterator();
                   while(iter.hasNext()) {
                        MapNode curNode = iter.next();
                        g2.setColor(Color.RED);
                        Image tmp = createImage(10, 10);
                        Graphics tmpG = tmp.getGraphics();
                        paintComponent(tmpG);
                        g2.drawImage(tmp, curNode.getXPos(),curNode.getYPos(), this);
                   repaint();
         private class MapNode {
              private static final long serialVersionUID = 7819553397548728321L;
              private int xPos;
              private  int yPos;
              private String title;
              public MapNode(int x, int y, String name) {
                   title = name;
                   xPos = x;
                   yPos = y;
              public int getYPos(){
                   return yPos;
              public int getXPos() {
                   return xPos;
              public String getTitle() {
                   return title;
    }

  • Best way to code a simple wait/delay?

    What is the best way to code a simple wait/delay so that my application idles for a few seconds before continuing? I'd rather not use a loop to do this and am looking for a better solution. This code will not be threaded, so I'm not going to use sleep(). TIA

    From the OS level, yes it is a process; from Java's perspective, it's a Thread, at least in Sun's implementation.
    According to the JVM specification, section 2.1.9, "The Java virtual machine initially starts up with a single nondaemon thread, which typically calls the method main of some class. The virtual machine may also create other daemon threads for internal purposes. The Java virtual machine exits when all nondaemon threads have terminated."
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#33308

  • Best way to make a bootable backup on an external HD

    What is the best way to make a bootable copy of the startup drive on my mac. I have an external HD which would work. I already run Timemachine but if I'm correct it isn't bootable.
    IMAC using MT. Lion
    thanks in advance

    If you create either a new partition on the external or Wipe, Repartition the external, and then create a New Full TM backup on either the wiped or new partition with Lion installed as the OS and you have a Recovery HD partition that Recovery HD partitionwill be copied over to the New TM backup and will be bootable.
    TM backups made with Lion installed over the top of older ones made with Snow Leopard does not create the Recovery HD file on the TM backup drive. Only new TM backups created when Lion is installed does this.
    Ot you can create anopther partition the external and use one of the Cloning software programs to Clone your internal to that other partitions

  • Best way to make a booklet?

    What's the best way to make a booklet on my Mac?  I need to make something that is 8 1/2 x 5 1/2 (so regular paper folded in half) allowing me to put 4 pages on one sheet of paper.
    In the past, I've been able to make full sized pages, and make booklets via the copy machine at school (think music programs here) but someone recently told me there are ways to do this on a mac so that I could make as booklet and just bring to staples to print.
    Any ideas would be greatly appreciated.

    For starters, look at the "more like this" list on the right side of this page.
    Then there is the answer I've used for several years.
    1 - For a folded US letter-size booklet start with your Pages document in Legal size & larger than normal font size. Export the Pages document to a PDF & then drag the PDF to the icon of Cocoa Booklet. It will create a new PDF in booklet form. For international paper sizes, create the Pages document in the larger size with a larger font, i.e. create A4 pages to create A5 folded booklets. You can also use US tabloid or A3 to create larger booklets.
    Next you'll need to use Create Booklet Service to create a booklet with any number of pages (best in a multiple of 4). You can create the booklet directly from the print dialog after you install the service. Again, for US letter size booklets, I find it best to create them in legal size as above. Downlond it from the link & run its installer. It will open the booklet in Preview. If you're using Lion, I suggest using File > Export to save the PDF where you can find it.
    2 - This involves setting your Pages document in File > Page Setup… to landscape orientation & then paginating the document manually. 
    Use linked text boxes. This is easier done with the layout showing. First you need to add a page break to have two pages. Click in the body area & then Insert > Page Break. Now click outside the layout area to enter object mode & click the "T" in the tool bar or Insert > Text to create a text box & type something in it. This is to keep the box from disappearing if you click elsewhere & the text can be replaced later. If you already have some text to paste in you can just paste while in object mode & a text box containing your text will be created. You will now need to click outside the layout again & drag the cursor toward the text box to select it. You can now position the first text box in the lower right of your 2-page document. It is easier to see where it goes if you have the document set up with 2 columns. Click on the blue-outlined tab at the lower right of the text box to create a new of the same size & move the box to the upper left. Repeat for a box for the upper right & again for the lower right. You will now have 4 linked text boxes.
    This will not let you automatically use page numbers because Pages "sees" each page & you actually have 2 pages per page. You'll need to create them manually. I would use text boxes.

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • What is the best way to make a DVD from iMovie

    What is the best way to make a DVD from iMovie?
    I am using iMovie 06 (Naturally) with iDVD 08. I have always used;
    iMovie 06, File > Share to iDVD 08. And got pretty good results.
    Some say the best way is to quit iMovie 06, open iDVD and import the movie from the Media button.
    I have tried both methods in the results look the same. I'm interested in getting the very best quality possible.

    You likely have one of the most expensive media converter boxes on the market today.
    But does it work well with most macs? (my guess is that it does). But more specifically can it "handshake" with an intel based mac? I personally haven't tried it.
    But you may want to read this for yourself if you haven't already:
    http://discussions.apple.com/thread.jspa?threadID=1179361&tstart=2362
    Assuming it works then the best format is .dv which this unit will support apparently.

  • What is the best way to make a list of addresses for envelopes or labels?  Address book, numbers or pages?

    What is the best way to make a list of addresses for envelopes and labels?  Address book, Pages or Numbers?

    I liek your idea of having multiple images in a grid. I think
    that would be the best bet as you mentioned. Having one big picture
    would be hard to distinguish the sub-areas with mouse coordinates.
    I think checking the coordinates for the mouse would be very
    tedious because I would have to check for the left boundary, the
    right, top, and bottom for each sub-area!
    What do you mean by using button components and reskinning.
    Is this simply using buttons and changing the way they look? I'm
    just trying to save time and memory, because if I had a 10 by 10
    grid, thats a hundred buttons. Wouldn't that slow down the machine
    alot? And for that matter wouldn't having a grid of 10 by 10 images
    also by the same deal?
    Thanks for the input, I'm just trying to find the most
    efficient way to do it.

  • Best way to make a Constant Power Load

    What would be the best way to make a load that always draws the same amount of power whatever the voltage on it. For exemple, an load would draw 100 mA at 24 VDC, 150 mA at 18 VDC and 200 mA at 12 VDC. All I found is to use Nonlinear Dependant source.
    Any easier way to do this? Thanks.

    Sorry about the file mix up, I was anxious to get it posted for you that I failed to realize you were using a different version.
    As far as the last "amplifier" in your Leaky Feeder design, I actually hooked it up to the 24VDC supply on the left and this was a direct connect before the first resistor.  I realize this is not what would be ideal for your application as probably you have only a certain place in the Leaker Feeder to tap off from. I would suppose this would be going into a different entry way off the main entry at an intersection so I do not know how my adjusting the placing of this would effect the results because it seems to me by doing this I have bypassed a bunch resistance in the Feeder cable itself (if that is what the resistors represent) and also bypassed a number of amplification stages in the process as well.
    I will post a picture of my circuit for you to examine and try in Version 9.  This is the only thing I could come up with to where the power draw was the same no matter what the voltage input was. The only thing I can see as a drawback is that with this circuit the current remains constant but the voltage fluctuates. If I use a 24V regualtor and drop the input voltage to 12V the current remains at approx 118ma but the voltage drops to 12V when I plug it into your circuit.. I will let you try it and see what you may be able to do with it.
    Message Edited by lacy on 04-28-2008 05:47 PM
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day
    Attachments:
    Possible Constant Power Load.JPG ‏285 KB

  • What is the best way to make a clickable grid

    What would be the best way to make a clickable area that can
    differentiate between discrete parts of the area when clicked on.
    In other words, instead a having multiple buttons in a row that the
    user can click on, is there a way to have an area that has lines to
    distinguish the different areas(buttons) but that acts as though
    there were multiple consecutive buttons?
    For example, if I wanted to graphically simulate the buttons
    on a phone but without using buttons. Instead use some kind of grid
    or area that is divided into multiple sub areas that can
    distinguish the discrete positions (each button on the phone, or
    sub-area).
    Thank you,
    Salchichasa

    I liek your idea of having multiple images in a grid. I think
    that would be the best bet as you mentioned. Having one big picture
    would be hard to distinguish the sub-areas with mouse coordinates.
    I think checking the coordinates for the mouse would be very
    tedious because I would have to check for the left boundary, the
    right, top, and bottom for each sub-area!
    What do you mean by using button components and reskinning.
    Is this simply using buttons and changing the way they look? I'm
    just trying to save time and memory, because if I had a 10 by 10
    grid, thats a hundred buttons. Wouldn't that slow down the machine
    alot? And for that matter wouldn't having a grid of 10 by 10 images
    also by the same deal?
    Thanks for the input, I'm just trying to find the most
    efficient way to do it.

  • What is best way to make disk backup of CS5 downloaded installation?

    Hi,
    We purchased the downloadable version of the CS5 Production Premium installer rather than waiting 2 weeks to receive it in box form.
    What do you suggest is the best way to make a backup of the downloaded installers, which total about 13.8 gigs?  I was thinking of putting the main one on a dual layer DVD-R but the biggest file is 9.23 gb's, nearly a gig over the data limit for dual layer disks.  Is it possible to use Toast to split a disk image over multiple files or use Apple Disk Utility to compress the .dmg even further to fit?  Or perhaps is the easiest way to just copy it over to a USB thumb drive?
    I know Adobe allows you to re-download the software whenever needed, but it would be more handy for us to have a backup here rather than wait for another really long download...
    Suggestions?
    Thanks!

    You can buy a set of backup disks from Adobe for a nominal fee. You might want to give them a call and ask about it.
    Otherwise, just back it all up to an external drive.
    Bob

Maybe you are looking for

  • DVR/STB Troublesho​oting

    I have been having some issues with my service or DVR since the new guide/firmware update last year. The first issue is that an average of 50% of my DVR recordings will have a glitch in them: Jogging forward or fast forward causes the program to end

  • Sending e-mail using utl_smtp on oracle 9i

    Hello I have problem with sending e-mails using utl_smtp package. My code looks like this: lv_mail_conn := utl_smtp.open_connection(lv_mailhost_txt); utl_smtp.ehlo(lv_mail_conn, lv_mailhost_txt); res :=     utl_smtp.command(lv_mail_conn, 'AUTH LOGIN'

  • Flex SDK version 4.5.1 upgrade issue

    I recently upgraded from Flex SDK version 4.1.0.16076 to  4.5.1 and this upgrade broke one of the key functionalities in my  application. Wherever the s:DataGroup itemRenderer's  s:RichText textFlow has <img> element, it throws the following  error i

  • Joining 3 tables in MySQL using PHP

    Hi, I have the following 3 sample tables: First idkey fk_second_idkey fk_third_idkey Second idkey Third idkey My SQL is SELECT * FROM First INNER JOIN Second ON First.fk_second_idkey = Second.idkey INNER JOIN Third First.fk_third_idkey = Third.idkey

  • Mass uploading of folder Structure?

    Dear Expert, As per client requirement, we needed feasibility of Upload of multiple documents with folder structure. Suppose we had folder structure with different files in folders available in CD, which we wanted to copy/create folder structure in C