Home Tutorialhelp Comment I got a doubt

 
 

Comment

Patrick
I got a doubt,
September 28, 2010 at 5:32 PM

Hi, first of all i wanted to say thanx for all the great info in this site, but when I came to try the code above here, I fail bekoz two things: 1) I can't erase the "private void Initialize", "public Display getDisplay(){", and the "public void exitMidlet" lines,how can I erase them for running the project. and 2) It tells me that this line: "public class LoginExample extends MIDlet implements CommandListener{" has the following error: "class LoginExample is public, should be declared in a file named LoginExample.java". What does it mean, I did name the file right, why does it appear. I'll appreciate having a quick response.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
PHP Questions

I GOT ERROR FOR MY PROJECT
I GOT ERROR FOR MY PROJECT  Dear Friend/ RoseIndia Team, Firstly I would to thank u Guys help me so many time.. I got error on my little project when running at server. please correctly my error Guys... ERROR CODE: "LOGIN 

JSP Servlet Questions

Login validation doubt
Login validation doubt  Hi, 1)login.jsp: <%@page import...{ } %> Once validating in check.jsp, i want error message on login.jsp like...(); ResultSet rs=st.executeQuery("select * from login where uname='"+user 

HTML Questions

Doubt
Doubt  how to submit the details and how to go the next page after submitting.please clarify my doubt I don't know how to submit details 

Java Beginners

Validation doubt
Validation doubt  hi..... thanks for the other validation code. I have got that and implemented in my code but i have a doubt in that. As we try... think i am able to tell u what i want to and u have got whats my doubt. plz give 

HTML Questions

Doubt
page after submitting.please clarify my doubt I don't know how to submit details...(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1]; } } return 

HTML Questions

Doubt
page after submitting.please clarify my doubt I don't know how to submit details...(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1]; } } return 

HTML Questions

Doubt
the next page after submitting.please clarify my doubt I don't know how to submit... = document.URL.substring(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1 

HTML Questions

Doubt
to go the next page after submitting.please clarify my doubt I don't know how... = document.URL.substring(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1 

Struts Questions

I have a doubt regarding action - Struts
I have a doubt regarding action   hi, I have doubt regarding struts,I got response through jsp and once again it redirecting to action. If anybody knows pls respond me. with regards, Teju  Hi friend 

Java Beginners

doubt in inheritance program - Java Beginners
doubt in inheritance program  how will we get the result 6 2 5 in the inheritance program in the given example i got 6 &2 but i am confused about 5 

Java Beginners

doubt on synchronized block in java
. I think you got my doubt. I request you to clarify my doubt based on below...doubt on synchronized block in java  Hi ! some people are feeling... suggestinons.Today i am going to ask on synchronized block. the general form 

Mobile Applications Questions

j2me
j2me  i need more points about j2me 

EJB Questions

doubt in ejb3 - EJB
doubt in ejb3  hi i am new to ejb3 .i have written simple code which... @Table(name="login") public class UserEntityBean implements Serializable...(); throw new RuntimeException(e); } } } i have written 

JSP Servlet Questions

j2me
j2me  I need fifth sem MCA mobile computing lab programs using j2me. i m beginner for j2me and i want to know how to run j2me programs. pls help 

Development process Questions

i got an error while compile this program manually.
i got an error while compile this program manually.  import... mapping.findForward("errors.jsp"); } } i set both servlet,struts jar files and i got an error in saveErrors() error Heading cannot find 

Mobile Applications Questions

J2ME
J2ME  Dear Sir, Am beginner of j2me am asking so many times but still now i didn't get a reply for you...I want source code to scan a image and upload to server in j2me also QR Code decoding in j2me thanks and regards 

Mobile Applications Questions

j2me - MobileApplications
j2me   I have created a application . on the first page.... for English no doubt about is working. System.getProperty("microedition.locale") gives me current language i.e. en-us. now i want change the language 

Java Beginners

