No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
import javax.swing.*; public class Pool { public static void main(String args[]) { int input1; int input2; int input3; int Volume; input1=JOptionPane.showInputDialog(null,"Enter the length of the swimming pool:"); input2=JOptionPane.showInputDialog(null,"Enter the width of the pool:"); input3=JOptionPane.showInputDialog(null,"Enter the average depth of the pool:"); Volume=input1*input2*input3; System.out.println("The volume for the pool is: "+ Volume); } … | |
Me again. Another stump. This time I have to recieve two inputs from the user and perform a few math operations using both those two inputs. Meaning I have [B]String a, b;[/B] for my two user inputs. Is it possible to get all 4 of my math operations, addition, aubtraction, … | |
This is my code: import javax.swing.*; public class Two { public static void main(String args[]) { JOptionPane.showMessageDialog(null, "Computers, computers everywhere\n As far as I can see\n I really , really like these things,\n Oh joy, oh joy form me!" JOptionPane.WARNING_MESSAGE); } } I am trying to make the text appear … | |
I have downloaded the J2SESDK and installed it. It is the bundle pack that comes with NetBeans. However when I run the installation only the directories for the 2 are created and there is nothing in there. I haven't a clue if thats supposed to happen but I'm guessing no. … | |
I have 3 text boxes and one command button on this form. Users are supposed to input something into text1 and text2 and click the command button for text3 to show the results. However I would like the programme to consider the values of text1 and text2 and based the … | |
I know pictures can be added to picture boxes and backgrounds by using the "Properties" and adding something to "Picture". But I want to know how I can actually get the program to display an animation or picture say, after inputting something into an inputbox, or say after a particular … | |
How do I get my text boxes to automatically highlight the default text so users can start typing without having to delete or highlight it themselves? | |
I am new to pragramming and also Python. I was reading the intro and basics for beginners in the sticky of this forum and tired it out. It was cool and all but after saving the files, I click F5 to run it and i get the error message : … |
The End.