|
mayorken (m)
|
hello fellow Java programers, can any one help me with materials or have useful tips on mastering GUI's and also how to write a constructor for a programe I also have a problem of not knowing wen to use declare a method public void.  Am some-how new 2 JAva:)
|
|
|
|
|
|
sbucareer (f)
|
He is the one that helped me learn Java. I find his method of teaching very good. Prof Fintan Culwin is a Java advocate and mentor. He has written my articles and books in Java, Ada, and Talk. He is currently investigating and conducting research in the areas of Document Originality. Like the plagiarism software etc.
Here is an extensive links to his website and free online books. Note for redistribution and wider audience usage, you MUST contact him. But it is free for personal use.
His website explains the concept of public, private and protected methods. The purpose of constructor is also explained in full detail. If you finish going through his website and do not hack it, it is better you had give up on programming particular Java.
If you do not understand anything in his free online material come and and ask me I will explain it to you. You have no excuse now not to lean Java and become marketable in the field of Java.
User Interface
Main web site
Make sure you do all the exercise at the end of each class
|
|
|
|
|
|
chydon (m)
|
mayorken,u declare a method public if u want it to be accessed by other subroutines or other classes,void means that the method returns nothing.As for GUIs,you should knpw that a constructor is used to manipulate all the components seen on the frame of the programme.Any further help,feel free to contact me via talk2chiddy@yahoo.com
|
|
|
|
|
|
kambo (m)
|
hello, get your hands dirty with practice coding then all the books, and text will begin making sense to u, u'll know intuitively when to declare a method public, private and so on. no escaping practice here.
|
|
|
|
|
|
adewaleafolabi (m)
|
does this apply 2people who don't know jack abt java
|
|
|
|
|
|
Damy (m)
|
U need meĀ U got me.
|
|
|
|
|
|
khuna (f)
|
Java is a very nice and challenging programming language even though my course mates in the university make a run from it, all java need from you to learn it, is determination and likeness feel it as if it is one of your best friends you never want to let go and i guarantee you with the right materials sky is your limit. You use the "void" keyword when the method is a non-returning one, for example the main method uses void because by default is a non-returning method. A method is said to be returning if a certain value or function has to be returned . for example here is a method calculating the average of three numbers and also return the sum and average: [color=#770077]public static double average(int N1,int N2, intN3) { double sum, average; sum=N1 + N2 + N3; average= sum/3; return average; } this just a method, in the main program you would have created a statement asking you to enter N1, N2, N3 into the system, and also the classname,main method and some java steps would have been done already, all you have to do in the main method is to call the method using the following command: average=average(int N1, int N2, int N3); the double keyword used in the method is the value returning type,meaning our answer would be in double[/color]
|
|
|
|
|
|
mimi83
|
hi sbucareer, pls, can i have the web address of the java tutor? my email address is mimi_rus@yahoo.comthanks a lot
|
|
|
|
|
|
|
|
|
|
webworld (m)
|
Hi mayorken,
If you are new to Java, I suggest you get through with the basic structures, syntax, expressions etc before going the GUI way. Starting with GUI doesnt help much. Even Deitel folks have realised this and the new edition of their book has GUI far latter in the book.
Get a book titled "Beginning Java Objects" (check Google)- its one of the best Java books I've ever read.
>> You declare a method public if you want it accessible to other classes.
>> You use a constructor to initialize a class i.e within the constructor, you set the initial values of your variables etc.
|
|
|
|
|
|