User Profile
Collapse
-
Table works great. Thank you! -
You are both seeing exactly my problem. Now I need to display this entire list, not just one in the label. Do I use a different JComponent to display these in (JTable possibly)? and how do I set each string into the table(or whatever is best) up until the list is done?Leave a comment:
-
Display all class objects in gui labels
Hello all,
I'm having a problem with displaying my entire list of employees from a text file.
Opening and storing are working fine, but displaying to my gui it only shows the last employee on the list.
I'll insert my code here:
[CODE=java] private void actionPerformed tbDisplayEmploy ees(javax.swing .event.Ancestor Event evt) {
// Code to Display Employee pay info:Need... -
Thank you so much. I don't quite understand that if the first Student is in my array already why it doesn't stay as the same information when I call for the next Student. Although, I do sort of get that the Student class is only holding the one Student object that I set. Anyway, I did set a new student at every action of my Store Info button and now it works great, just like you said.
I appreciate the help. I know these basics must...Leave a comment:
-
Storing in an array from my own created class
Hi,
Here I am again with more questions. I am groveling for help.
I am working on a program in Netbeans 5.5.1 where I created a class called Student that gets and sets Last Name, First Name and Student ID. Now the program to run as a samle of this class will store the first Student I get and put it into slot [0] of my array and then I increment my NumStudents, as a count to moveon to the next array slot. The problem is that it only... -
Creating hidden JRadioButton
Hi,
I have a problem. I am creating an order form in Netbeans 5.5.1 with Java. I need to clear the entire screen when the order is submitted (including the radio buttons' entry. I am told I need to create a hidden rdo within the same buttongroup. How do I actually make this rdo hidden on the form? I'm new to Java, so this question may be elementary. Any help is appreciated.
Thank you. -
-
Still very confused.
I need to get from the txtGPA (name of my textbox), and store it as a float in my array.
I'm new to Java so any help is appreciated.Leave a comment:
-
Changing data type of textbox?
How do I convert text (String) from a textbox to a float. I have a user textbox that is entering a number. It is entering as a String. Need it to be a float.
No activity results to display
Show More
Leave a comment: