Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

HTML elements = Java components

Thread view: 
enrique - 24 Jun 2007 16:40 GMT
Is there anyone else besides myself bothered by the idea that some
Java programmers refer to HTML elements as "components" (in reference
to the Java widgets that wrap HTML)? Why is the Java community doing
this? I must stay this seems to make something that should be simple
complicated.
bencoe@gmail.com - 24 Jun 2007 17:59 GMT
> Is there anyone else besides myself bothered by the idea that some
> Java programmers refer to HTML elements as "components" (in reference
> to the Java widgets that wrap HTML)? Why is the Java community doing
> this? I must stay this seems to make something that should be simple
> complicated.

Well, when you use HTML in Swing, or other 3rd party HTML renderers,
the HTML page displayed is just a collection of various components
positioned based on the markup. So the buttons in the HTML page are,
for instance, JButtons.

Ben.
Lew - 29 Jun 2007 05:41 GMT
>> Is there anyone else besides myself bothered by the idea that some
>> Java programmers refer to HTML elements as "components" (in reference
>> to the Java widgets that wrap HTML)? Why is the Java community doing
>> this? I must stay this seems to make something that should be simple
>> complicated.

Is there anyone else besides myself bothered by all this whining about the
correct use of a normal English word?

<http://en.wiktionary.org/wiki/component>

These things are called "components" because they are components.  Get literate.

Signature

Lew

Lew - 29 Jun 2007 05:43 GMT
enrique wrote:
>> Is there anyone else besides myself bothered by the idea that some
>> Java programmers refer to HTML elements as "components" (in reference
>> to the Java widgets that wrap HTML)? Why is the Java community doing
>> this? I must stay this seems to make something that should be simple
>> complicated.

Is there anyone else besides myself bothered by all this whining about the
correct use of a normal English word?

<http://en.wiktionary.org/wiki/component>

These things are called "components" because they are components.  Nothing to
whine about there.

Signature

Lew

Roedy Green - 29 Jun 2007 13:48 GMT
>Is there anyone else besides myself bothered by the idea that some
>Java programmers refer to HTML elements as "components" (in reference
>to the Java widgets that wrap HTML)? Why is the Java community doing
>this? I must stay this seems to make something that should be simple
>complicated.

because in AWT nearly all those widgets are subclasses of Component
and in Swing of JComponent.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.