/    Sign up×
Community /Pin to ProfileBookmark

Applet or JApplet

After I made an Applet than works just fine, I read something how swing is better and all. Should I be using JApplet from now on or are there situations when Applet is preferable to JApplet?

to post a comment
Java

6 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliMay 18.2005 — swing components are light weight, which means they do not need as much resources...Thats the biggest diff in my opinion
Copy linkTweet thisAlerts:
@ray326May 18.2005 — I'm not sure about the resources but AWT (Applet) widgets are the widgets of the native host GUI. Swing (JApplet) widgets are Java graphics and behaviour so they can look like any of the various predefined "looks" (metal, windows, mac,...) or you can define your own look using the published API.
Copy linkTweet thisAlerts:
@Khalid_AliMay 18.2005 — I'm not sure about the resources .....[/QUOTE]
an easy solution for that will be to search on google and read some information about the differences between the 2.
Copy linkTweet thisAlerts:
@ray326May 18.2005 — I know the differences but if "light/heavy" supposedly refer to resources required then they are misnomers. Lightweight widgets generally require more machine resources (i.e. additional resources) than heavyweight widgets. Why, because the latter are already loaded and in use by the environment and are available to be shared by all applications. Lightweight widgets are not sharable between applications and take graphics resources above and beyond what was already sitting there for the app to use.
Copy linkTweet thisAlerts:
@Khalid_AliMay 19.2005 — I don't have the energy to quarrel with some one who is as rigid as you( just reading ur last message shows that where u are not saying anything different then what I said but in diff words).

It was not my pleasure to write this message nor I want to continue.
Copy linkTweet thisAlerts:
@ray326May 19.2005 — I'll try not to let the door hit me in the butt on my way out.
×

Success!

Help @amazing_andr3 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...