Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How can I have the user select or uplaod an image to use in a Java App?

Posted on 2012-09-17
1
Medium Priority
?
237 Views
Last Modified: 2012-09-27
How can I have the user select or uplaod an image to use in a Java App?

I'm writing a desktop app in Java and trying to find a way to have the user select a background image of their choice.

Do they upload an image or is it simply pointing to it in their file system locally?

How can I achieve this?
0
Comment
Question by:mmedi005
1 Comment
 
LVL 17

Accepted Solution

by:
krakatoa earned 1500 total points
ID: 38407600
Use a JFileChooser.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question