Hi,
I've used g.drawRect(----) and some other stuffs and happily accepted o/p but really want to enhance myself in knowing how to code it if I want to draw the same figure in reverse direction.

give some more detail about your problem statement?

Check the src.zip in your JDK installation, maybe you will find what you need

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.