473,385 Members | 1,769 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.

JApplet + API question

I know that the basic methods that can be overwritten for class JApplet are
init, and paint. However, the API does not specifically state this, and
JApplet does not describe this right away.. How do i know with other classes
specific methods that operate like this, simply by looking at the API first?

--
N0 Spam Ema|l address. Please, when replying directly, delete "NSPAMO" from
email address. Thanks
Jul 17 '05 #1
2 3688
In Java, a class can override ANY of the instance methods of its
superclasses. There's nothing special here to do with JApplet nor will
there be anything in the API for this. This is simply a basic feature of
the Java language.

-Eric

"David Eynon" <da*********@verNSPAMOizon.net> wrote in message
news:6%*******************@nwrdny01.gnilink.net...
I know that the basic methods that can be overwritten for class JApplet are init, and paint. However, the API does not specifically state this, and
JApplet does not describe this right away.. How do i know with other classes specific methods that operate like this, simply by looking at the API first?
--
N0 Spam Ema|l address. Please, when replying directly, delete "NSPAMO" from email address. Thanks

Jul 17 '05 #2
Eric Olander wrote:
In Java, a class can override ANY of the instance methods of its
superclasses. There's nothing special here to do with JApplet nor will
there be anything in the API for this. This is simply a basic feature of
the Java language.


Not quite: a method declared as final cannot be overridden in a
subclass. Just keeping us all on the same page...

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kookymon1 | last post by:
This is an attempt to respond to an older question (several months). Date: 2002-03-07 13:10:23 PST Subject: On the Common DOM API and Applets. The original message was: >LiveConnect and the...
0
by: Mik | last post by:
I have a problem with drawing ImageIcon objects on a JPanel in a JApplet Everything is ok when I run applet locally, but when it's run from a server the images are not showing ImageIcon objects...
2
by: Aurel | last post by:
Hi, I developped an applet (JApplet class) and now I'd like to integrate it in another application which is a JFrame one... Does anyone can help ? Thanks in advance... AureL
4
by: Oleg Leikin | last post by:
Hi All, I've got some fundamental question: Since MS has stopped supporting Java Applet development according to J# documentation and also discarded Virtual Machine from the browser what...
1
by: - | last post by:
I have googled and learned that there are limitations with JApplet writing to files on remote host. However, I am unsure as to whether it is possible to do so on the same computer. Please advice....
6
by: Harika | last post by:
Hi all, I want to write a java program to get a image. When i click on that image i should get a frame right of that window. we have taken Japplet but there is something required to...
7
by: sreenulanka | last post by:
please help me in my forum i have labels and textareas .iwant to add textarea components dyanamically when i am clicking the button.please help me import java.awt.*; import javax.swing.*;...
5
by: James Barrett | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I am experimenting with JApplet and JPanel. My JApplet contains a JPanel called jpanel1 size 210x210. I created a class myPanel which...
3
by: notaCons | last post by:
hello im quite newbies in Java Programing so any one can help me. i will be plz.... what am i trying here is try convert The JFrame to JApplet, but when i change the JFrame to JApplet 4 Error come...
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:
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.