I need to create a swing application, and draw a rectangle and paint it with RGB values.

Color c = new Color(10, 198, 19, 23);

How should i do this ? any tutorial or example i could start with ?

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.