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
7 1170
Don't use (J)Applets.
kind regards,
Jos
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.
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.
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?
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
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.
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. :(
Sign in to post your reply or Sign up for a free account.
Similar topics
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...
|
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...
|
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:
...
|
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...
|
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...
|
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....
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
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...
|
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...
|
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...
| |