473,978 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

java midlet

23 New Member
HI,


im preethi,can anybody help me out?
My problem is:
i compiled my midlet program in command prompt. im getting the following errors
javac WelcomeForm.jav a
WelcomeForm.jav a:14: cannot find symbol
symbol : class Voting
location: class WelcomeForm
private Voting voting;
^
WelcomeForm.jav a:16: cannot find symbol
symbol : class Voting
location: class WelcomeForm
public WelcomeForm(Vot ing a)
^
WelcomeForm.jav a:49: cannot find symbol
symbol : class ValidateForm
location: class WelcomeForm
ValidateForm vform = new ValidateForm(vo ting,id.getStri n
g(),pwd.getStri ng());
^
WelcomeForm.jav a:49: cannot find symbol
symbol : class ValidateForm
location: class WelcomeForm
ValidateForm vform = new ValidateForm(vo ting,id.getStri n
g(),pwd.getStri ng());
^
4 errors
Thanks in Advance
Apr 4 '08 #1
4 1434
JosAH
11,448 Recognized Expert MVP
You have to import a few classes, i.e. the compiler isn't psychic and can't find
those classes on its own.

kind regards,

Jos
Apr 4 '08 #2
rpradeepa
23 New Member
You have to import a few classes, i.e. the compiler isn't psychic and can't find
those classes on its own.

kind regards,

Jos
Hi,

i imported the following classes,
import java.io.*;
import javax.microedit ion.midlet.*;
import javax.microedit ion.io.*;
import javax.microedit ion.lcdui.*;
import java.util.*;
Apr 4 '08 #3
rpradeepa
23 New Member
Hi,

i imported the following classes,
import java.io.*;
import javax.microedit ion.midlet.*;
import javax.microedit ion.io.*;
import javax.microedit ion.lcdui.*;
import java.util.*;
Apr 4 '08 #4
JosAH
11,448 Recognized Expert MVP
Hi,

i imported the following classes,
import java.io.*;
import javax.microedit ion.midlet.*;
import javax.microedit ion.io.*;
import javax.microedit ion.lcdui.*;
import java.util.*;
Ok, in what package is the e.g. Voting class stored? You need to import that
package. Check this for all the classes that could not be found.

kind regards,

Jos
Apr 4 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1570
by: shmoove | last post by:
Hi all, I'm a J2ME developer, with very little experience in WAP. I want to know if the following is possible on Nokia terminals: I would like to have a link in a WML page, that when it is pressed it should check if the phone has a certain MIDlet installed, and if so the MIDlet is launched. If the MIDlet is not installed then an alternate action is taken. Basically I would like to have a "link" to a MIDlet, that would just run the MIDlet...
0
6836
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what the issue is. Thanks Ravi
6
2567
by: nickyeng | last post by:
i have a midlet which will generate a string (message ) and send to our gateway. but before sending, i will need to encrypt the string. i've checked anywhere in internet but couldn't find j2me API about encryption. what is the simple way to encrypt that string in midlet ? anyone idea?
1
1836
by: nickyeng | last post by:
i have a midlet which will generate a string (message ) and send to our gateway. but before sending, i will need to encrypt the string. i've checked anywhere in internet but couldn't find j2me API about encryption. what is the simple way to encrypt that string in midlet ? anyone idea?
0
2499
by: mynameissina | last post by:
hello out there, assume jar file of my mobile project lives in c:/netbeansprojects/mymobileprojects/project1/dist/app.jar now i need a simple midlet that its only duty is to creat a text file say in d:/somefolder/text.txt. what piece of code will do that for me? as it will be installed on a mobile phone how should i obtain drive letters of memory stick or internal phone memory? thank you very much dudes....waiting to hear something soon sina
3
1537
by: rpradeepa | last post by:
HI, what is the procedure to run the midlet program? Thanks in Advance
3
1297
by: rpradeepa | last post by:
Hi, How to run the midlet program in mobile device? Thanks in advance
2
7490
by: josephx | last post by:
Hello, I got some of these errors listed below after executing an HTTP Post MIDlet on CLDC/MIDP platform, "Nokia S40 DP 2.0 SDK 1.1" and "S40 5th Edition SDK Feature Pack 1" and even for S60's SDK.. the application stops. However, it does work only on "Sun Java(TM) Wireless Toolkit 2.5.1 for CLDC" with the same errors displayed, but the application was able to execute successfully. Errors received are: Using Untrusted simulated domain...
0
1954
by: simsimlhr | last post by:
I want to load form inherited from Midlet(j2me) in lwuit form.Is there any way, i cannot convert the midlet into lwuit.
0
10176
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11835
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11594
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10088
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7621
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6426
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.