473,385 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Need help in getting started

44
Hi..

I am gonna make a mail user agent for a LAN. Using java. I was confused about what to use. Should I use applets, or start coding without them, making use of windowlistener interfaces etc ? I dont know if i should use applets, and if i should could u please tell me why applets are preferable.

Thanks,
Hanaa
Sep 3 '08 #1
7 1170
JosAH
11,448 Expert 8TB
Don't use (J)Applets.

kind regards,

Jos
Sep 3 '08 #2
hanaa
44
Thanks.
I seem to have another problem. Only recently, I installed java update 7.
There's this file called myframe.java which has a public class 'myframe'. Another file 'keydemo.java' extends the class myframe. This program worked on update 2. On this new version, i try to compile the second file, that is keydemo.java. I get an error saying it 'cannot find the symbol myframe'. Could anyone help please... I tried the same with many other such files, none of them seem to be working.

Thanks again,
Hanaa.
Sep 4 '08 #3
hanaa
44
Okay.. I tried the following and it worked. (2ndsem is the directory containing both the files in question - keydemo.java and myframe.java. )


C:\hanaa\2ndsem> javac -classpath C:\hanaa\2ndsem keydemo.java

Yet, I wanna know why it doesnt work like it used to with the older version, and also why this worked. Would someone be kind and tell me why.

Thanks,
Hanaa.
Sep 4 '08 #4
r035198x
13,262 8TB
Okay.. I tried the following and it worked. (2ndsem is the directory containing both the files in question - keydemo.java and myframe.java. )


C:\hanaa\2ndsem> javac -classpath C:\hanaa\2ndsem keydemo.java

Yet, I wanna know why it doesnt work like it used to with the older version, and also why this worked. Would someone be kind and tell me why.

Thanks,
Hanaa.
Which version did it work on? I don't think it should have worked on any Java version at all? Are you sure you didn't move the files?
Sep 4 '08 #5
hanaa
44
Yes.. I am sure. Back then, I used 1.6.0_02. Now, i use 1.6.0_07. I was in my second semester then, and all the base and derived class' files worked that way. I dont see why it shouldn't now. Both the files are in the same directory.

On the older version, it worked without the -classpath option. Below is what I used then.

C:\hanaa\2ndsem> javac keydemo.java
Sep 4 '08 #6
r035198x
13,262 8TB
Yes.. I am sure. Back then, I used 1.6.0_02. Now, i use 1.6.0_07. I was in my second semester then, and all the base and derived class' files worked that way. I dont see why it shouldn't now. Both the files are in the same directory.

On the older version, it worked without the -classpath option. Below is what I used then.

C:\hanaa\2ndsem> javac keydemo.java
Either you added a package declaration that wasn't there or one of the .class files got removed/deleted.
Sep 4 '08 #7
hanaa
44
Either you added a package declaration that wasn't there or one of the .class files got removed/deleted.
I didnt add any package declaration :( And i checked, the .class file of the base class is there in that directory only. I cant seem to move on unless I understand why it isn't working. :(
Sep 4 '08 #8

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

Similar topics

3
by: Y2KYZFR1 | last post by:
need some help getting started, it is just a "little" confusing on where to actually start. I want to write a turn based board game using Twisted as the networking layer. I just need a kind of...
2
by: Benji99 | last post by:
Hi guys, I'm starting to learn Python and so far am very impressed with it's possibilities. I do however need some help with certain things I'm trying to do which as of yet haven't managed to find...
84
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: ...
2
by: Rick Shaw | last post by:
Hi. I am just getting started with C# and I need a lot of help. Can anyone here show me a sample database application written in C#? I figure that I learn better looking at actual codes and...
6
by: Jack Duijf | last post by:
Hello, I am looking for a person in The Netherlands that is willing to help me getting started with Vb.net. Please send a message to jack@aicn.nl if you can help me getting started with the...
5
by: HotRod | last post by:
I am new to this so please go easy. We currently have some students doing some work on some web based tracking documents for us. They are currently using VB .net to develop what we requested....
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
2
by: DLN | last post by:
I always have trouble getting started creating a Recordset for some reason. I've created a Query that takes data from three tables Table1, Table2 and Table 3 and creates a MasterTable. I have...
1
by: =?Utf-8?B?Q29kZVNsaW5nZXI=?= | last post by:
I plan to build my own 2008 Server/Hyper-V system and will not be using one of the tested Dell or HP systems from the release notes and could use some pointers as to my assumnptions and answers to...
0
by: Dale | last post by:
Access 2000 I have a check scanner from Magtek, (MicrImage) This is like a "point of sale" check scanner/credit card reader. Magtek furnished 2 ocx's (MTMicrImage.ocx & SaxComm8.ocx). They also...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.