|
sayhi2ay (m)
|
exactly, if you keep declaring them as privates, then we will never get to inherit anything right ?
|
|
|
|
|
|
sbucareer (f)
|
sbu Have done has u sent.
I seriously do not understand that statement
|
|
|
|
|
|
|
|
candylips (m)
|
Oh no i thought we were speaking JSF and JSP here . it will be nice if we stick to the topic
@mydevbox Majority of the JSF components i see out there are just JSP taglib clones.
I was hoping JSF was going to give us a visual studio style programming model. Not some Ajax enabled components for things like table rendering, autocompletion and things like this.
I hope the technology keeps improving though. . . . but for now i'm gonna be sticking with good ol jsp and velocity templetes
|
|
|
|
|
|
sbucareer (f)
|
candylips, we are coming to it, I was trying to demonstrate desktop application development by request. Later we can see how we could use XML with JSF on desktop application development to modify MobilePhoneApplication software above.
Do you stay @ Eltham?
|
|
|
|
|
|
candylips (m)
|
alright cool.
|
|
|
|
|
|
sayhi2ay (m)
|
when you declare a variable as private, it would never be inherited by its children, ok, unless you play some other tricks, not trying to be funny, do u get what am trying to say ?
if you have a daddy class, then variables last name, first name, sex, address, age and so on, dont need to be declared again in the son class right? you can just inherit all the declarations by using son() extends daddy(), disregard the format, which is not complicatedly possible by used 'protected'
|
|
|
|
|
|
sayhi2ay (m)
|
hey! have you seen the source code of inbuilt methods?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logica
|
what's all this crap? did somebody miss the intended thread?
|
|
|
|
|
|
javaprince (m)
|
@sbucareer Yes, I was talking about your quote earlier on when u said I should re-MODIFY my code. But never mind.
@logica I think u are right. May be we should start a new topic on this, and then sbucareer can teach/explain the concepts of Desktop to beginning Java Programmer. Posting it here is actually truly MISLEADING, but really No one is really HURT.!!!
@sayhi2ay Try and go through the concepts of Scope very very well. Seems u have misunderstood it. private variables/methods - can only be accessed within the class they are declared. protected variables - can only be accessed by classes that inherit the class(i.e subclass) and classes in the same package package acess - this is the default when u don't specify anythin, - can only be accessed by Classes in the same PACKAGE. public - can be accessed by all.
Hope u Understand better.
|
|
|
|
|
|
sbucareer (f)
|
Nobody has come up with solutions for the delete button and clear button. What a programmers indeed?
|
|
|
|
|
|
javaprince (m)
|
@sbucareer Promise u i'll look into a solution for it. Internship as been so busy and almost sucking my heads off. The "mail sent stuff', how far "journey"
|
|
|
|
|
|
sbucareer (f)
|
But I have given you a head start here
|
|
|
|
|
|
sbucareer (f)
|
Look at them, they have all chickened out. Teach me Java, teach me to program. I am this and that simple delete function no one could even try to complete it. I am very disappointed.
Go on; learn needlework, programming is NOT for everybody the sooner you get it the better for you. Chickens!!! Quak! Quak!! Quak!!!
|
|
|
|
|
|
javaprince (m)
|
@sbucareer LOL. Never even knew there was a problem that needed soln in the first place. Its hard to follow the topic. Would have tried on it though. Advise, start a new thread for this, and I promise to try and follow and solve questions.
|
|
|
|
|
|
candylips (m)
|
I think we need a moderator for the programming section. I am tired of people hyjacking threads. This thread was supposed to be about jsp and jsf and then unrelated stuff started cropping up.
I am not against posting of code but people should try to stick to what the thread is all about. If you have something different to say why not open a new thread. It doesnt get easier than that
|
|
|
|
|
|