I couldwrite a customize JButton in java
What I mean by a customize JButton is that I overridden some of it's methods, such as paintBorder, paintComponent.
I could write a round,triangle or any other shaped JButton.
I wonder how to write a different shaped JFrame, such as round or triangle JFrame.
THanks for helping me
maximilian2006
0
Newbie Poster
Recommended Answers
Jump to PostI don't like to speculate on what I "would" do (since I've never tried anything like this, so the advice could be totally off - try at own risk of wasting your time :) ), but I would try to make a custom class that extends JButton and modify the …
All 2 Replies
BestJewSinceJC
700
Posting Maven
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured 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.