Location « JPanel « Java Swing Q&A





1. Set Location of JPanel in another JPanel    forums.oracle.com

2. JPanel location    forums.oracle.com

hi, I"m working on the program that's similar to paint, and I would like to place my contentPane to be at the specific location (for the drawing area). Is there anyway, rather than BoxLayout, FlowLayout, or GridLayout to set the location of the JPanel? like, I would like to place it in x- and y-coordinates of (50,120) and the size of ...