Array « JFrame « Java Swing Q&A





1. Help, JFrame Array with RadionButton    java-forums.org

If I want to write the code of Array with RadionButton, how to write it. for example, there are some selections, S1, S2, S3, S4, and each selections with the different price, $10, $11, $13, $17. Those selections should put a RadioButton group, using an Arrray. when select one of them, the JLable should appear the selection and the price. someone ...

2. JFrame array    forums.oracle.com

I'd like to know if it's possible to get the position of a component stored in an array of JFrames. For example: JFrame jframe[] = new JFrame [5]; if i add a mouse listener to each of the components of the array, can i get the position in which the current jframe selected by the click of the mouse is stored? ...