Help needed to structure this GUI

E

Etantonio

Good morning,
I have to create a GUI where I can draw an arbitrary number of circles
not overlapped,
for each of them I must have possibility to change the colour, I want
to have a project as much modular as possible, how I can implement it
considering that all circles must hear for swing timers events.

My idea was to have a JScrollPane and inside of it for each circle
needed create a JPanel with a separate paint() method .

It is a good idea or there are better ways to do this ???

Many Thanks

Antonio
www.etantonio.it/en/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,269
Messages
2,571,100
Members
48,773
Latest member
Kaybee

Latest Threads

Top