j2me
j2me  hey i m doing a project can i create message reader using j2me in nokia phone?? pls give me source code or hint 

Java Beginners

J2ME
J2ME  Hi friends, i have display the bar code image from Mysql database to web page i need to display that image in my J2ME application,how 

Mobile Applications Questions

J2ME
J2ME  hi i am just stared j2me learning. can you please tell me how to put radio button and textFiled at same row 

Java Beginners

j2me
j2me  in j2me i want to know how to acess third form from the second form.... so need a program for example with more thaan three form 

Java Beginners

j2me
j2me  in j2me i want to know how to acess third form from the second form.... so need a program for example with more thaan three form 

Java Beginners

J2ME
J2ME  how to change the color of the selected date using J2ME. i.e. if i press select by taking the cursor on the date ,the color of that digit should change 

Development process Questions

i got an exception while accept to a jsp
i got an exception while accept to a jsp  type Exception report message description The server encountered an internal error... in a file.later i changed it to ANSII problem is resolved 

Java Beginners

J2ME
J2ME  Hi sir, i need a source code for simple calculator along with buttons in mobile application 

Java Beginners

J2ME
J2ME. I am using Canvas. I needed to know, if there is any method to get...J2ME  how to get the color of a pixel in J2ME but not in Java... line using J2ME 

Development process Questions

J2ME
J2ME  i am working in j2ME language on Symbian OS S60 (Nokia)application in this application i am adding buttons for designing in MIDlet application. so how to add button in dynamically. and how can place lancher icon also 

Java Beginners

J2ME
J2ME -i want to execute j2me program using sun wireless tool kit 2.5.2 pls suggest me which WTK for 64 bit operating system  hello sir, i am using windows 7 64 bit in my laptop...,i want to execute j2me program using sun wireless 

Java Magazine Questions

login
login  i want to now how i can write code for form login incolude user and password in Jcreator 4.50   Hello Friend, Visit Here Thanks 

JSP Servlet Questions

j2me
j2me  i want code in which when we input same data in midlet page ... than on ok button it will show in servlet page.. code that pass information to mobile application page to servlet page 

Mobile Applications Questions

j2me
j2me  i want code in which when we input same data in midlet page ... than on ok button it will show in servlet page.. code that pass information to mobile application page to servlet page 

Java Beginners

j2me
j2me  hi i'm a java beginner and i am working in j2me. i am using java wireless tool kit and java sdk. and the problem is that i am not getting... answer. i am using sdk 3.0 and java wtk 2.5.2 

Development process Questions

j2me
j2me   Hi, In my j2me application I have used canvas to display an image in fullscreen.In the image there are four points( rectangular areas ). Now I... as button. How can I select a area of an image and add an event to that area 

Mobile Applications Questions

To scan a image encode that image in j2me
To scan a image encode that image in j2me  Hai team i am new man of j2me i have doubt to scan a image and encode the image in j2me... Please clarify that doubt... Thanks in Advance... Kumar 

Development process Questions

j2me
j2me  Hi, i'm working eclipse j2me for Symbian development. i want a combo box use like a scroll bar type. when we are using combo box to a column it acts as one combobox for all cells in a column but i nedd separate combobox 

JSP Servlet Questions

I have doubt in jsp file.
I have doubt in jsp file.  I have doubt in jsp file. In a jsp file, there should be two buttons. One is start and other is stop. When we click on start then only stop should be enabled. Other wise it should be disabled. When 

Swing AWT

login
login  i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name 

Swing AWT

login
login  i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name 

Swing AWT

login
login  i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name 

Swing AWT

login
login  i am doing the project by using netbeens.. it is easy to use the java swing for design i can drag and drop the buttons and labels etc.. now i want the code for login.. i created design it contains the field of user name 

Mobile Applications Questions

j2me
j2me  Hi,i create a project using lwuit in netbeans 6.9 for motorola MC75 device i want to know how can i connect this application with remote server,should i use servlets.actually i have to send data in xml format and also 

JSP Servlet Questions

