swing

Painting a custom JButton and a text line

Hi everyone! I'm designing an optimization system for public transport in a big city. So I have a map with some points on it, but don't care about it) All I need is: my own JButton, which looks like a color-filled circle and a small text tag near it. I got some problems while overriding the paintComponent() method.. the round button is p...