Please help an automater noob

Hey. I have never used automater and don't know how to use it but I was wondering the extent of it capabilities. What I really want it to do is log me onto facebook and send something every hour. Is that possible. With those familiar with facebook, I'm trying to send schrute bucks to a friend. We're in a contest among friends.

The same thing happens to me when I am using Microsoft Internet Explorer 7 on my Gateway (Windows XP Home, SP2, 512 RAM). However, once I get the error message, and open another QuickTime file, the browser displays a "IE has encountered a problem and needs to close," and shuts down MSIE. Please help!
Macbook 1.83 GHz   Mac OS X (10.4.7)  

Similar Messages

  • Please help Urgent:Automaticly the Odbc Connection??

    hi everyone,
    i,m looking for a maner to do the odbc connection automaticly: i have a demo of a software in a CD ,the database is there too and i will take this demo to one customer but i don't like to setup the odbc connection in his Computer , i wan it to start automaticly when i put the CD in his computer
    please any help it's urgent

    hi there, why not use an Object Oriented Database, a good example is Oracle, you could embed the database and use JSQL for connectivity, in this way you will not have to define a name in the ODBC..infact ODBC wont be used here....Check out Oracles OO Database and another example is Jeevan Database, more info http://www.w3apps.com/ ....
    asrar

  • Please help a complete noob get started...

    Hi all, new here. I have decided that I would like to be an Oracle DBA. I have always wanted to learn some type of networking, however I admit to being a complete noob to the subject. However, I do have a few really basic questions that I hope I can find some answers to. It may be best if I just number them. (I am in the Dallas/Fort worth Area) Here we go..
    1. What kind of place might a typical oracle DBA work at? A hospital? Or is it more like those giant skyscrapers you see in the city?
    2. How long does it typically take to get certified? This is granted, of course, that you don't fail your classes and have to retake them.
    3. Is there a way I can take the "classes" for the certification online, and possibly test online?
    4. We all get jobs to make money. Being a dad with a family, I have to say that I can't really afford to aim low. What kind of salary might an oracle dba earn?
    5. Is and oracle job something that can be found in some of the smaller towns/suburbs? Or is this something that is kind of scarce?

    user8772743 wrote:
    Well thanks for all the replies guys. Although being such a noob, I have to admit that I did not understand a good portion of them lol. Im pretty computer savvy, but so far I have really been more into hardware. I guess you could call me a hardware enthusiast. I love overclocking and bios modding and gaming.
    But on to my next question. I have noticed, after some searching and looking at some of the links you guys provided, that people in oracle seem to be paid pretty well as a general rule. Just a quick search revealed a few oracle DBA jobs that the starting pay was anywhere from $90k-110K. My question is this: Why does the pay seem to be so much higher than some of the other certifications, such as CCNA? (a cisco cert) Is it because the job is currently in high demand? Just curious I guess. Of course it's part of the reason I want to get into oracle, but i guess im just new... but it still strikes me as strange that there is such a drastic difference between it and some of the other certifications.
    Edited by: user8772743 on Aug 28, 2009 9:14 PMAn employer looking for a DBA will usually be looking for far more than the certification, they'll be looking for evidence of experience, judgement, rigour, responsibility knowledge and a host of other characteristics and an ability to take on new challenges.
    Also a CCNA is an entry level cicso certification, though they do have CCENT which is a little lower. You need to be getting to CCIE to be a little higher.
    From where you are at the moment you might consider a self taught microlight pilot wanting to become an airline pilot on 737s. Would he, after all the training, find that the rigourous and sometimes monotonous drag of a luton to Glasgow shuttle is not really what one wanted.
    I usually like to see little steps first. But you want the big step to the big pay league for iminimum effort ... I guess its possilble ... but ......
    I think because of your current love of hardware you might be better suited to study one the following certifications first
    You may wish to remain with microsoft or whether to get linux experience. I would start with Fedora or Ubuntu, I actually find Ubuntu more fun but less mainstream.
    MSCT
    CCENT (or CCNA)
    LINUX+ or something from CompTIA
    If you want to get into databases and an entry level database certification then a Sun MYSQL CMA is a consideration as an entry level study. Its disdvantages are its unlikely to help you get a job and the SQL syntax is different to Oracle.
    If you can complete before 30th september then a Sun Openoffice Writer Certification is a cheap option (if you can pass it).
    Sometimes looking for evening classes close to where you are might be a better option to channel your efforts on a whats available rather than what I want basis.
    If you are really looking for an online course then try something like: [http://www.ed2go.com/cgi-bin/ed2go/newofferings.cgi?dept=CP] I cannot personnally verify if this particular vendor is useless, bad, cheap or whatever. Some online courses are certainly not to be recomended. Anyway [www.certguard.com] knows about this and while not within certguard remit does not say anything bad about it.
    Quality is probably not great and possibly not up to date but wider width and quite cheap are from [http://www.vtc.com/] .. this is positively cleared at about time of this post by [www.certguard.com] as certification safe. You can look at some lessons here perhaps to decide what you want to get into. If seriously getting into a certification you've be better get something to supplement; but for learning proably okay.
    You can actually do the oracle courses from Oracle online ... but they are quite expensive : [www.oracle.com/education]
    Rgds - bigdelboy.

  • Please help me Automate an Aperture/Photoshop workflow

    I'm trying to streamline the process of exporting a RAW file from Aperture to Photoshop for editing and then re-importing it into Aperture. I have zero experience with Automator, but someone else on the Discussions site was kind enough to share hte Automator process he uses for this.
    Problem is, I can't get mine to work (or I don't know how to make it work).
    I created a folder called "Photoshop-IN" where I would export the RAW files from Aperture that need editing. Then I created a folder called "Aperture-IN" where the completed Photoshop files would be exported for re-import into Aperture. Then I created this workflow:
    http://homepage.mac.com/chriskresser/PhotoAlbum16.html
    I think the workflows are correct, but I don't know what to do at this point. The original poster said something about making them "watched folders", but I have no idea what that means or how to do that.
    To test the workflows, I tried exporting a RAW photo from Aperture to a "Photoshop-IN" folder. Then I opened Automator and clicked the play button for the designated workflow. It tells me it executed properly, but nothing happens. The CR2 file wasn't opened in Photoshop, is still in the folder, and didn't get moved to the trash.
    I also tested the other workflow (getting PSD file back into Aperture), and that doesn't seem to be working either. With this workflow, I get the following message. "Aperture got an error. Some parameter wasn't understood. (-1715)".
    What am I doing wrong? I realize that this might be pretty far off topic, as it is more a question of how to use Automator and possibly AppleScript. But any help would be appreciated, including direction to some resources where I could learn more about Automator (the help section is woefully inadequate!)
    Thanks again,
    Chris
    G5 2.0 dual-core   Mac OS X (10.4.3)   17" Apple LCD, iSight, Bluetooth Keyboard & Logitech Cordless Laser Mouse

    Your PS-in workflow is too complex, all it needs is a Finder action to open in PS:
    http://www.azurevision.co.uk/aperture/open-in-ps-action.jpg
    Then File>Save as Plug-in..., choose 'Folder Actions' and then where it asks what folder to attach it to, navigate to your folder. Now, every file that is copied, moved or saved into that folder will be opened in PS.
    The import into Aperture workflow is mostly OK, but you are passing a folder from the first action, not files. Try adding a 'Get Folder Contents' action just after the first action. With a bit of jiggling around and using the two actions of that workflow you should be able to save it as a folder action.
    A couple more threads using a slightly different approach:
    http://discussions.apple.com/thread.jspa?messageID=1292903
    http://discussions.apple.com/thread.jspa?messageID=1372571
    Basically these export a RAW file out to a watched folder (as you are trying to do), but instead of saving it out and re-importing into Aperture, a duplicate file is made in Aperture by using 'Open in external editor' and saving the converted file into that.
    Ian

  • Please help on: Automatic deletion of certain rows

    Hi all,
    I am developing a project in which the rows inserted before two months should be deleted automatically. I have a date column in my table. I wrote a PL/SQL stored procedure that deletes the rows that are two months old. Now I can able to delete the rows only if I manually call the stored procedure. But my question is how to call the procedure on a daily basis automatically, so that the rows are checked and deleted daily.

    look up DBMS_JOB (pre 10g) or DBMS_SCHEDULER (10g onwards)

  • Bootable CD...Please Help...nOOb

    I downloaded the entire set of binaries from SUN for Solaris 8.
    Readme.txt
    installation cd:
    sol-8-u7-install-sparc-a.zip
    sol-8-u7-install-sparc-b.zip
    sol-8-u7-install-sparc-c.zip
    software cd 1/2:
    sol-8-u7-sparc-v1-a.zip
    sol-8-u7-sparc-v1-b.zip
    sol-8-u7-sparc-v1-c.zip
    software cd 2/2:
    sol-8-u7-sparc-v2.zip
    Then I compiled the segments to a single .iso file as instructed (sol-8-u7-install-sparc.iso). Then I tried to make the installation .iso file a bootable cd. I tried both with CD Creator & NERO, but to no avail.
    The CD's are not even seen while booting the computer. When I used NERO it only copied the .iso file as-is and didn't even make the CD in anyway bootable. CD Creator on the other hand made the following files:
    .VOLUME
    ADD_INSTALL_CLIENT
    BOOT
    COPYRIGHT
    MODIFY_INSTALL_SERVER
    RM_INSTALL_CLIENT
    To me I would think that this would work just fine. As the system(s) boot-up they just pass right by where the CD should kick-in. And I have tried on three different computers too. Two clones and a HP Kayak XU.
    I have the setting in my BIOS to Boot from CD first as well.
    Also do I need to make the software CD's bootable, or can I just burn the iso file straight to CD?
    F.Y.I ... I had downloaded RedHat and just burned the iso files to disk and worked. Do they install in a similar way?
    Thanks much you guru you in advance. :D

    hummmmmmmmmm......
    I think I have found an answer to my own question.
    Is the version I downloaded only for SUN hardware(SPARC)?
    Do I need a different version for i386?

  • Please help , I have iPhone 4S and have updated to iso6, don't know if that has anything to do with the problem but I can't set the year on date and time to the correct year, it automatically goes to 2578 ? Plz help

    Subject:
    Please help , I have iPhone 4S and have updated to iso6, don't know if that has anything to do with the problem but I can't set the year on date and time to the correct year, it automatically goes to 2578 ? Plz help

    Settings>General>International.
    Set the calendar to "Gregorian". You have it set to Buddhist.

  • Trying to convert a multipage PDF into multilayered PSD. Automatically, not one by one - manually. Please help!

    as per title - i have a multipage PDF that i want to transfer into a multilayered PSD.
    not one by one - but automatically.
    my attempts of recording a set of actions failed.
    Please help.

    This would likely need Scripting at least.
    But like station_two indicated people might feel more inclined to help if the necessity for the process were clearer.
    And converting pdfs into pixel images is often a bad choice.

  • TS3920 I have a problem after I lock my iphone or it is automatically locked , the time doesn't update. It just freezes at the last time of locking. Please help , it is iphone 5 running iOS7.1

    I have a problem after I lock my iphone or it is automatically locked , the time doesn't update. It just freezes at the last time of locking. Please help , it is iphone 5 running iOS7.1
    I check with my service provider as well as I synchronized with iTunes , changed time manually with the right time zone. Unfortunately the problem keeps showing

    Hi Courcoul
    Thanks for stepping by
    To tell the truth I forgot to mention that I already did what you said, even more I tried all "reset" options including:
    Reset all settings
    Erase All content and settings
    Reset Network settings
    Etc
    Even
    Reset location and Privacy
    It keeps showing the problem

  • I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help

    I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help
    [ link removed by moderator ]

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Please Help! Why does Zen sync automatically when I plug in to char

    Everytime I charge the Zen (via USB), it copies all the music so that I have double of each song, etc. I can't find how to change a setting so that it doesn't do that. please help!
    Also, is there an easy way to transfer files from a Zen V to the Zen? I've tried plugging in both at the same time and opening the creative media sources for each but dragging and dropping doesn't work. I'm actually interested specifically in copying the
    Zen V playlists and their contents so that I don't have to recreate the playlists on the Zen. Most of the music I have managed to copy already (most of it was in the computer from being downloaded, so I could then transferring it to the Zen) but I can't seem to figure out hte playlists or the CD music that was ripped onto the Zen V but not saved on the computer).
    I'm new to this discussion group so any help would be so greatly appreciated!

    Click on your Sync Manager (the two arrow icon on your taskbar)
    Under preferences you will probably see the "check" under "Automatic Sync"
    My preference is to have "checked" under "Manual Sync" which prevents the
    "automatic sync" from happening on connection unless to
    commanded to do so by manually selecting "sync" from the Zen media explorer.
    Note: Please click on the help menu under the sync manager icon and read everything.
    Note: The default software is set to "automatic sync"? from the factory!
    I believe it should be set to the "manual sync" by default.
    Before, playing with your sync options and setup backup your media data!
    (to CD or flash dri've)
    One trick, I use, is to change the sync arrow direction from the Zen to the PC ONLY.
    (This prevents double copies of media data)
    Since, in most cases, all media data e.g. music and photos are added from the PC to the
    Zen device which has a solid-state flash memory, and the only way you can lose your
    media data is to have a faulty Zen device. By having the arrow from the Zen to PC,
    anytime you manually sync all your media data is copied, in one direction only,
    from your Zen to the PC. Then, I backup the folders to a CD or flash dri've.
    So, if you destroy you Zen, your media/music/photos will be safe on your PC.
    If your PC goes down, then you have your media/music/photos on a CD or flash dri've.
    (A double back-up) Just one thing to remember, reverse the arrow direction, if need be,
    if you have a "new" / repaired Zen then reverse it back or you will lose your data!
    Keep in mind, every so often to manually sync your Zen to the PC so you can have the
    latest/current copy of your media data on your PC for backup.
    The above information only applies to using the Zen Media Explorer and not the Windows Media Player!
    Cheers.

  • When i turn on itunes, it crashes automatically with the error message saying "itunes has encountered a problem and needs to close." I've tried reinstalling itunes but its the same. CAN SOMEONE PLEASE HELP!!!

    when i turn on itunes, it crashes automatically with the error message saying "itunes has encountered a problem and needs to close." I've tried reinstalling itunes but its the same. CAN SOMEONE PLEASE HELP!!!

    Try:
    iOS: If you can't back up or restore from a backup in iTunes

  • I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    Are you using the Office for Mac 2011 version, as you need to do?  The Office for Mac 2004 is Not at all compatible with Mountain Lion, and the 2008 version has been noted to have some problems running with ML.
    Hope this helps

  • My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.

    My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.

    Sorry i mistakenly made this question. It was alright. No Problem At ALL

  • How to empty the JTextField automatically? Please HELP me.

    Hello,
    This is my full listing program:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    public class PortGUI extends JFrame
         private     JButton btOk;
         private JButton btCancel;
         private     JButton btReply;
         private     JLabel lblServIP;
         private     JLabel lblAuth;
         private JLabel lblThrd;
         private JLabel lblAcc;
         private JLabel lblMax;
         private JLabel lblAuthent;
         private JLabel lblAdm;
         private JLabel lblReplServ;
         private JCheckBox chkUsers;
         private JCheckBox chkEnbDbg;
         private JOptionPane pnlErr = new JOptionPane();
         public PortGUI()
              // Create main panel
              JPanel topPanel     = new JPanel();
              topPanel.setLayout(null);
              getContentPane().add( topPanel );
         // Create Server Settings panel
              JPanel panelsett = new JPanel();
              panelsett.setLayout(null);
              panelsett.setBounds(5,5,680, 200);
              // panelsett containers
              final JTextField fldServIP = new JTextField();
              fldServIP.setBounds( 160, 30, 100, 25 );
              fldServIP.setFocusAccelerator( 'v' );
              panelsett.add(fldServIP);
              lblServIP = new JLabel( "Server IP"     );
              lblServIP.setBounds( 20, 30, 100, 25 );
              lblServIP.setLabelFor(     fldServIP );
              panelsett.add(lblServIP);
              final JTextField fldAuth = new JTextField();
              fldAuth.setBounds( 600, 30, 50, 25 );
              fldAuth.setFocusAccelerator( 'v' );
              panelsett.add(fldAuth);
              lblAuth = new JLabel( "Incoming Radius Authentication Port");
              lblAuth.setBounds( 350, 30, 300, 25 );
              lblAuth.setLabelFor(fldAuth);
              panelsett.add(lblAuth);                                        
              final JTextField fldThrd =     new     JTextField();
              fldThrd.setBounds( 160, 60, 50, 25 );
              fldThrd.setFocusAccelerator( 'a' );
              panelsett.add(fldThrd);
              lblThrd = new JLabel( "Worker Threads" );
              lblThrd.setBounds( 20, 60, 100, 25 );
              lblThrd.setLabelFor(fldThrd);
              panelsett.add(lblThrd);
              final JTextField fldAcc =     new     JTextField();
              fldAcc.setBounds( 600, 60, 50, 25 );
              fldAcc.setFocusAccelerator( 'a' );
              panelsett.add( fldAcc );
              lblAcc = new JLabel( "Incoming Radius Accounting Port" );
              lblAcc.setBounds( 350, 60, 300, 25 );
              lblAcc.setLabelFor(     fldAcc );
              panelsett.add( lblAcc );
              final JTextField fldMax =     new     JTextField();
              fldMax.setBounds( 160, 90, 50, 25 );
              fldMax.setFocusAccelerator( 'c' );
              panelsett.add( fldMax );
              lblMax = new JLabel( "Maximum Consoles" );
              lblMax.setBounds( 20, 90, 200, 25 );
              lblMax.setLabelFor(     fldMax );
              panelsett.add(lblMax);
              // Create combo box
              String[] AuthStrings = {"Local Server", "Proxy Server", "Local and Proxy"};
              JComboBox AuthList = new JComboBox(AuthStrings);
              AuthList.setSelectedIndex(2);
              AuthList.setSelectedItem(null);
              AuthList.setBounds(450, 90, 200, 25);
              panelsett.add(AuthList);          
              lblAuthent = new JLabel( "Authenticator" );
              lblAuthent.setBounds( 350, 90, 100, 25 );
              lblAuthent.setLabelFor(     AuthList);
              panelsett.add(lblAuthent);
              final JTextField fldAdm =     new     JTextField();
              fldAdm.setBounds( 160, 120, 50, 25 );
              fldAdm.setFocusAccelerator( 'c' );
              panelsett.add( fldAdm );
              lblAdm = new JLabel( "Admin TCP Port" );
              lblAdm.setBounds( 20, 120, 150, 25 );
              lblAdm.setLabelFor(     fldAdm );
              panelsett.add(lblAdm);
              // create checkbox
              chkUsers = new JCheckBox("Cache Users in Memory");
              chkUsers.setBounds(350, 120, 250, 25);
    chkUsers.setMnemonic('m');
    chkUsers.setSelected(false);
    panelsett.add(chkUsers);
              final JTextField fldReplServ =     new     JTextField();
              fldReplServ.setBounds( 160, 150, 100, 25 );
              fldReplServ.setFocusAccelerator( 'c' );
              panelsett.add( fldReplServ );
              lblReplServ = new JLabel( "Replication Server IP" );
              lblReplServ.setBounds( 20, 150, 200, 25 );
              lblReplServ.setLabelFor(fldReplServ);
              panelsett.add(lblReplServ);
              chkEnbDbg = new JCheckBox("Enable Debug Trace Output");
    chkEnbDbg.setBounds(350, 150, 250, 25);
    chkEnbDbg.setMnemonic('n');
    chkEnbDbg.setSelected(false);
    panelsett.add(chkEnbDbg);
              Border etched;
              etched = BorderFactory.createLoweredBevelBorder();
         TitledBorder title;
         title = BorderFactory.createTitledBorder(etched, "Server Settings");
    title.setTitleJustification(TitledBorder.LEFT);
    panelsett.setBorder(title);
    topPanel.add(panelsett);
              // Create a button
              btOk = new JButton( "OK" );
              btOk.setBorder(BorderFactory.createRaisedBevelBorder());
              btOk.setBounds( 170, 270, 100, 35 );
              btOk.setEnabled(false );
              topPanel.add(btOk);
              btReply = new JButton( "Apply" );
              btReply.setBorder(BorderFactory.createRaisedBevelBorder());
              btReply.setBounds( 300, 270, 100, 35 );
              topPanel.add(btReply);
              btCancel = new JButton( "Cancel" );
              btCancel.setBorder(BorderFactory.createRaisedBevelBorder());
              btCancel.setBounds( 420, 270, 100, 35 );
              btCancel.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
         System.exit(0);
              topPanel.add(btCancel);
              // Action for each components
              fldServIP.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldServIP.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldServIP.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldServIP.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
              fldAuth.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldAuth.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldAuth.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldAuth.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
         fldThrd.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldThrd.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldThrd.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldThrd.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
    fldAcc.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldAcc.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldAcc.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldAcc.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
    fldMax.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldMax.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldMax.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldMax.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
    fldAdm.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldAdm.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldAdm.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldAdm.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
    fldReplServ.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldReplServ.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldReplServ.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    public void removeUpdate( DocumentEvent event )
         // Prevent the user     from entering a blank field
         if(     fldReplServ.getText().length() == 0 )
         btOk.setEnabled( false );
         else
              // Do the same error checking as insertUpdate()
              insertUpdate( event );
    public void changedUpdate( DocumentEvent event )
         // Nothing to do here
         public static void main(String[] args)
              //int windowWidth, windowHeight;
              int windowWidth = 700;
    int windowHeight = 400;
              PortGUI window = new PortGUI();
              window.setTitle("");
              Dimension windowSize = window.getSize();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              window.setSize(windowWidth, windowHeight);
              window.setLocation((screenSize.width - windowWidth) / 2, (screenSize.height - windowHeight) / 2);
              window.setVisible(true);
              window.setResizable(false);
    On that listing program, my problem is in field document listener, that is:
    fldThrd.getDocument().addDocumentListener(new DocumentListener()
                   public void     insertUpdate( DocumentEvent event )
                        String     sString     = fldThrd.getText();
                        try     
                             int     iValue = Integer.parseInt( sString );
                             btOk.setEnabled( true );
                        catch( NumberFormatException e )
                             if(     fldThrd.getText().length() == 4 )
                   JOptionPane.showMessageDialog(pnlErr,
    "Please try again",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    if I execute this program, the textfield can only receive integer input. If input is string til 4 times, the dialog panel will display error message. After that, textfield must be empty (delete automatically).
    I want to ask you about how I can emptying that textfield automatically after the dialog panel is appear?
    Please help me to get out from my problem.
    Thank's for your help,
    har

    Hi,
    To empty the text file, use the method setText("").
    eg. fldServIP.setText("");
    fldServIP is one of your textfield. So whereever you are showing the dialog box, use setText("") for the corresponding textfields.
    All the best

Maybe you are looking for