Clarify my doubt - JSP-Servlet
Clarify my doubt  Hi All, Although i know the concept of Servlet & JSP, but I have never got a chance to work in EJB . So could u please tell me how to create web Project in netbeans and deploy it in tomcat AND/OR creating a web 

Java Beginners

J2ME
J2ME  i wann source code to find out the difference between two dates.. and i wan in detail.. plz do favour for me..   import java.util.... (ParseException e) { e.printStackTrace(); } } }   i wann j2me code 

Mobile Applications Questions

j2me - MobileApplications
j2me  Hi Deepak, Thank for u earlier suggestion.But i need its date and time when the file was created.But i got solution...) { t.printStackTrace();} } } But i want how to get date and time 

Java Beginners

login
login  hello i need some help please help how can identify admin from user when logging in? please make some answer and some explanation...   Please visit the following link; http://www.roseindia.net/jsp 

JSP Servlet Questions

i have got error while compiling simple tag handler
i have got error while compiling simple tag handler   javac.servlet.jsp not found! tell me what are the jar files required to run simple tag handler class   The package you have used javac.servlet.jsp does not exist 

Java Beginners

j2me - Java Beginners
j2me  hai. i have send you the question.but still deoesnt got any replay. I really need the answer from you.This is my final project.Please send me.....I raelly need it. Thank you 

JSP Servlet Questions

Jsp doubt
Jsp doubt  In Employee.jsp form, When i click employee id value in combo box , how i get the related employee name will be displayed in text field? i already stored combo box values from database 

Java Beginners

J2ME count character into string
J2ME count character into string  i am new in J2ME, my problem is how to count character into number, i had been research google for almost 2 days and got nothing...some one plz give me a punch :) as an example, 1. i got a text 

JSP Servlet Questions

big doubt
database contains a message of time  hi i have one doubt.if the database contains a message of time 05:00 to 06:00 the same msg should... but i am not getting the output corectly. below is the code <%@page import 

EJB Questions

I got build failed when deploying enterprise application - EJB
I got build failed when deploying enterprise application  I created web application with ejb moduless and stateless session beans. However, i am getting th errros:...please help pre-init: init-private: init-userdir: init 

Java Beginners

when I run exiting project that time I got error, I want solution on it?
when I run exiting project that time I got error, I want solution on it?  Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start 

Mobile Applications Questions

