1. Java Swing: How to access variables in a 2nd frame from the first frame? stackoverflow.comI'm programming a desktop application in JAVA usin NetBeans. My question is this: 1st: I have a Jframe that is the principal frame of the application. 2nd: In some moment I want to ... |
2. Exchange variable between two jFrames stackoverflow.comI have 3 java files. DBConn - This Class conencts to the database and execute query. UserLogin - This jFrame will take username and password and compare with "users" table ... |
3. Assigning a JFrame to another JFrame stackoverflow.comI am trying to make the current JFrame become a JFrame that is stored in memory. At the moment I am correctly reading the JFrame from memory and I can get ... |
4. unlock variable change in Swing GUI Forms forums.netbeans.orgPlease tell how disable Netbeans control of variables, example // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JButton jButton1; static javax.swing.JList jList1; private javax.swing.JPanel jPanel1; ... private javax.swing.JTabbedPane jTabbedPane1; // End ... |
5. (jframe) get a variable out of array list java-forums.orgcode of main class: Java Code: //name //Shooter Game //Main Class import javax.swing.*; import java.awt.*; import java.util.*; import java.awt.event.*; public class Shooter extends JFrame implements KeyListener{ Image img; Graphics dbi; boolean u,d,w, s,l,r; int S,E; int lengte; Player p1= new Player(5,150,46,18,Color.GREEN,"LEFT.gif"); Player p2= new Player(300,30,46,18,Color.RED,"RIGHT.gif"); ArrayList |
6. JFrames + Returning a Variable... Beginner's Logical Error forums.oracle.comHi masijade Thanks for your help, I appreciate it. I've never been exposed to WindowListener before, so pardon my stupid questions... What about my ActionListener stuff? When the OK button is pressed, the ActionListener is used, I use getText()... I don't ever close the window unless the user manually does so with the buttons in the corner of the window. Could ... |
7. How to know the nos. and variable name from Jframe ? forums.oracle.comHello Everyone, I have just started java programming. I have one form (using jframe) and there are nos. of components like text field, radio buttons, list box, buttons etc.). I want to know nos. and type of components (text field, radio buttons, button etc..) and variable name of these components ? Is there any way class / method or technique for ... |