How can we put .ICO file on JButton instead of JPG or GIF etc. files

How can we put .ICO(Icon file) file on JButton instead of JPG or GIF etc. files
Regards
Satinderjit

Short answer:
You don't. ICO files are a native windows format.
Workarounds:
1) Convert your files to GIF.
2) Search for a library that can load ICO files.
3) Write a library that can load ICO files.

Similar Messages

  • How can I put download file back on dock?

    How can I put download file back on dock?

    Welcome to Apple Support Communities
    If you want to put a folder in the Dock, open a Finder window and drag the folder to the right part of the Dock. In this case, you want to put the Downloads folder in the Dock again, so open a Finder window and drag Downloads from the Finder sidebar to the right part of the Dock

  • How can i put back files that were accidentally put into trash

    How can i put back files that were accidentally put into trash.  I'm using Mountain Lion on my Mac Book Pro

    command Z if it was the last thing you did.
    Control (right) click on any item in the trash folder>> Put Back

  • How can i put some file (xml) in root apk?

    how can i put some file (xml) in root apk?
    I put fileA in flash builder mobile project.
    build apk.
    fileA  →  "main.apk/assets/fileA" . 
    expect → "main.apk/fileA" .
    PS: view apk by Winrar.
    I have a Demo Android java project.
    It uses armeabi/libcasdkjni.so .
    build apk

    +assets
    +lib
    +META-INF
    +res
    -AndroidManifest.xml
    -classes.dex
    -CopyrightDeclaration.xml
    -mmiap.xml                                                       ←   fileA
    -resources.arsc
    -VERSION
    i build an ANE include armeabi/libcasdkjni.so.
    apk is missing mmiap.xml

    all files will be embed in "assests"(floder in apk ,which includes swf file) in that way.
    build apk

    +assets                                ←         "assets"
    +lib
    +META-INF
    +res
    -AndroidManifest.xml
    -classes.dex
    -CopyrightDeclaration.xml
    -mmiap.xml                                                       ←   fileA
    -resources.arsc
    -VERSION

  • How can i put Jar Files in Java Runtime.?

    HI,
    how can i put jar files in JRE so that they are accessible every where.? is there some way.?
    Regards,
    AA

    Closest you could get to this I think is to explode all your jars into the same parent directory. Then if you put that directory on the classpath, you should be able to access all classes in all jar files

  • How can i put my files that are in my ipad to my computer

    how can i put my files that are in my ipad to my computer, because i deled all them from my computer, but they are in my ipad.what am i supposed to do?

    What kind of files are they and what apps are you using on the iPad with these files?

  • How can i put txt files in my i phone 4

    how can i put txt files in my i phone 4

    There are many apps for this.
    I use idisk with mobileme.
    You can search the apps store or do a forum search and find several others.

  • How can I put a file in a directory server extracted by a abap report?

    Hi!
    I need to extract data from r/3 server by a report and put the output into one file in a directory of the server.
    In Abap code someone know how can I do that?
    Thanks!

    Hi,
    I post this in the Abap forum but the response are very poor to make this. So, I think to post the message in XI forum because I work with thing of XI and I know that someone know how to put the file in the same server that I take out the data.
    Tuhin give me a excellent link to make that!
    Thanks!

  • How can I put these files from my dropbox into MS Word?

    After using migration assistant, I had 2 user accounts set up by accident. I finally figured out how to move/share files from the cloned user account to my new account. Anyway, I moved all my music and pictures into itunes and iphoto, but now, how & where do I drag and drop my pdf, excel, & word files into Microsoft Office? I am a new apple user, converting from a PC. Here is a picture of the Drop Box. Thank you

    Similar to a PC, you can open Word, Excel, etc., and use the File/Open command to navigate to any folder, including that drop box, to open files. Also similar to a PC, you can store Microsoft Office files in any folder inside your Documents folder, so you can simply drag your Office files out of the drop box and into whatever project folders you have created within your Documents folder, and then open them in Office from there.
    You can also open any of these documents in Word or Excel by dragging them to the appropriate application icon if they are visible, or if you have added Word, Excel, etc. application icons to the Dock you can drag the documents there too. That last part is much like on a PC where you drag a document from any folder to an application icon in the Windows Taskbar.
    As you can see there is actually very little difference in how this works between a PC and a Mac.

  • How can i put a file into blob(using sun.jdbc.odbc.JdbcOdbcDriver)

    Hi
    i tried to put a file into blob , but got a problem.....
    My environment:windows 2000pro,JBuilder 5.0 enterprise,oracle 8.1.6,(not install oracle jdbc driver )
    a part of program(my program is very uglily,if anyone want,later i paste it ba....~_~)
    //Statement stmt2=null;
    //Resultset rs2;
    //opa1 is the blob data
    void saveBlobTableToDisk(Connection con) {
    try {
    stmt2=con.createStatement();
    sqlStr2="SELECT * FROM emp3 where id=1004";
    rs2=stmt2.executeQuery(sqlStr2);
    while (rs2.next()) {
    Blob aBlob=rs2.getBlob("opa1");
    i got the exception :
    " null
    java.lang.UnsupportedOperationException
         at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4174)
         at test3.Frame1.saveBlobTableToDisk(Frame1.java:48)
         at test3.Frame1.<init>(Frame1.java:26)
         at test3.Application1.<init>(Application1.java:5)
         at test3.Application1.main(Application1.java:8) "
    and the windows pop up a messagebox said that(about) my memory "0x09af007f" could not read, error in javaw.exe .
    Later i used (ResultSet)getBinaryStream() to solve it. but getBinaryStream() only return a InputStream,so that i can make blob to a file,but i can't make a file to blob using jdbc.....
    I am very stupid that installing sun java, oracle jdbc driver etc....(because i must set a lot of thing such as classpath,java_home etc), Can i only use JBuilder to do that ?
    Or i must install oracle jdbc driver ?
    Thanks.

    My guess here is that Sun's JDBC-ODBC bridge doesn't handle the BLOB datatype. Most ODBC drivers don't support that datatype, so I wouldn't expect the bridge to.
    Is there a reason that you can't use the Oracle driver?
    Justin

  • How can i put a file into blob using jdbc !?

    Hi
    i tried to put a file into blob , but got a problem.....
    My environment:windows 2000pro,JBuilder 5.0 enterprise,oracle 8.1.6,(not install oracle jdbc driver )
    a part of program(my program is very uglily,if anyone want,later i paste it ba....~_~)
    //Statement stmt2=null;
    //Resultset rs2;
    //opa1 is the blob data
    void saveBlobTableToDisk(Connection con) {
    try {
    stmt2=con.createStatement();
    sqlStr2="SELECT * FROM emp3 where id=1004";
    rs2=stmt2.executeQuery(sqlStr2);
    while (rs2.next()) {
    Blob aBlob=rs2.getBlob("opa1");
    i got the exception :
    " null
    java.lang.UnsupportedOperationException
         at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4174)
         at test3.Frame1.saveBlobTableToDisk(Frame1.java:48)
         at test3.Frame1.<init>(Frame1.java:26)
         at test3.Application1.<init>(Application1.java:5)
         at test3.Application1.main(Application1.java:8) "
    and the windows pop up a messagebox said that(about) my memory "0x09af007f" could not read, error in javaw.exe .
    Later i used (ResultSet)getBinaryStream() to solve it. but getBinaryStream() only return a InputStream,so that i can make blob to a file,but i can't make a file to blob using jdbc.....
    I am very stupid that installing sun java, oracle jdbc driver etc....(because i must set a lot of thing such as classpath,java_home etc), Can i only use JBuilder to do that ?
    Or i must install oracle jdbc driver ?
    Thanks.
    D.T.

    My guess here is that Sun's JDBC-ODBC bridge doesn't handle the BLOB datatype. Most ODBC drivers don't support that datatype, so I wouldn't expect the bridge to.
    Is there a reason that you can't use the Oracle driver?
    Justin

  • How can we put excel file in a sahred folder of target system

    Hi All,
    I have the requirement as fallows
    1) I will get the data from report to an excel file. This Excel file has to send mail to the specified users in the distribution list.
    2) The same excel file I need to put it in share folder like suppose say
    BSDGuest\Guest( this folder will be in another system not application server).
        Here the exact requirement is, When ever I want to put the excel in the shared folder, need to validate the user authorizations (ID, Pwd & folder).
    I am able send a mail but I have no idea how to go for the second requirement. As per my knowledge it can be done through FTP_COMMAND function module along with some other function modules.
    I would appreciate if any one helps me in the regard.
    Thanks in advance.
    With Best Regards
    Venkat

    Hi Venkat,
    See this coding.
        CONCATENATE 'put UEMPORDE0' '
    ' sy-host '\Order\salesord_t_e'
                   INTO gv_name3.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = lv_hdl
          command       = gv_name3
          compress      = lv_compress
        TABLES
          data          = lt_result
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.
    Rajesh

  • How/Can i put a file from my library into my podcast section of itunes

    im listening to a podcast that isnt on itunes. I put the feed in the first night i listened to it and downloaded the 4 most recent episodes. i went back a few days later and downloaded 8 older shows but i got them straight from their website, not through itunes because they arent listed on the podcast directory. how do i take those 8 files and add them to the podcast section with the other 8 episodes?

    Re-Add Selected Tracks as Podcast
    http://www.dougscripts.com/itunes/scripts/scripts07.php?page=1#readdaspodcast
    Regards,
    Colin R.

  • How can I put C files gave me from Matlab Simulink Real Time Workshop in a CIN?

    I'm doing a turbine simulation, and I've already done it in Matlab Simulink Real Time Workshop. It gave me files .c, and I want to use them to run the same simulation on a PCI 7030/6040 using LabView RT 5.1. I'm using the CINs. My problem is that I'm able to have .lsb files, but them don't work....I mean I have as output the same result 0(zero). What can I do for solving my problem?
    Thanks in advance!!

    Somehow, this question was posted twice on the same day. See the other posting of this same question for the answer.
    Chad H.
    Applications Engineering
    National Instruments
    http://www.ni.com/ask

  • When saving pictures firefox automatically tries to save them as 'preview' files, instead of .jpg, .png, .gif etc

    This issue is not repeated in other browsers, and was not an issue on my old Toshiba laptop which I switched from a couple weeks ago. This problem has been here since I started using a Mac computer (It's a new mac, up to date with the software etc)

    Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions

Maybe you are looking for

  • Disable "Estimated network bandwidth on one of the connections" check

    I have several Windows clients that hang at applying computer settings when starting up. All computers that show this behavior have 2 network adapters. One is the physical adapter another is a virtual adapter created by 3rd party software. Virtual Ne

  • Restore new ipod with old ipod data

    I think my ipod is probably toast (unless some genius responds to my last post and solves my problem). If I have to get a new ipod, does anyone know if I can restore the data from my dead one to the new one?

  • Using too much power

    Help, my dearly beloved 60 gig classic a couple of weeks ago stopped charging with the usb cable. I have a I-fusion speaker system that I bought along with the Ipod a few years ago and it is able to charge the Ipod. Here is the problem, Today when I

  • CFolders & DMS

    Hi experts, I want to have CFolder ( for partners outside the organization) and Document Management System ( within the intranet) and both of which integrated to back end SAP R/3. Can any one tell me (1) What are the components to be installed ? (C-f

  • Which Pur. Orgn. to go for???

    Hi,   We have basically two pur. orgns in India say "I" for imports & "D" for domestic. And we are planning to open a new plant abroad say country "XYZ" & we have warehouses in the same country to keep stock of the materials. We are raising a PO from