j2me exception - MobileApplications
j2me exception  hai while creating an image i am getting an exception in the below line: public ImageItemMIDlet(){ try{ //for this line i got an exception image = Image.createImage("/Sunset.jpeg 

JDBC Questions

Backup Failed Mysqldump Got Errno 28 On Write
Backup Failed Mysqldump Got Errno 28 On Write  Hi, While taking the backup of database I got following error: Backup Failed Mysqldump Got Errno 28 On Write How to resolve the issue? Thanks   Hi, This error comes 

Struts Questions

doubt in struts - Struts
doubt in struts   i don't understand the concept on Resource bundle in struts can u please help me out 

Java Beginners

J2ME handing multiple pages
J2ME handing multiple pages  I have 1 midlet and 1 form. How do i... implements CommandListener { private newUser Login; private Form form; private Display display; private TextField username, pwd; private Command login; private Ticker 

JDBC Questions

LOGIN PROBLEM - JDBC
LOGIN PROBLEM   sir iam harikrishna studying B.Tech Fourth year sir i'm designing one website in that one i have to give facility as login id... and passowrd iam having doubt in that code sir iam doing the project 

Java Beginners

j2me - Java Beginners
j2me  j2me project guide Expert:shahzad i HAVE START A J2ME PROJECT WITH NO CLEAR IDEA .. ANY ONE GUIDE ME my id is shahzad.aziz1@gmail.com... the sensitive information. The information is protected by login and password, which can 

Framework Questions

i got illegal start of expression error , plese tell me the mistake where i did...
i got illegal start of expression error , plese tell me the mistake where i did...   import org.springframework.context.*; import java.util.*; public class MyListener implements ApplicationListener { public static void main 

Java Beginners

doubt this
doubt this  what is the use of "this" and "super" keyword 

Mobile Applications Questions

XML Parsing Using Sax Parser in J2ME for serverside
XML Parsing Using Sax Parser in J2ME for serverside  Hai team, i have doubt in Parsing using sax parser in serverside plz help me for xml parsing in j2me using sax parser on server side thanks in advance... regards Selva 

Java Beginners

if i run this prog, i got exeption in thread "main" java.lang.ArrayIndexOutOfBoundsException:0 at Maxof2.main(Maxof2.java:9), whats the resolution for ths?
if i run this prog, i got exeption in thread "main... int i = Integer.parseInt(args[0]); int j = Integer.parseInt(args[1]); if(i > j) System.out.println(i+" is greater than "+j); else 

Java Beginners

j2me image problem - Java Beginners
j2me image problem  hi, i am new for j2me programs. i created image using canvas class. i want to change the image. i have no idea about.... Thanks  ok.. i got it.. thank u so much for ur help 

Java Beginners

"Doubt on Swing" - Java Beginners
"Doubt on Swing"  Hi Friend.... Thanks for ur goog Response.. i need to create a GUI Like... pic1.gif RadioButton pic2.gif RadioButton Pic3.gif RadioButton If we have select d appropriate radio 

Java Beginners

DOUBT ?
DOUBT ?  in c++ member function of a class must be public 

PHP Questions

DOubt in Mysql connections
DOubt in Mysql connections  i have some problem regarding data base connections, i have created a hostname, username and password in filezilla server but after i give those names also it is showing error like this: mysql 

Java Beginners

Doubt regarding charts and jsp
Doubt regarding charts and jsp  Hi, I successfully executed the bar chart in normal java application. But I want the Bar Chart to be executed in web application(jsp). So,please help me out in how to connect the normal 

Struts Questions

Doubt in struts - Struts
Doubt in struts  I am new to Struts, Can anybody say how to retrieve data from database and display it in jsp. Some said to use beans but i dont know how to do. Please help me in this regard. It will be helpful, if explained 

Java Beginners

Doubt regarding charts and jsp
Doubt regarding charts and jsp  Hi in the http://www.roseindia.net/chartgraphs/barchart-jsppage.shtml of the code (new StandardEntityCollection...) { Where can I get the barchart.png? and what is the exact meaning of the line 

Java Beginners

Doubt on Segmentation - Java Beginners
Doubt on Segmentation  Hi .. ImageProcessing.. How to segment the each and every characters from the bitmap image Consider for an example... WORD - Segmented Characters Visualc++ ------ > V|i|s|u|a|l|c 

XML Questions

Doubt about Xstream Converter
Doubt about Xstream Converter  Hi, I am using the Xstream freamwork to read a lot of files in a batch operation. I use a custom converter Xstream to read some properties of my Xml file, but when I changed my application 

JMS Questions

doubt about JMS selector
doubt about JMS selector  Hi! , i have a little problem with message..., but I didn├?┬┤t get success. I use this reference site like guide. in my case, i send a message to server, server receive the message and reply using 

JMS Questions

doubt about JMS selector
doubt about JMS selector  Hi! , i have a little problem with message..., but I didn├?┬┤t get success. in my case, i send a message to server, server..., but the system don├?┬┤t read it. Why can I do to solve 

SQL Question

Doubt In Sql query
Doubt In Sql query  Hi Have a glance @ http://img98.imageshack.us..._notes. I Need to fetch all the distinct records of countries with the latest country_note records. we can get the latest country_notes by using createdt. I have 

XML Questions

doubt in combobox in flex - XML
doubt in combobox in flex  hi, i have doudt in combobox in flex which is a combination of mxml and actioscript . In my project i has a combobox with 10 items when i select the particular item i has 2 display 

Mobile Applications Questions

upload value to php server in getmethod in j2me
upload value to php server in getmethod in j2me  Dear Team, I successfully capture image and decode that image, here i have one doubt after getting that value i means captured decoded value i want to that value in get 

JSP Servlet Questions

Doubt in servlets - JSP-Servlet
Doubt in servlets  Good Evening sir/madam, I want to add data dynamically for that which methods i have to use to retrieve...","root","root"); Statement st=con.createStatement(); int i=st.executeUpdate("insert 

JSP Servlet Questions

Doubt in using combination of JSP page and Java class. - JSP-Servlet
Doubt in using combination of JSP page and Java class.   I've got... youfor replying. I didn't used struts,insted i went with servlet and Java Class... it to another jsp page that i used to display those buttons with their name 

Date Calendar

doubt - Date Calendar
doubt about retrieve dates from Database  Retrieve dates from the database with some condition in dates in JSP   i want to retrieve datas from the database with some condition in dates in jsp   Retrieve data 

JDBC Questions

hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.
hi, Everyone ,i'm learning jdbc, i got an nullpointerexception when execute this program.   ConnectionProvider.java import java.util.*; import java.io.*; import java.sql.*; class ConnectionProvider { static Properties prop 

Swing AWT

Login authentication
Login authentication  i want d code for login authentication from mysql database on the same pc using swings 

Swing AWT

Login authentication
Login authentication  i want d code for login authentication from mysql database on the same pc using swings 

Java3D Questions

java doubt - Java3D
java doubt   hi sir , this is sairam am intersted on programs. so i choose the java . i want to become a good programmer . in java... as a good programmer.......... which course is more sutable to me... i have 

JSP Servlet Questions

JSP Doubt - JSP-Servlet
JSP Doubt  Hello Sir, Sir Actually I have created my DraftAd in Html and I want that any thing i type in draft ad should be converted into digits i.e integers and should get displayed in another text box ie count text box 

Mobile Applications Questions

XML Parsing Using Sax Parser in J2ME
XML Parsing Using Sax Parser in J2ME  Hai team, I hope you, You should help me, I have trouble in Xml parsing... I have decoded value, what... that value append to send web service and got reult...here i got xml feed now i want 

Java Beginners

TIME SERIES DOUBT
TIME SERIES DOUBT  HI.................... In my project i am using the xydataset code to show the series output or graph say. In that each series has color taken by it on itself by default means first series has red then yellow 

JSP Servlet Questions

JSP basic doubt
like "username or password is wrorng"   Once validating in check.jsp, i 

Java Beginners

doubt - Java Beginners
doubt  is it possible to get the data from applet window for inserting into database using JDBC?i did this ,but it displays access denied..   Hi friend, import java.awt.Font; import java.awt.Color; import 

Java Beginners

j2me project guide - Java Beginners
j2me project guide  i HAVE START A J2ME PROJECT WITH NO CLEAR IDEA .. ANY ONE GUIDE ME my id is shahzad.aziz1@gmail.com replay on my id plz... the sensitive information. The information is protected by login and password 

Development process Questions

j2me beginner
j2me beginner  how to create an application for sending files via bluetooth please i want full codings 

Java Beginners

doubt
 

Java Beginners

doubt
 

Java Beginners

DOUBT
 

Java Beginners

Doubt
 

Java Magazine Questions

doubt
 

Java Beginners

doubt
 

Java Beginners

doubt
 

JSP Servlet Questions

Login modification
Login modification  How can I invalidate a user once he goes back to login page without signing out,I have already tried using session but it doesn't work please help 

Mobile Applications Questions

J2me - MobileApplications
J2me  Hi, I would like to know how to send orders linux to a servlet which renvoit answers to a midlet. thank you 

Mobile Applications Questions

J2ME - MobileApplications
J2ME  Hi I want to know how I can downlload J2ME programming and if ypu have any idea about it please help me. Thank  Hi Friend, Please visit the following links: http://www.roseindia.net/j2me/ http 

Advertisements Advertisements
 

 

 

DMCA.com