How to print a message in the Window created out of a Frame Object

Hello,
I created a class extended from Thread class
I want to print a message in Run method : in the Window created out of a Frame Object in the main function.
I used System.out.println function, but nothing is printed on the screen
what other function can I use, without using Drawstring method in ie public void paint(Graphics g)Thank you

Erm...I don't know whether this is acceptable or not, but...if you want to create out of the main frame, why dun u you create a new frame with a button there, so it seems like a pop-up windows (***or like JOptionPane.showMessageDialog)
P.F.Boy

Similar Messages

  • In Mountain Lion, how to print email message without the attachments.

    Would like to print only the transmittal part of the email without printing the attachments - tried reply or forward and printing, but still wants to print the attached pdfs.  I know someone out there knows how - help please?

    Not sure if this will work, but could try this: select the message then hit Cmd-Shift-S. My thinking is this will save it as a Text Edit document (save it to the Desktop), text only, without the attachment. Then, in Text Edit, select Format>Wrap to Page and print.
    EDIT: just checked this with an email with an attachment. Came up as text only, minus the attachment.
    Message was edited by: WZZZ

  • How to print a message in forms in oracle apps

    Hi all
    i am using oracle apps r12
    In when button trigger how to print a message when the button is pressed.
    I tried message('HELLO'); this works in oracle forms but in oracle apps its different and i searched so for and used like this
    fnd_message.set_name( 'FND', 'FND_GENERIC_MESSAGE' ) ; but it doesnt works
    Regards
    Srikkanth

    Hi
    Thanks for your kind response.
    Can you please give me the steps to call a form from another form in oracle apps i am using apps r12.
    I have created a custom form and attached in the special menu and in that form i have two button are there. When the use click the one button another form(custom form) need to called. Can you please provide me the steps.
    Whether it is different from oracle form builder like CALL_FORM('FORM_NAME', ACTIVATE) like this.
    Regards
    Srikkanth

  • How I can fix this error message in the Windows Server - kCGErrorFailure: No workspace dictionary?

    How I can fix this error message in the Windows Server - "kCGErrorFailure: No workspace dictionary"? This occurs after every startup or restart.

    You probably don't need the hard drive and optical drive specs, but here they are?
    ======================
    Intel ICH10 AHCI:
      Vendor:          Intel
      Product:          ICH10 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          1.5 Gigabit
      Description:          AHCI Version 1.20 Supported
    HL-DT-ST DVD-RW GH41N:
      Model:          HL-DT-ST DVD-RW GH41N                  
      Revision:          PQ06   
      Serial Number:          K3D9BH92251        
      Native Command Queuing:          No
      Detachable Drive:          No
      Power Off:          No
      Async Notification:          Yes
      Bay Name:          Upper
    HL-DT-ST DVD-RW GH41N:
      Model:          HL-DT-ST DVD-RW GH41N                  
      Revision:          PQ06   
      Serial Number:          K3D9BH92251        
      Native Command Queuing:          No
      Detachable Drive:          No
      Power Off:          No
      Async Notification:          Yes
      Bay Name:          Upper
    Intel ICH10 AHCI:
      Vendor:          Intel
      Product:          ICH10 AHCI
      Link Speed:          3 Gigabit
      Description:          AHCI Version 1.20 Supported
    Intel ICH10 AHCI:
      Vendor:          Intel
      Product:          ICH10 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          3 Gigabit
      Description:          AHCI Version 1.20 Supported
    Hitachi HDP725050GLA360:
      Capacity:          500.11 GB (500,107,862,016 bytes)
      Model:          Hitachi HDP725050GLA360                
      Revision:          GM4OA5CA
      Serial Number:                GEA534RJ06E63A
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk1
      Rotational Rate:          7200
      Medium Type:          Rotational
      Bay Name:          Bay 1
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk1s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk1s1
      Content:          EFI
    OSXLION:
      Capacity:          499.25 GB (499,248,103,424 bytes)
      Available:          192.76 GB (192,758,513,664 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk1s2
      Mount Point:          /
      Content:          Apple_HFS
    Recovery HD:
      Capacity:          650 MB (650,002,432 bytes)
      BSD Name:          disk1s3
      Content:          Apple_Boot
    Hitachi HDP725050GLA360:
      Capacity:          500.11 GB (500,107,862,016 bytes)
      Model:          Hitachi HDP725050GLA360                
      Revision:          GM4OA5CA
      Serial Number:                GEA534RJ06E63A
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk1
      Rotational Rate:          7200
      Medium Type:          Rotational
      Bay Name:          Bay 1
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk1s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk1s1
      Content:          EFI
    OSXLION:
      Capacity:          499.25 GB (499,248,103,424 bytes)
      Available:          192.76 GB (192,758,513,664 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk1s2
      Mount Point:          /
      Content:          Apple_HFS
    Recovery HD:
      Capacity:          650 MB (650,002,432 bytes)
      BSD Name:          disk1s3
      Content:          Apple_Boot
    Intel ICH10 AHCI:
      Vendor:          Intel
      Product:          ICH10 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          3 Gigabit
      Description:          AHCI Version 1.20 Supported
    WDC WD2002FYPS-02W3B0:
      Capacity:          2 TB (2,000,398,934,016 bytes)
      Model:          WDC WD2002FYPS-02W3B0                  
      Revision:          04.01G01
      Serial Number:               WD-WCAVY7048785
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk3
      Rotational Rate:          5400
      Medium Type:          Rotational
      Bay Name:          Bay 2
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk3s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk3s1
      Content:          EFI
    BU2TB-Time:
      Capacity:          2 TB (2,000,054,960,128 bytes)
      Available:          1.1 TB (1,096,926,654,464 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk3s2
      Mount Point:          /Volumes/BU2TB-Time
      Content:          Apple_HFS
    WDC WD2002FYPS-02W3B0:
      Capacity:          2 TB (2,000,398,934,016 bytes)
      Model:          WDC WD2002FYPS-02W3B0                  
      Revision:          04.01G01
      Serial Number:               WD-WCAVY7048785
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk3
      Rotational Rate:          5400
      Medium Type:          Rotational
      Bay Name:          Bay 2
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk3s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk3s1
      Content:          EFI
    BU2TB-Time:
      Capacity:          2 TB (2,000,054,960,128 bytes)
      Available:          1.1 TB (1,096,926,654,464 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk3s2
      Mount Point:          /Volumes/BU2TB-Time
      Content:          Apple_HFS
    Intel ICH10 AHCI:
      Vendor:          Intel
      Product:          ICH10 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          3 Gigabit
      Description:          AHCI Version 1.20 Supported
    WDC WD10EAVS-00D7B1:
      Capacity:          1 TB (1,000,204,886,016 bytes)
      Model:          WDC WD10EAVS-00D7B1                    
      Revision:          01.01A01
      Serial Number:               WD-WCAU43604330
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Bay Name:          Bay 3
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk0s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk0s1
      Content:          EFI
    Data:
      Capacity:          999.86 GB (999,860,912,128 bytes)
      Available:          715.55 GB (715,549,786,112 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /Volumes/Data
      Content:          Apple_HFS
    WDC WD10EAVS-00D7B1:
      Capacity:          1 TB (1,000,204,886,016 bytes)
      Model:          WDC WD10EAVS-00D7B1                    
      Revision:          01.01A01
      Serial Number:               WD-WCAU43604330
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Bay Name:          Bay 3
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk0s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk0s1
      Content:          EFI
    Data:
      Capacity:          999.86 GB (999,860,912,128 bytes)
      Available:          715.55 GB (715,549,786,112 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /Volumes/Data
      Content:          Apple_HFS
    Intel ICH10 AHCI:
      Vendor:          Intel
      Product:          ICH10 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          3 Gigabit
      Description:          AHCI Version 1.20 Supported
    WDC WD1003FBYX-01Y7B0:
      Capacity:          1 TB (1,000,204,886,016 bytes)
      Model:          WDC WD1003FBYX-01Y7B0                  
      Revision:          01.01V01
      Serial Number:               WD-WCAW31850957
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk2
      Rotational Rate:          7200
      Medium Type:          Rotational
      Bay Name:          Bay 4
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk2s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk2s1
      Content:          EFI
    BUOSXLION:
      Capacity:          999.86 GB (999,860,912,128 bytes)
      Available:          697.88 GB (697,881,690,112 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk2s2
      Mount Point:          /Volumes/BUOSXLION
      Content:          Apple_HFS
    WDC WD1003FBYX-01Y7B0:
      Capacity:          1 TB (1,000,204,886,016 bytes)
      Model:          WDC WD1003FBYX-01Y7B0                  
      Revision:          01.01V01
      Serial Number:               WD-WCAW31850957
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk2
      Rotational Rate:          7200
      Medium Type:          Rotational
      Bay Name:          Bay 4
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
    disk2s1:
      Capacity:          209.7 MB (209,715,200 bytes)
      BSD Name:          disk2s1
      Content:          EFI
    BUOSXLION:
      Capacity:          999.86 GB (999,860,912,128 bytes)
      Available:          697.88 GB (697,881,690,112 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk2s2
      Mount Point:          /Volumes/BUOSXLION
      Content:          Apple_HFS

  • How to print error messages in browser?

    When I visit a jsp file in browser, there's some errors in the jsp file, so the browser returns
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    I want the detail error messages, so I can debug my problem. How to print error message in browser or find the message in some log file?

    Hi Kanaraja,
    Thanks for your answer. I need to get certain information from the list. So, I use LIST_To_ASCII FM. However, may I know the ascii_tab should be type to what? And after this FM, do I have to use another FM to display the ascii list?
    data ABAPLIST type ABAPLIST OCCURS 0.
    SUBMIT  RPCALCU0 VIA SELECTION-SCREEN
    with PNPXABKR = 'US'
    with PNPTIMRA = 'X'
    with PNPPABRP = '10'
    with PNPPABRJ = '2003'
    with PNPPERNR-LOW = '100750'
    with PNPPERNR-LOW = '109202'
    with PNPPERNR-LOW = '100255'
    with PNPABKRS-LOW = 'US'
    with SCHEMA = 'ZUSP'
    with RADI_EDT ='X'
    with EDT_VARI = 'CUS&SAP_US'
    with TST_ON = 'X'
    EXPORTING LIST TO MEMORY and RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject       = ABAPLIST
    EXCEPTIONS
       NOT_FOUND        = 1
       OTHERS           = 2.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        list_index         = -1
      TABLES
        listasci           = asci_tab
        listobject         = ABAPLIST
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    IF sy-subrc NE '0'.
      WRITE:/ 'LIST_TO_ASCI error !! ', sy-subrc.
    ENDIF.

  • When I try to install icloud on my laptop running windows 7 home premieum I get message saying the windows installer package wont complete as a program run as part of setup did not finish as expected   the install then rolls back   I have tried  rein

    when I try to install icloud on my laptop running windows 7 home premieum I get message saying the windows installer package wont complete as a program run as part of setup did not finish as expected   the install then rolls back   I have tried  reinstall   deleting files signing on with another account etc  nothing works   I have read this is an apple programing problem  if so is there a fix  I need iclouds  thanks

    This other discussion may help: Re: how do I install icloud

  • How to print Integrity sql in the preparedstatement?

    How to print Integrity sql in the preparedstatement?
    Connection conn = null;
    String sql = "select * from person where name=?";
    PreparedStatement ps = conn.prepareStatement(sql);
    ps.setObject(1, "robin");
    ps.executeQuery();
    i'm wants print Integrity sql.
    For example:select * from person where name='robin'
    How should I do?
    thanks a lot!

    PreparedStatement doesn't offer methods for that. You can write your own implementation of PreparedStatement which wraps the originating PreparedStatement and saves the set* values and writes it to the toString().
    If needed, myself I just print the sql as well as the values-being-set to the debug statement.Logger.debug(query + " " + values);

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to add log messages in the sever/webui objects?

    Hi,
    I am new to the OA Framework.
    Can any one share any information in how to add log messages in the sever/webui objects?
    What are the beans I need to use to show in the diagnostic page?
    Can I get sample code for this log staments?
    Thanks in advance,
    Padma

    Hello. This forum is for reporting problems with the published Oracle documentation. You have a better change of getting a reply if you post your question on the Database - General forum.
    Regards,
    Diana

  • How to print/store in file the ref cursor in pl/sql block ?

    How to print/store in file the ref cursor in pl/sql block ?.

    How to print/store in file the ref cursor in pl/sql block ?.You question is quite confusing?
    So, i'm providing link in this manner.
    For RefCursor,
    http://www.oracle-base.com/articles/misc/UsingRefCursorsToReturnRecordsets.php
    http://www.oracle.com/technology/oramag/code/tips2003/042003.html
    For UTL_FILE,
    http://www.morganslibrary.org/reference/utl_file.html
    Regards.
    Satyaki De.
    Updated with new morgan library link.
    Edited by: Satyaki_De on Feb 24, 2010 9:03 PM

  • Can Reader pick up the Default Page Size of a printer that is not the Windows Default Printer?

    We have a web based application that generates PDF documents via Crystal Reports.
    We are using Adobe Reader 8
    The PDF pages are displayed within an Internet Explorer window where the the users then print the document.
    The application is designed so the user only gets one chance to print the document (ie they cant come back and change printer settings if they happen to print the document out incorrectly)
    The document needs to be printed on A3 paper, full duplex.
    We have a printer set-up decidated to the printing of the documents generated by this application.  The default page size of this printer is set of A3.
    If we set this dedicated printer as the Windows Default Printer we have no problems at all.  The default page size (A3) is picked up and the document is printed correctly.
    If any other printer is set as the Windows Default Printer (eg one that has a default page size of A4), the users must obviously select the correct printer from the Print Dialogue Box -however when the user selects the dedicated A3 printer, the page size remains as A4 (page size of the Windows Default Printer).  This means the user must remember to change the paper size to A3 each time.
    Out users find IT a struggle at the best of times - anything that makes the process simpler is very welcomed!
    Is there a way to ensure the default page size of the printer is respected when that printer is not the Windows Default Printer?
    Thanks!

    No.

  • How can I resize and reposition the Date Created window for All windows?

    When setting view options for a finder window set to list view, I cannot get column resizing or positioning to hold. When making those changes, the option for "All Windows" automatically shifts to "This window only" and it then does not hold.
    How can I resize and reposition the Date Created column for All WIndows?

    Hi Harmz,
    Try dragging this file to the Îesktop & reboot...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist

  • My iCloud has been 'upgrading' for the last 12 hrs. That is, after I had pressed 'install after downloading the latest, improved version without entering my password. How do I get back to the window that will allow me to enter my password?

    My iPad has been 'upgrading' for the last 12hrs.That is, after I had downloaded the new version of iCloud, and pressed 'Install' without entering my password. It is probably searching for it. How do I go back to the window that will allow me to enter my password. I have tried switching off the device, but each time the 'upgrading' comes on. I have also switched it off and left it on the charger for at least 6 hrs.

    My iPad has been 'upgrading' for the last 12hrs.That is, after I had downloaded the new version of iCloud, and pressed 'Install' without entering my password. It is probably searching for it. How do I go back to the window that will allow me to enter my password. I have tried switching off the device, but each time the 'upgrading' comes on. I have also switched it off and left it on the charger for at least 6 hrs.

  • How do I enable iTunes in the Windows Firewall

    How do I enable iTunes in the Windows Firewall?  I use ESET Security which manages my Firewall.

    Try this document instead:
    iTunes 10 for Windows: Enable iTunes in the Windows Firewall

Maybe you are looking for

  • New Monitor, Old Computer Compatibility

    I have a new(ish) Acer monitor. It's only 17.5" apparently, but its native resolution is something like 1600 x 900 and 32-bit colour, though I think it can handle lower resolution if need be. I have a Sawtooth with a Rage 128 Pro graphics card. Will

  • Creation of multiple Records in reciever  as per multiple segments in IDOC

    Hi Sap All. i have got a requirement in an IDOC to Webservice where the node in the reciever webservice should be repeated as many times as sender segment in the IDOC repeats. here the problem is the sender IDOC-Segment has got occurance as 0..999 bu

  • New phone, wants voicemail password

    New iphone 5s, keeps asking for voicemail password, have tried all passwords it doesnt seem to work,

  • Triggering Pop Up screen

    Hi PCUI Experts, In trial screen, at Item level when the user manually enters a product which is not existing in crm system... i have to trigger the pop screen for searching the products. This pop up is same as what user sees when he presses F4 butto

  • Self-Service reporting

    Hi everyone, We would lilke to invite everyone to attend our webinar on Self-service reporting. We will be covering self-service reporting, live and historic data reporting, capacity planning, dashboards and more. Join us on 15th of May 11 am (GMT) D