How to write an swing application that abide to the screen resolution.
Ex: to add an component in panel , say Label label1, I need the position of the label1 to be added in percentage .
I dont want JFrame -> JScrollPane -> JComponents. This is a very bad approach.Components doesnt resize at all.
Is there any way to add components with respect to percentage in java ?