No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have an assignment in which I have to read in a series of words using the nextLine method from the Scanner class and then count the number of words using the StringTokenizer class. I know you all like for people to show some initiative by starting the program but … |
|
I have a JFrame with 2 Password Fields and 3 buttons, the following code was provided to me as a part of the actual GUI builder, but it places the focus on the second field rather than the first one. [CODE] frame.addWindowListener(new WindowAdapter() { public void windowActivated(WindowEvent e) { newContentPane.resetFocus(); … |
|
I have a two input text field window in which users input an ID and Password. I then need to compare these passwords to allowable users. What would be the best method for associating each unique password with its specific user id? |
|
Hi, I am a student who has been given the following assignment. Before I am reprimanded for posting asking for assistance without providing an attempt at code, please allow me to explain. We have been given the assignment shown below with no explanation. We have not covered any of the … |
|
Re:
Write a program to calculate a students GPA. What I cant figure is how to calculate ( Total= credit * grade + credit * grade...etc) or (GPA = Total/grade +grade etc...) If you run this program, you will see my calculation off by a lot. Please help. [CODE] import java.util.Scanner; … |
|
I am kind of new to JAVA and I am trying to hide a user's input (such as when the user types a password). I am not using any type of GUI just running my small programs directly in the UNIX Terminal. Is this possible to do simply, unfortunately I … |