1. Accessing data between JDialogs coderanch.comHi everybody ! I'm trying to implemente the following: - In a LoginDialog, I have a btOKActionPerformed wich performs a validator method (login/password). If isValid() --> RecebeDialog.setVisible(true). It's working fine. My concern is about displaying the login's name validated in a loginLabel located in RecebeDialog. If I made myself clear about this, I ask for your help because I've already tried ... |
2. switch data between jfram and jdialog java-forums.orghi all , i have a class InventoryGUI in that i'm implements Observer and from the update method i'm updating the jtable row with new values. in the InventoryGUI i'm calling a LIstener class which extends observable and it addobserver with the values that are getting from a socket program. if a client send a data to a pport that is ... |
3. returning data from child jdialog...problem forums.oracle.comHello I have a parent form which calls a jdialog. I need to return data from the jdialog. So i have this class which contains the varaibles i want to set. public class ProtocolRecordType { public int num; public String name; } I from my main i call this class and method. Now i seem to be able to set object ... |
4. Netbeans : How to get data back from a JDialog? forums.oracle.comDeclaring loginBox as type JDialog limits the variables and methods you can access to those found in JDialog. If you want to access the loggedin variable, you need to change loginBox to be a reference to your specific dialog class. I would argue against doing this. Create your own class, yes, have it produce a JPanel that can be placed into ... |