How to use GUI in c language?Which is best GUI for c?

Can you make button in photo shop and use them in your java GUI that exactly work like Jbutton ?

  • what about other like text field and basically make everything in photoshop and use it in java GUI ? thanks

  • Answer:

    Create a JButton and pass a new ImageIcon to it using the path to your image. Use an absolute path for testing because sometimes it's difficult to figure out where your default execution directory is. JButton button=new JButton(new ImageIcon("c:\\myimage.gif"));

CyBeRsIx at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

It's a lot easier to do Rollover buttons in Fireworks since it automatically generates the code for Dreamweaver to use, but you can do Rollovers with the newer versions of Photoshop. It just takes longer to do. Here's how to do it: http://help.adobe.com/en_US/photoshop/cs/using/WS18F9E180-3241-4891-ACC8-82C9DFB254F5a.html http://kb2.adobe.com/community/publishing/911/cpsid_91103.html

RAVEN

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.