Home Answers Viewqa Java-Beginners What is wrong with this line

 
 


Joseph John Park
What is wrong with this line
1 Answer(s)      10 months ago
Posted in : Java Beginners

What is wrong with this line JOptionPane.showMessageDialog(null? for Using Lewandowski's Savings pgrm!");

from

if (input.equals("exit") || input.equals("Exit")) { JOptionPane.showMessageDialog(null? for Using Lewandowski's Savings pgrm!"); System.exit(0); }

View Answers

July 20, 2012 at 4:07 PM


You have not written the code in proper format. Here is your modified code.

if (input.equals("exit") || input.equals("Exit"))
    {
    JOptionPane.showMessageDialog(null,"for Using Lewandowski's Savings pgrm!");
    System.exit(0);
    }









Related Pages:
What is wrong with this line
What is wrong with this line  What is wrong with this line JOptionPane.showMessageDialog(null? for Using Lewandowski's Savings pgrm!"); from if (input.equals("exit") || input.equals("Exit")) { JOptionPane.showMessageDialog
what is wrong with this program
what is wrong with this program  import java.io.*; class Distance { int feet,inch; void read() { System.out.println("Enter distance in feet and inches "); feet=Integer.parseInt(ob.readLine()); inch
What is wrong with my servlet?
What is wrong with my servlet?  I'd like to know which part of the code is wrong. My code is: print("code sample"); import java.util.*; import java.io.IOException; import java.io.PrintWriter; import
what is wrong in this program
what is wrong in this program  import java.io.*; class Distance { int feet; int inch; void read(int feet, int inch) { System.out.println("Enter distance in feet and inches "); feet=Integer.parseInt(ob.readLine
what is wrong in this program......
what is wrong in this program......  program to implement given inheritance import java.io.*; class Student { int rno; String name; DataInputStream ob = new DataInputStream(System.in); void getRoll
what is wrong with my JSP codes for updating a form?
what is wrong with my JSP codes for updating a form?  Hi experts, I have tried to emulate a code from a textbook but it doesn't work in my program. Hope someone can advise me where I had gone wrong. Tks. I've set up my
What's wrong with my form? - Java Beginners
What's wrong with my form?  Dear expert, I'm having trouble with my enquiry form. Hope you can tell me where my mistake lies. Thanks. Here's my jsp code: Enquiries var objForm = new Object
What's wrong with my pagination code in JSP?
What's wrong with my pagination code in JSP?  Dear experts, I've tried the following codes which I have copied from Java Ranch forum and deleted...))"; But, none is working out. Hope you can tell me what's the query to use. Many
What is command line argument in Java
What is command line argument in Java  What is command line argument... example of command line argument program in Java?? It will be really helpful for the beginners like me.   Command line arguments allow the user
Multi-line cells in the JTable - Java Tutorials
Multi-line cells in the JTable 2002-04-11 The Java Specialists' Newsletter [Issue 045] - Multi-line cells in the JTable Author: Dr. Heinz M. Kabutz.... Unsubscription Fees: Some of my readers wrote to tell me what a fantastic idea
Not sure whats wrong with my code HELP PLEASE?!?!
Not sure whats wrong with my code HELP PLEASE?!?!  I cant figure out what I am doing wrong in my code can anyone help me out??? Grades function computeGrade( ) { var hw, lab, midt, fin, avg; hw = parseFloat
what is the rong
what is the wrong with this program......without changing the style of the code public class Main { /** * @param args the command line arguments */ public...what is the rong  Write a JAVA program to auto-grade exams
what is wrong in this program?I have netbeans 7.0 & jdk 7. please do corrections.
what is wrong in this program?I have netbeans 7.0 & jdk 7. please do corrections.  import java.io.*; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List
Java - How to read a string line per line
Java - How to read a string line per line  Java - How to read a string line per line I am trying to find the tutorial for reading the String line per line. I have a String data, which contains many lines. What is the best way
Command line arguments
Command line arguments  Please explain me what is the use of "command line arguments" and why we need to use
character as command line arguments
character as command line arguments  public class testing { public static void main(String args[]) { char a; a=args[0]; System.out.println("character is:"+a); } } what will be the above program output
wrong year
wrong year  hello I m using the following code: NSDateFormatter *df = [[NSDateFormatter alloc] init]; [df setDateFormat:@"yyyy"]; NSDate *date... wrong year..   I think u are using other calendar Check Settings
JBoss Unix and Line Separator
JBoss Unix and Line Separator  Hi, I am trying to solve an critical... from the PrintWriter class from java api, this method uses the default line..., \015 and \0d, writing in the file just the CR caracter. What the way
Command Line Standard Error In Java
Command Line Standard Error In Java In this section we will discuss about the Command Line Java IO Standard Error. System.out and System.err both... will give give the file name wrong then an error message will be displayed
Making XY line chart with string and double axis
Making XY line chart with string and double axis  Good evening everybody So i'm trying to make a XYLine chart with JFreechart. The data comes from 2... and time) and the vertical indicates temperature (double) Now my question is what
Help on mySQL 5 command line - SQL
| +------+----------------------+ What command for MIN should i used
help on mySQL 5 command Line - SQL
| +------+----------------------+ What command for MIN should i used? Thanks in advanced
How to extract the entire line with specific data from a Text in java?
How to extract the entire line with specific data from a Text in java? ... to extract only lines with number like 001 or 002 , every line with a number like... of them don't contain number. in Java what method or function could i use to do
error cannot access class com.opensymphony.xwork2.ActionContext, wrong version
error cannot access class com.opensymphony.xwork2.ActionContext, wrong version  Error(1,32): cannot access class com.opensymphony.xwork2.ActionContext; class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0
what is object chaining? - Hibernate
what is object chaining?   daoobject.getsession().begainTransaction; can any one explain the code, i am understanding this line when iam working with swt and hibernate
Draw Line
Draw Line  sir i want to draw a moving line in j2me.That line should also show arrow in moving direction. How can we do so
line graph
line graph  I have developed an application and in that i have to compare 2 reports using line graph from the data taken from ms access database?please help
on line exam
on line exam  how we can upload the data on the server from any site
What is IDSL?
What is IDSL?      ...) and DSL (Digital Subscriber Line)  that transmits data in the digital form  on a regular twisted copper pair  telephone line at the rate of 
Sql aggregate function with left join wrong output
Sql aggregate function with left join wrong output    I have three tables Stock,InwardEntry,IssueToProd. Part_no in stock is a primary key... I ma getting wrong sum values of i.InvoiceQuantity,p.IssueQuantity column
Sql aggregate function with left join wrong output
Sql aggregate function with left join wrong output    I have three tables Stock,InwardEntry,IssueToProd. Part_no in stock is a primary key... I ma getting wrong sum values of i.InvoiceQuantity,p.IssueQuantity column
Sql aggregate function with left join wrong output
Sql aggregate function with left join wrong output    I have three tables Stock,InwardEntry,IssueToProd. Part_no in stock is a primary key... I ma getting wrong sum values of i.InvoiceQuantity,p.IssueQuantity column
What is Applet? - Applet
What is Applet?  What is Applet?  Hi,Here is a little.... Applet viewer is a command line program to run Java applets. It is included... any further, lets see what an applet is?http://www.roseindia.net/java/java
What is jQuery?
What is jQuery? jQuery is a multi-browser JavaScript library that makes the use of javascript in a website very easy. jQuery helps in wrapping many lines of JavaScript code into methods that can be called with a single line of code
what is web .config method
what is web .config method  servlet container what is difference.... what are the necessary conditions to override the init() in servlets... context is used but not ServletConfig what is use of the servletconfig
according to me its ok but is calculating wrong values in
according to me its ok but is calculating wrong values in   program to calculate roman numbers .....i.e roman number calculator import java.util.*; import java.io.*; class romancalci { public static void main(String
What is Bandwidth or Download
What is Bandwidth or Download?  In this article you will learn... in the web hosting world.  What is Bandwidth? Bandwidth is a measurement... network links to the internet at their data centers. OC 4 network line is very
AJAX Line
AJAX Line       AJAX Community with a blog, forum and tutorials Read full Description
objective c read file line by line
objective c read file line by line  Please explain how to read files in Objective C line by line
What is OLAP?
What is OLAP?       OLAP the abbreviation of  On Line Analytical Processing is a decision support software used for analyzing business  information and reports
what is the default buffer size for bufferedreader
what is the default buffer size for bufferedreader  Hi, I am writing a program in Java for reading the big text file. I want to know what... programs in Java for reading large text files. Read the example Java Read File Line
RoseIndia.net Is Your On-Line Linux & xBSD CD Distribution Source
Debian Linux CD's Now Available Debian 3.0 r2 i386 CD Set What is Debian? Debian is a very extensive collection of software. It is a complete Operating System and is free.   Debian GNU/Linux is developed by nearly a thousand
RoseIndia.net Is Your On-Line Linux & xBSD CD Distribution Source
Debian Linux CD's Now Available Debian 3.0r3 i386 CD Set What is Debian? Debian is a very extensive collection of software. It is a complete Operating System and is free.   Debian GNU/Linux is developed by nearly a thousand
Technology What is and FAQs
Technology What is and FAQs     ... Network) and DSL (Digital Subscriber Line)  that transmits data in the digital form  on a regular twisted copper pair  telephone line
Java read file line by line
Java read file line by line In this section, you will learn how to read a file line by line. Java has provide several classes for file manipulation. Here we are going to read a file line by line. For reading text from a file it's better
How to Read a file line by line using BufferedReader?
How to Read a file line by line using BufferedReader?  Hello Java... to Read a file line by line using BufferedReader, efficiently and using less memory... java.io.BufferedReader in your program and use the class for reading the file line
What is SDSL?
What is SDSL?      ... (Asymmetrical Digital Subscriber Line),  but it differs from it in terms... telephone line for getting  uninterrupted internet connection because
This is what i need - Java Beginners
This is what i need  Implement a standalone procedure to read in a file containing words and white space and produce a compressed version of the file... BufferedReader(new FileReader("c://data.txt")); String line=null; while ((line
Java write to file line by line
Java write to file line by line In this section, you will learn how to write a file line by line. It is better to use Writer class instead of OutputStream... to a byte array. The method newLine() is used for writing a new line character. We
If you came on board with us, what changes would you make in the system?
If you came on board with us, what changes would you make in the system... to being hired, but a wrong approach this one question can sabotage everything. You may be very bright, but no one can really understand what needs to be done

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.