Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~4K People Reached
Favorite Forums
Favorite Tags
java x 25
Member Avatar for BrianK123

I have a series of of JOptionPanes pop up to get info from the user. However, if the user presses cancel, the machine gets an error (which is prevented). I'm trying to catch this and force the user to make a choice and press OK. MY code doesn't seem do …

Member Avatar for stultuske
0
2K
Member Avatar for Superstar288

hello everyone, im trying to make a theatre program and im at a dead end so im hoping for some help please. if someone can help see my problem clearer or post some sample code it will be much apperciated. the problem is i need to create a Seat class …

Member Avatar for Ezzaral
0
146
Member Avatar for BrianK123

This is probably just a stupid mistake but I can't figure it out. I have this code: [CODE]TextField passGet=new TextField(10); passGet.setEchoChar('*');[/CODE] and when I try to compile, I get and <identifier> expected error. Anyone know why?

Member Avatar for BrianK123
0
945
Member Avatar for BrianK123

I was writing an applet before and was displaying information in a JOptionPane. Useing \n, I was able to make the information display multilined like this: [CODE]Name1 Grade1 Name2 Grade2 etc.[/CODE] I unfortunately had to change my code from an applet to a JFrame and subsiquently my Labels to JLabels. …

Member Avatar for BrianK123
0
188
Member Avatar for guatemalagirl

the purpose of my program is to ask the user for their numerical grades (depending on how many total grades they have) and then they are given their letter grade. but i cant get the for loop to loop the question according to their number of total grades [code=JAVA] import …

Member Avatar for verruckt24
0
198
Member Avatar for BrianK123

does anyone know why this does not work? [CODE]public class AddStudentListener implements ActionListener { public void actionPerformed (ActionEvent event) { //Changes title Title.setText("Add Student"); //Obtians student information from the user Object[] possibilities = {"IB Computer Science", "AP Computer Science", "Algebra II"}; StudentClass = (String)JOptionPane.showInputDialog(All, "What class is \nthe new student …

Member Avatar for sillyboy
0
106
Member Avatar for EJD

The following code is producing this problem (typed with exact characters printed in command prompt, aside from quotations): "Please input D for a daytime movie or E for an evening movie: This is not a valid choice." The program will not allow me to input anything following the prompt for …

Member Avatar for EJD
0
107
Member Avatar for BrianK123

What I am trying to do is read from a file to an ArrayList and then display it using a JOptionPane. The only problem is the code i am having trouble with is in an ActionListener and I believe somehow I have created an infinite while loop because when I …

Member Avatar for verruckt24
0
167