473,289 Members | 1,791 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,289 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 3684
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.