Click here to Skip to main content
15,890,995 members
Home / Discussions / Java
   

Java

 
JokeWhen I think back to my USENET days... Pin
Naruki15-Feb-09 17:21
Naruki15-Feb-09 17:21 
QuestionNeed to add links to changing image within iframe, Is this possible? Any help greatly appreciated!! [modified] Pin
bluedog286814-Jan-09 6:04
bluedog286814-Jan-09 6:04 
Answer[Message Deleted] Pin
bluedog286814-Jan-09 8:36
bluedog286814-Jan-09 8:36 
QuestionI have problem with bookmark(Javascript) in opera.It works in other browser. Pin
bhatted13-Jan-09 14:32
bhatted13-Jan-09 14:32 
AnswerRe: I have problem with bookmark(Javascript) in opera.It works in other browser. Pin
toxcct15-Jan-09 4:24
toxcct15-Jan-09 4:24 
QuestionNeed help with parameterized class or method Pin
David Crow13-Jan-09 7:36
David Crow13-Jan-09 7:36 
AnswerRe: Need help with parameterized class or method Pin
toxcct15-Jan-09 4:28
toxcct15-Jan-09 4:28 
GeneralRe: Need help with parameterized class or method Pin
David Crow15-Jan-09 4:51
David Crow15-Jan-09 4:51 
toxcct wrote:
Hi David, coding java now ?! ^^


Yes, and have been for nearly two years now. It's been an enjoyable change.

What I have since found out is that I can use instanceof on the objects in the ObjectName[] array. It correctly reports them as being Apple, Orange, Truck, etc. My print routine now looks like:

public void printContents( ObjectName objectNames[] )
{
    if (objectNames[0] instanceof Apple)
        ...
    else if (objectNames[0] instanceof Orange)
        ...
    else if (objectNames[0] instanceof Truck)
        ...
}


"Love people and use things, not love things and use people." - Unknown

"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch


GeneralRe: Need help with parameterized class or method Pin
toxcct15-Jan-09 4:55
toxcct15-Jan-09 4:55 
QuestionRe: Need help with parameterized class or method Pin
David Crow15-Jan-09 5:01
David Crow15-Jan-09 5:01 
AnswerRe: Need help with parameterized class or method Pin
toxcct15-Jan-09 5:04
toxcct15-Jan-09 5:04 
GeneralRe: Need help with parameterized class or method Pin
David Crow15-Jan-09 5:16
David Crow15-Jan-09 5:16 
GeneralRe: Need help with parameterized class or method [modified] Pin
Naruki9-Feb-09 15:18
Naruki9-Feb-09 15:18 
Questionneed source code for our project Pin
Lakshmi4108712-Jan-09 4:33
Lakshmi4108712-Jan-09 4:33 
QuestionHello World Java Program Pin
prithaa11-Jan-09 6:10
prithaa11-Jan-09 6:10 
AnswerRe: Hello World Java Program Pin
tamour12-Jan-09 0:49
tamour12-Jan-09 0:49 
GeneralRe: Hello World Java Program Pin
prithaa15-Jan-09 18:06
prithaa15-Jan-09 18:06 
GeneralThe best starting point tutorial... Pin
Naruki9-Feb-09 15:01
Naruki9-Feb-09 15:01 
QuestionAm i converting the code right ? Pin
tamour9-Jan-09 11:49
tamour9-Jan-09 11:49 
GeneralRe: Am i converting the code right ? Pin
itsmani27-Jan-09 22:13
itsmani27-Jan-09 22:13 
QuestionCannot access database Pin
tamour9-Jan-09 3:19
tamour9-Jan-09 3:19 
QuestionDeveloping a discussion forum using java? Pin
avvisaan8-Jan-09 4:59
avvisaan8-Jan-09 4:59 
QuestionPort address Translation Pin
bobbo886-Jan-09 5:16
bobbo886-Jan-09 5:16 
QuestionHelp Please (java only please) Pin
bobbo886-Jan-09 3:40
bobbo886-Jan-09 3:40 
AnswerRe: Help Please (java only please) Pin
tamour9-Jan-09 11:56
tamour9-Jan-09 11:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.