hi, our final exam will be on next week, i want our program to be different may i ask how to put colors on texts of JOptionPane on the background and how to change font size and style and how to put sound effects..
please make it easy to understand i am a beginner thank you!
wallet123
15
Junior Poster
Recommended Answers
Jump to PostHere's a link for the text color
text color
Jump to PostI think the setOptions method of the JOptionPane might help you out there. just check the api's. another way is to create separate JFrames, that way you can code the entire layout, which …
Jump to Postgui is not really related to sounds. I think that if you want to get that done, you'll have to create a JFrame with either a label and/or an input field, some buttons, ... and you can always play a .wav file when pressing a button, or when opening or …
All 9 Replies
zeroliken
79
Nearly a Posting Virtuoso
stultuske
1,116
Posting Maven
Featured Poster
wallet123
15
Junior Poster
stultuske
1,116
Posting Maven
Featured Poster
wallet123
15
Junior Poster
stultuske
1,116
Posting Maven
Featured Poster
wallet123
15
Junior Poster
stultuske
1,116
Posting Maven
Featured Poster
wallet123
15
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.