I'm trying to get the input that the user enters to go to lower-case and then put the first character in the input to upper-case. For example, If I enter aRseNAL for my first input, I want to format ...

Ok I made a number picking game where the user would type in the number in a JOptionPane.showInputDialog and press ok and then the game would proceed. I'm trying to do the same thing but I want the ...

The idea is that the user will enter in the information ![enter image description here][1]and then the program will compile it into MLA citation. However, when I test it it prints out strange info. ...

I am having trouble getting message boxes and to a degree dialog boxes to show/function properly in Mac (v10.9.5).
I just updated the JRE and JDK to the latest version (8u31). A "java -version" from ...

Okay so I'm still fairly new to this and have a quick question. I have an assignment to write a program that calculates monthly bill. It ask the the customers package type (A, B, or C) and the number ...

When i run the lineJOptionPane.showMessageDialog(null, "Test"); in eclipse I get the message dialog but there seems to be a problem with the graphics. I have re-installed the latest JDK and have had ...

Working with a Java App that kicks off a number of background processes.
If there is an issue the JOptionPane pops up with some general information.
The workstation has more than one monitor and the ...

I'm having an issue printing out the newly created account from. It is showing up blank,i tried printing the array but it printed all the accounts. Does anyone know a way to print out the account by ...

I was wondering whether someone would possibly be able to help me with a problem that I am having? So I am creating a game of checkers and I wish to add a menu bar to the top of my window, the code of ...

Im new to Java and all this. But I got this code and the thing I want to do is if I got a "Yes_No_Option" and then If the user presses "yes" it will restart the code from the start", and if the user ...

I'm trying to make somewhat of a calculator for a programming class that I am in that incorporates user input and then does math. I have chosen to use JOptionPane for the user input portion of this ...

I have a bug lurking where the focus is sporadically not ending up on the text field I want it on after popping up a JOptionPane containing the text field.
I eventually boiled it down to a reasonable ...

I am new to Java. And I need your help.
My code is working well until it shows JDialog. I have a button to show a message dialog (JOptionPane). The problem exist when the button is clicked. Message ...

Instead of System.out.println for everything, I want to use JOptionPane. I don't know how to describe how my program is skipping code. If you could please take a look at this and help it go in order ...

I have a custom JDialog that I made in order to solve some local problems (RTL etc')
until now, it only had an "ok" option,
I have to modify it now to also have a cancel button.
I did that.
the only ...

Hello all I am experiencing issues with my JOptionPane.showInputDialog input field.
The issue i am experiencing that is when the cancel button is selected or the OK button is selected with empty or ...

So, I have a program which searches through a file to find desired information that the user wants, and I am trying to output it in a nice table in JOptionPane to make it easier to read, but I keep ...

So i'm working on a project for school, in which I have created a database with the information for all the chemicals on the periodic table, and upon running the program, the user is prompted to pick ...

I use a JList in a JOptionPane to show lines in a dialog.
I simply want to change the background color and font of the lines (depending on the content of the line).
I can't achieve and did not find ...

I am finishing a school project (my first Java course) and I am told to use JOptionPane only.
I need to do something like this but using JOptionPane and no System.out.println:
int[] den = {1000, 500, ...