Dukes for help!

Can someone please explain to me exactly what happens when validate and invalidate are called?
I have this crazy bug that I cannot figure out.
I have a Question class which has an Image in it.
I have a QuestionSet class which loads the Images and questions of the questions in the set.
I have a QuestionImagePanel which displays the Images (a pointer to this panel is passed in the constructor of QuestionSet) The Panel has an overridden paint method which draws the current Question Image.
Finally, I have a SimpleQuiz which displays the question being asked, the Image associated with the question, and the possible choices, as well as some simple interface.
At first, the applet didn't show the image at all. (I checked the size of the Panel.. ok)
Then I tried validate, because other things needed validation anyway.
Then all hell broke loose. The Images began to stay on the top at all times, even though I repainted... The Images sometimes didn't show up. I was trying to get my class to run this quiz on the web as practice for next week's in-class quiz, and I had to tell them to resize the frame every time they signalled for the next question!! (Which does work).
Is that the only way to FORCE Java to actually repaint and validate the screen? Is this thing being queued or something?
Please any thoughts..?
(And pls. keep it simple, I was up all night coding... I am operating on 1 hr sleep),
:-) jen

i'm running jdk 1.3.
I don't normally use validate.. I normally create a custom component and let the layout managers handle the layout, painting what ever. I have a special ImageComponent for just this purpose. But in this case, I wanted the image to be part of the Question, so I had no choice but to do this goofy validation thing.
I haven't had too many problems with repaint. I've had some problems with paint methods working differently on different platforms if that is what you mean.
e.g. my game
http://www2.hawaii.edu/~jmcfatri/Java/RobotGame.html
looks choppy as hell on a PC because I made a mistake on the double buffering. (If you try it, add a position vector and plug in 2 and -9 to make the robot go down 9 and across 2.) On OSX it was smooth as glass.
thanks for your response tho'
:-) jen

