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
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:
- How can I make Private Messages in Drupal 7 with user user pictures like in Facebook?Best solution by Drupal Answers
- How can I make a Spinner only by java?Best solution by stackoverflow.com
- How can I make a photo smaller to send to my friends?Best solution by ehow.com
- How can I make guys like me more?Best solution by Yahoo! Answers
- How can I make clay use to make things?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.