Similar Messages

  • Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help

    Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help with this, please.

    jpg does not support Layers.
    Just to make sure, what exactly do you mean by "stacking photos" and what do you want to achieve thereby?

  • Looking for help - Company is going to Mobile Asset Management service that does not support BB - especially BB 10.

    Hello,
    I am looking for ideas/help. I currently have a BB Z10 (10.1.0.2039) with Verizon Wireless.  The company has a BB Enterprise Server for older devices (I previously was on that).  I bought a Z10 several months ago and have been connecting to the corporate network through Lotus Traveler. They do not have and will not implement a BB 10 Enterprise Server. Some in IT informed that if the company used the BB software they could manage all devices..... not accepted.
    All my contacts, calendar, and company email is funneled to the BB Hub.....
    So my company is implementing a Mobile Asset Management Service that I have to sign up for (Airwatch?).  They only support Android and IPhone.
    Will future versions of the BB OS support Android Apps.... Soon (I have less than 2 weeks)
    I have read where it is possible to put the device in development mode to run Android Apps.  I don't know if that will work with this and have no idea how stable the phone is in that mode. I travel internationally so I don't know how a development mode would work overseas. Any thoughts?
    I like my Z10 but will need to switch to keep functionality if I can't find a work around 
    Any assistance ????
    Thanks for any help.

    Hi and Welcome to the Community!
    BB10 devices have the ability to run .apk apps via special methods. Development Mode is used only for installing the app...not for normal operation. So you install (side-load) the app in Development Mode, then go back to normal mode for normal operations.
    If a .bar file for the .apk app already exists somewhere, you can side load it to the BB10 device and see if it works or not. If there is not yet any .bar file, there is an app called SideSwype that can convert many .apk apps to .bar and install it to your device.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Looking for Help with Hyperion to JAVA

    I am looking for help with connecting Hyperion to Java. We are in Maryland but would be willing to work out something for remote consulting. If you have experience with connecting web services, hyperion, and Java and would be interested in about 80 hours of consulting please contact me at:[email protected] x4846

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Hello to all ... looking for help with 7520

    Hey I got a 7520 and want to know how I can get my computer to sync ?? or recognize my phone so I can load Pictures from the computer to the phone.

    Hey BigSteve!
    Here is a write up that should help you:
    http://supportforums.blackberry.com/rim/board/message?board.id=BlackBerryDesktopSoftware&thread.id=3...
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Trying to get a computer repaired, getting the run around - a plea for help

    First, some backstory:
    I ordered a refurbished ThinkPad T440s from the Outlet on July 21 after two weeks of fighting with the bots and snipers.  It was a nice machine: it had an i7 4600 processor and a FHD IPS display.  The outlet shipped my computer quickly and I was happy to receive it.  I opened it up and... it was the wrong computer altogether.
    I contacted a CS representative and she told me that the only option was to send the unit back for a refund and try again.  Apparently there is no inventory system in place to tell me if the computer I originally ordered was even available, or if it had been sent to a different customer.  Begrudgingly, I sent the original laptop back and received my refund.
    I decided to try again, and successfully managed to snag another machine with similar specs on July 29 after camping out on the Outlet site.  I was overjoyed, but this order has turned out to be a nightmare.
    After the status of my order sat on "Released to Manufacturing" for two weeks, I contacted bgriffin2 on these same forums.  After giving him my order information, my laptop shipped on the same day, August 12.  I was delighted.  
    When the computer arrived, I opened it up and I was pleased to see that it was the correct machine.  However, the laptop had severe scratching all over the rear LCD cover, as if someone had taken their car keys and dug grooves in the lid.  The edges of the computer were severely worn, and on one corner it looked like the pc had experienced a pretty nasty fall.  To make a long story short, the laptop did not look reconditioned at all.  It also had not been function tested, as there were numerous problems with the machine besides the cosmetics.  The fingerprint reader did not work and was not even recognized by the BIOS, the speakers made loud popping noises intermittently, and the external battery was not even recognized by the machine.  I still do not know if this was a battery issue, or if there is something wrong with the motherboard of the machine.
    I used to work at a facility that refurbished handsets for Verizon Wireless.  I will tell you up front that this sort of shoddy reworking and QC testing would never fly there.  This unit should have never left the facility as a scratch & dent, much less as a refurbished and remanufactured unit.
    Do you think that's the end of my sob story?  Oh no, we're just getting started.  Bgriffin2 acknowledged that this was unacceptable and he suggested I send it in for warranty service to have these issues resolved.  I spoke to a very nice woman at the Atlanta service center and she was very helpful in getting me a prepaid carton to send the laptop to Memphis for repair.  I sent the laptop off and it was deliviered to Lenovo on the 19th of August.  Since then, the status of my repair on the EasyServ website has looked like this:
    http://i.imgur.com/t3Qs03e.png
    Each and every time I see "Hold for customer information," I place a phone call to the tech support line and ask what they need from me.  The first two times I was redirected to the actual people doing the repair, as the representatives that answer the phone couldn't seem to discern what is going on with the repair.  Both times, I was told that they didn't need anything from me, that there was a glitch in the system and the hold was accidentally placed.  I was told that the hold was removed and that they would begin repairing my laptop immediately.  I was content with that answer until I received a phone call last Thursday from someone from billing.  This gentleman said that Lenovo wanted $300 to fix the scratched rear LCD cover as it was not covered by warranty.  I was stunned.  These people had my laptop for two weeks before tellling me that they wanted money from me.  I was appalled and told him that there was no way that I was going to pay for it.  I had to tell him twice that the unit was not a scratch and dent model, it was a refurbished model.  The scratching on the lid is not minor, and the machine does not work as it is supposed to.  He said that he would see if he could get the price reduced for me; I said absolutely not.  He said that he would see if they would fix it for free out of the goodness of their hearts, and I said fine, do what you can.  He promised to call me back and tell me about his findings; I have not heard from him again.
    Upset by the previous phone call, I immediately called the tech support number again.  A representative named Arva tells me that she sees that I am to receive a new laptop.  Confused, I tell her that I had one sent in for repairs.  She puts me on hold for a little while and comes back saying that the computer was damaged beyond Lenovo's acceptable specifications and that they were going to send me a newly refurbished laptop with the same specifications, and that I should expect a phone call within the next 24-48 business hours.  Of course, that was on Thursday.  I did not receive a call on Friday, and it was Labor Day weekend, so no calls then.  I also did not receive a phone call yesterday, but I noticed a new "Hold for customer information" popped up.
    I called again today to find out what they needed from me.  This time the tech support representative tells me that the battery won't hold a charge, and that's the reason for the hold.  Now tell me, why on earth would they not have another battery laying around to test with?  She tells me that there is no ETA, but I requested a phone call from someone who knows what's going on, and also an escalation of some type.  Notice that she did not mention a newly refurbished laptop as Arva had promised.  These people can't even keep their story straight.
    I am crying out for help here.  I am a grad student in CS and I absolutely NEED a computer.  I have a desktop at school, but it is not portable and I need a laptop.  Please, can someone get something done about this?
     My case number is A07YFM9.

    Hi massmercury,
    I want to apologize for your experience here with the service center. I am moving forward to have your case escalated for further review. Please see my private message.  I will be your point of contact until our Customer Advocate team reaches out to you. 
    Best regards,
    Bgriffin2
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How do you get of hold of anyone at Adobe for help?  Cannot download Photoshop CC.

    I could not update Photoshop CC from Creative Cloud desktop or online. I need Raw 8.3 to be compatible with Lightroom.  It is impossible to get a hold of anyone at Adobe for help.  Found their chat link once after much searching, someone finally answered then told me they were closing for the day and to call back the next day.  Could never find the chat link again.  Tried uninstalling PhotoshopCC because I saw that somewhere in the forum but still cannot download Photoshop CC.  Got error code U43M1U49 and said to retry or contact customer support.  Yeah right!  Totally frustrated with Adobe.  Anyone have any suggestions?

    Triste wrote:
    I update application manager and was able to load Adobe Premier CC from on
    line upload center.  When I tried to update more apps from the desktop CC,
    still failed.  Tried to update Adobe Premier CC from help, mostly worked,
    but got an message to close LogTransportApplication which I could not find,
    did not show in my Task Manager when tried to find it, so could not update
    Premier CC.  Updates still failed from desktop Adobe CC.
    Hi Triste,
    If you're having difficulties getting updates for your tools using the Creative Cloud Desktop app, then you can try downloading them without it by using the direct links for the CC updates on Windows or on Mac OS, for all CC apps.

  • A Request for help from me again! Yay!

    hi guys! I was working on implementing threads for the directions of the unit. When i press forward once...nothing happens, but when i press twice it gives me this HUGE list of errors. I dont have a clue. Again, any help would be appreciated.
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class NBoard extends JFrame implements KeyListener{
         int selection = 0;
         boolean selectionmade = false;
         final int WIDTH = 600;
         final int HEIGHT = 600;
         Image Viz =Toolkit.getDefaultToolkit().getImage(JOptionPane.showInputDialog("What character do you want?")+".gif");
         int XC = 50;
         int YC = 50;
         Thread moving = new Move();
         Unit Host = new Unit();
         public NBoard(){
              this.setSize(WIDTH,HEIGHT);
              selection = Integer.parseInt(JOptionPane.showInputDialog("What level design do you want?"));
              if(selection > 0){
                   selectionmade = true;
              addKeyListener(this);
              this.setVisible(true);
         public static void main(String args[]){
              new NBoard();
         public void paint(Graphics g){
              if(selectionmade == true){
                   if(selection == 1){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT);
                   if(selection == 2){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT);
                        for(int ctr = 1; ctr < 6; ++ctr){
                             g.drawRect(WIDTH/4 ,ctr * 100, 20, 20);
                             g.drawRect((WIDTH / 3) * 2 ,ctr * 100, 20, 20);
                   if(selection == 3){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine((WIDTH/2) - 90,0,(WIDTH/2) + 90,HEIGHT);
                   g.drawImage(Viz,XC,YC,this);
              public void keyPressed(KeyEvent e){                              //The Problem Areas
                   if(e.getKeyChar() == 'w'){
                        moving.start();                                             //Starting the thread to move up
                   else if(e.getKeyChar() == 's'){
                        YC = YC + 2;
                   else if(e.getKeyChar() == 'a'){
                        XC = XC - 2;
                   else if(e.getKeyChar() == 'd'){
                        XC = XC + 2;
                   System.out.println(e.getKeyChar());
                   repaint();
         public void keyReleased(KeyEvent e){                              //The Problem Areas
              if(e.getKeyChar() == 'w'){
                   moving.interrupt();                                             //Trying to interrupt the thread once the key is released
         public void keyTyped(KeyEvent e){}
    class Move extends Thread{                                                  //The Problem Areas
         public void run(){                                                       //The Thread
              Unit.XC = Unit.XC - 2;
              try{
                   Thread.sleep(1000);
              catch (Exception e){}
    class Unit{                                                                      //The Object which will hold all of the information about each unit
         static int XC = 30;
         static int YC = 30;
    } By the way, here is my order of events, so you can look forward to seeing requests for help for them (hopefully not).
    Threads: Moving the guy around
    Threads: Making him shoot a ball at the mouses position
    Network: Allow others to join/play game (This is gonna be HUGE probably), while host decides on game type.
    Thanks for all the help so far!

    Where does moving ever get started? Why does Move extend Thread instead of implementing Runnable? (Implementing runnable is preferred and often the correct way to do it and it is in this case)
    But regardless there shoud be a moving.start() somewhere or start of the Thread that has the Runnable target Move.... I don't think I see one. Unless I missed it.
    so...itll work if i change the setup to Runnable?

  • Cry for help is this usual

    Hi, this is really a cry for help in the vain hope there is somebody at bt who cares about my broadband issue. Returned from holiday to find dsl light off on modem, did all the resets / power cycles but initially told a week ago it was an issue in my area and would return next day, then told it was a fault on line, then told it was a fault at exchange, now told its an issue in my area. Saw a Open Reach guy in my road, he said its rubbish and there is signal in the cabinet. Just spent half an hour on hold to level 2 support but they put phone down on me REALLY FED UP!!!

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • A tiny little cry for help: mic in bootcamp makes me sound like a mouse!

    I posted this on the InsanelyMac forum, and I thought I'd post it here too because I'm just that desperate for help... thanks in advance for reading.
    I run a MacBook Pro Core 2 Duo. When Snow Leopard came out I installed it and partitioned my drive to allow me to run Windows via bootcamp for the purpose of playing Aion with my husband.
    The game works fine, although it only works correctly when I'm hooked to my large Dell monitor. The built-in display makes the mouse/cursor not function correctly in-game.
    But that's relatively minor... the biggest problem is that the built-in mic, as well as any mic I plug into the Line In, makes me sound like a mouse when I speak. I SO don't want to be known as the squeaky mouse over ventrilo. (The problem occurs in a regular sound recorder too, so it is NOT ventrilo specific).
    The audio device is listed as Intel High Definition Audio: Device ID 0x83847680, Audio ID 30 - whatever that means.
    When I dive into the Control Panel audio preferences when booted into Windows, the driver is listed as IDT audio.
    Audio output seems to function perfectly.
    I would sure appreciate help if anyone has expertise or experience with this sort of thing. I'm at a little bit of a loss.
    TIA,
    Jen

    Hey, I had a thought, I don't know if it'll work and won't get the chance to find out until later tonight if I'm not too tired or until later tomorrow.
    I think that if the IDT drivers aren't installed in the first place, perhaps the issue can be averted entirely. However, it's going to take a bit of knowledge to do and some patience. The partition will need to be remade entirely so that one may end up with a fresh operating system. When the SL disk is put into the computer, instead of running the full driver setup, pick the drivers directly off the disk by exploring its folders and only install the ones you need. Instead of using the IDT drivers, I believe the SL disk also has Realtek HD audio drivers (if I remember correctly from the last time I looked). My thought is that this manual method can prevent having to deal with the IDT drivers which I believe are part of the issue.
    I understand that reinstalling XP is a process in itself, but this is the only solution I can think of. If manually installing doesnt work, my next move would be to use the drivers that come off the Leopard disk instead of the SL disk.
    Like I said, this is just a thought I have so when I get to it later I'll let you know how it goes unless you decide to give it a try before me.

  • [Request For Help] How To Send Email Midlet Using Secure Socket ?

    Hello, this is the first time i ask for help to forum.sun.com.
    i try to make secure connection for send email from MIDlet. Maybe you can check to my code :
    EmailMidlet.java
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    import javax.microedition.lcdui.;
    public class EmailMidlet extends MIDlet implements CommandListener{
    Display display = null;
    // email form fields
    TextField toField = null;
    TextField subjectField = null;
    TextField msgField = null;
    Form form;
    static final Command sendCommand = new Command("send", Command.OK, 2);
    static final Command clearCommand = new Command("clear", Command.STOP, 3);
    String to;
    String subject;
    String msg;
    public EmailMidlet() {
    display = Display.getDisplay(this);
    form = new Form("Compose Message");
    toField = new TextField("To:", "", 50, TextField.EMAILADDR);
    subjectField = new TextField("Subject:", "", 15, TextField.ANY);
    msgField = new TextField("MsgBody:", "", 90, TextField.ANY);
    public void startApp() throws MIDletStateChangeException {
    form.append(toField);
    form.append(subjectField);
    form.append(msgField);
    form.addCommand(clearCommand);
    form.addCommand(sendCommand);
    form.setCommandListener(this);
    display.setCurrent(form);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    notifyDestroyed();
    public void commandAction(Command c, Displayable d) {
    String label = c.getLabel();
    if(label.equals("clear")) {
    destroyApp(true);
    } else if (label.equals("send")) {
    to = toField.getString();
    subject = subjectField.getString();
    msg = msgField.getString();
    EmailClient client = new EmailClient(this,"[email protected]", to, subject, msg);
    client.start();
    }and EmailClient.java
    import javax.microedition.io.;
    import javax.microedition.lcdui.;
    import java.io.;
    import java.util.Date;
    public class EmailClient implements Runnable {
    private EmailMidlet parent;
    private Display display;
    private Form f;
    private StringItem si;
    private SecureConnection sc; //SSL
    private InputStream is;
    private OutputStream os;
    private String smtpServerAddress = "smtp.gmail.com"; //SSL
    String from;
    String to;
    String subject;
    String msg;
    public EmailClient(EmailMidlet m, String from, String to, String subject, String msg) {
    parent = m;
    this.from = from;
    this.to = to;
    this.subject = subject;
    this.msg = msg;
    display = Display.getDisplay(parent);
    f = new Form("Email Client");
    si = new StringItem("Response:" , " ");
    f.append(si);
    display.setCurrent(f);
    public void start() {
    Thread t = new Thread(this);
    t.start();
    public void run() {
    try {
    //SSL
    sc = (SecureConnection)
    Connector.open("ssl://"smtpServerAddress":465"); //smtp with SSL port 465
    sc.setSocketOption(SocketConnection.LINGER, 5);
    is = sc.openInputStream();
    os = sc.openOutputStream();
    os.write(("HELO there" "\r\n").getBytes());
    os.write(("EHLO" "\r\n").getBytes());
    os.write(("auth login" "\r\n").getBytes());
    os.write(("dHVnYXNha2hpci50cmlhZGl0eWFAZ21haWwuY29t" "\r\n").getBytes());
    os.write(("dGEuZW1haWxjbGllbnQ=" "\r\n").getBytes());
    os.write(("MAIL FROM:<">\r\n").getBytes());
    os.write(("RCPT TO:<">\r\n").getBytes());
    os.write("DATA\r\n".getBytes());
    // stamp the msg with date
    os.write(("Date: " new Date() "\r\n").getBytes());
    os.write(("From: "+from"\r\n").getBytes());
    os.write(("To: "to"\r\n").getBytes());
    os.write(("Subject: "subject"\r\n").getBytes());
    os.write((msg+"\r\n").getBytes()); // message body
    os.write(".\r\n".getBytes());
    os.write("QUIT\r\n".getBytes());
    StringBuffer sb = new StringBuffer();
    int ch = 0;
    while((ch = is.read()) != -1) {
    sb.append((char) ch);
    si.setText("SMTP server response - " + sb.toString());
    } catch(IOException e) {
    e.printStackTrace();
    Alert a = new Alert
    ("TimeClient", "Cannot connect to SMTP server. Ping the server to make sure it is running...", null, AlertType.ERROR);
    a.setTimeout(Alert.FOREVER);
    display.setCurrent(a);
    } finally {
    try {
    if(is != null) {
    is.close();
    if(os != null) {
    os.close();
    if(sc != null) {
    sc.close();
    } catch(IOException e) {
    e.printStackTrace();
    public void commandAction(Command c, Displayable s) {
    if (c == Alert.DISMISS_COMMAND) {
    parent.notifyDestroyed();
    parent.destroyApp(true);
    } When I try to debug project from netbeans, i found this error :
    Starting emulator in debug server mode on port 2668
    Connecting to 127.0.0.1 on port 2800
    nbdebug:
    Waiting for debugger on port 2668
    Waiting for KVM...
    Running with storage root temp.SonyEricsson_JP8_128x160_Emu10
    KdpDebugTask connecting to debugger 1 ..
    Running with locale: Indonesian_Indonesia.1252
    Connected to KVM
    Connection received.
    Attached JPDA debugger to localhost:2668
    java.io.IOException: error 10054 during TCP read +
    at com.sun.midp.io.j2me.socket.Protocol.nonBufferedRead(Protocol.java:299)+
    at com.sun.midp.io.BufferedConnectionAdapter.readBytes(BufferedConnectionAdapter.java:99)+
    at com.sun.midp.io.BaseInputStream.read(ConnectionBaseAdapter.java:582)+
    at com.sun.midp.ssl.Record.rdRec(+41)+
    at com.sun.midp.ssl.Record.rdRec(+5)+
    at com.sun.midp.ssl.In.refill(+18)+
    at com.sun.midp.ssl.In.read(+29)+
    at EmailClient.run(EmailClient.java:74)+
    Execution completed.
    5145824 bytecodes executed
    9258 thread switches
    1762 classes in the system (including system classes)
    0 dynamic objects allocated (0 bytes)
    0 garbage collections (0 bytes collected)
    debug:
    BUILD SUCCESSFUL (total time: 4 minutes 34 seconds)
    Regard
    Littlebro

    Don't multipost and don't use the browser's back button to edit your posts as that creates multiple postings. I've removed the other thread you started with the same questio.
    Also, don't post to long dead threads. I've blocked your post and locked the thread you resurrected.
    db

  • I am writing to this forum to ask for help in determining whether Aperture will satisfy my needs when I switch from Windows to MAC in the near future.

     I am writing to this forum to ask for help in determining whether Aperture will satisfy my needs when I switch from Windows to MAC in the near future.  
    I am currently using Photoshop Elements 8 on Windows 7.  After several years of use, I am self taught and adequately proficient for an amateur.  What I didn't realize (until I started researching my upcoming migration on the Internet) is that I actually use PE8 for two functions: digital asset management and digital editing. 
    Regarding Digital Asset Management: My research leads me to understand that PE on MAC does not provide the same level of organizational capability that I am used to having on Windows, instead providing Adobe's Bridge which does not look very robust.  Furthermore, iPhoto, which come on MAC will not support the hierarchical keyword tagging that I require to organize my library of photos. The two SW applications which I am thinking of switching to are either Aperture or Adobe's Lightroom.  Frankly, I'm thinking that it would be smoother to stay within the Apple product line. 
    So the remaining question is whether Aperture will support my digital editing needs. The tweaks that I do to my photos are not very complex (no, I do not want to put people's heads on other animal bodies).  But could someone who uses Aperture tell me whether It will allow me to do the following kinds of edits?:
    - If I have a photo where someone's face is too shadowed, can I lighten just that person's face, and leave the rest of the photo as-is?  
    - if I have a photo where the background is cluttered (eg, 2 people in front of the Parthenon which is undergoing renovation), can I remove just the construction cranes?  
    - Can it splice together several separate photos to give a panoramic?  
    If, once I get Aperture, I find that it cannot enable the kinds of editing that I do, I would probably get PE11 in the future. However, if people in this forum tell me that Aperture will definitely not  support the kinds of editing which I've described in the previous paragraph, I would prefer to get PE11 with my initial configuration (since someone will be helping me with my migration).  
    Thanks in advance for your consideration and help! 

    I am concerned, however,  about using a non-Apple Digital Asset Manager in OSX. I would really like to avoid integration problems. Is using PE11 to import and catalog my digital photos likely to cause conflicts?
    Thanks for any insight on this
    Amy,
    Not so much conflicts as maybe a little less seamless integration with Apple software and perhaps some third-party software providers in the Mac App Store where some programs build in direct access to iPhoto and Aperture libraries for getting images into those programs easily. Typically, there is a manual command to go to Finder (think Windows Explorer) to browse folders.
    One caution to mention however, is that the organization you set-up in PE Organizer is unlikely to transfer over to either iPhoto or Aperture if you decide to change at some point.
    The only real stumbling block that I see in your opening comment is that you want hierarchical keywording (Kirby or Léonie can go into the details on keywording limitations as I stay at one level). If you can work with the keywording schemes of either iPhoto or Aperture, then using PE for your external editor (either program supports setting an external editor) would probably be ideal since you know PE well. This is the idea with the Mac App Store version of PE (editor with no organizer).
    Note - I use Photoshop CS6 (full version) with Aperture and it works really well. The only downside is that Aperture has to make either a TIFF or PSD file to send to an external editor so that the original file is protected by not sending it to the pixel editor. While TIFF or PSD files protect the integrity of the image information without degrading it, they are typically much larger file sizes on disk than either RAW or JPEG files. Therefore, your library size (iPhoto or Aperture) will balloon quite a bit if you send a lot of files to external editors.
    One other possibility for an external editor would be a program called Pixelmator. It is pretty similar to early versions of Photoshop, but built for Mac. Other than the panoramics you want, it will do most pixel editing that PE can do. It is not an organizer, so it is built to go with either iPhoto or Aperture. It does have differences in how you complete certain procedures, so there is bit of a learning curve when you are used to doing it the Adobe way.

  • I forgot my Apple ID security question answers and cannot contact iTunes support by phone. The only way I can ask for help is via email. How can I make that happen?             Thanks

    Hi! So I haven't used iTunes in a few months but I just got an iTunes gift card and want to make a purchase. iTunes redeemed it just fine but now that I want to make a purchase I am having problems. I can't remember my security question answers and iTunes is requesting them. I have two other verified emails but the are NOT rescue emails. I can't contact iTunes over the phone because my phone lines are out and are going to be out for a long time. The only way I can contact them is by email. How can I do this? Is there an easy way to just reset all my security questions? Please help a girl out. I just want my music!
    Thanks so much

    Alternatives to Reset Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Start here to find your country, and how you can contact Apple:
             Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Support in your country and ask to speak to Account Security.
              Customer Service: Contacting Apple for support.
    How to Manage your Apple ID: Manage My Apple ID

  • When syncing my iPhone with iTunes, I get the error, "some items did not sync, see itunes for help", but can't find any helps for this in iTunes. Where can I find out what is not syncing?

    When syncing my iPhone with my iPhone, I get a message that 2 items did not sync - use iTunes for help.
    But I can't find any help information in iTunes at all, let alone when items are not syncing.
    How do I figure out what is not syncing?

    Since it seems App related, I'm not sure what to offer you.  I guess the only suggestion I have is for you to reboot your iPad and then try again.  To reboot, hold the power and home buttons at the same time for at least 10 seconds (keep holding past the swipe to shut down bar if it appears) until the Apple Logo appears, then let go of both buttons and your iPad will restart.  You won't lose any settings or data, so it's worth a shot.

Maybe you are looking for

  • Using API  to run Catalog Bulk Load - Items & Price Lists concurrent prog

    Hi everyone. I want to be able to run the concurrent program "Catalog Bulk Load - Items & Price Lists" for iProcurement. I have been able to run concurrent programs in the past using the fnd_request.submit_request API. But I seem to be having problem

  • Special Ledger Reports

    Hi All We are running special ledger reports for balancesheet at profit centers. What we found that during carry forward we had to undergo that activity twice. And somehow special ledger reports in GR55 showing merely double balance. Any body faced t

  • Logical bitwise operator

    Hi ALL Logical bitwise comparison operator 'O' is used between two operands say A and B as "A O B". A is of type INT1 and B is of type X. The above mentioned line was working fine till enabling unicode check. But now it says A should be of type X or

  • Office 365 AD FS without Dirsync

    With have an on-premise AD and an Office 365 subscription. We are gonna use the o365 only for giving students in our campus free access to Office 365 Pro Plus. For now I have been testing DirSync with password sync with success. I have now a question

  • Aperture Projects

    I'm pretty new to Aperture and probably started importing files prematurely. I have many Projects that I'd like to thin out, but can't delete a version from the Project without deleting it from an album as well. Is there a way to safely remove photos