Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,113 members, 7,814,913 topics. Date: Wednesday, 01 May 2024 at 11:05 PM

Sbucareer's Posts

Nairaland Forum / Sbucareer's Profile / Sbucareer's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 38 pages)

Celebrities / Re: Which Celebrity Would You Like To Be Locked In An Elevator With? by sbucareer(f): 10:01am On Jul 20, 2008

All the beautiful girls in sun news online since they started showing those mouth wetting and finger leaking gorgeous girls
Computers / Re: I Am Bored: What Else Is There To Do On The Internet? by sbucareer(f): 3:46pm On Jul 19, 2008
x
Computers / Re: A Question For The It Experts by sbucareer(f): 2:54pm On Jul 19, 2008

Nothing
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 10:59am On Jul 18, 2008

But I have given you a head start here
Computers / Re: Software That Can Allow 2 Os'es To Be Used Simulataneously @ The Same Time by sbucareer(f): 5:19am On Jul 18, 2008

What are you on about? CYGWIN, is a Window Unix base command Line emulator. These people are talking about virtual box and devices that allows you to run two operating system in real-time.

You can download virtual box from here
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 5:09am On Jul 18, 2008

Nobody has come up with solutions for the delete button and clear button. What a programmers indeed?
Romance / Re: What If your Fiance by sbucareer(f): 2:04pm On Jul 17, 2008
yemivictor:
E be like say na d two of them dey follow do boju boju for house when them suppose dey school!

ROTFLMFAO!!!
Programming / Re: Sir What Is Different Between Programmer And Non-programmer? by sbucareer(f): 4:16pm On Jul 15, 2008
doyen:
non-programmers.I want compare and contract.And i will be very happy if i can be help out from this.Please One Mr Seun,actually i don't know you but i quite believe that you are the brain behind nairaland,please i need solution this topic sir.
Thanks.

It took you nearly two years to understand it.
Programming / Re: [Opinion] B.sc Computer Science In Nigeria? poo! by sbucareer(f): 10:02am On Jul 15, 2008
bidemi007:
i mean computer science syllabuss

If I may ask what does the syllabus covers?
Webmasters / Re: Metatag Keywords And Search Engine by sbucareer(f): 2:33pm On Jul 14, 2008
x
Programming / Re: Which Is Best For Web Programming, Php Or Java Or Both by sbucareer(f): 12:30pm On Jul 14, 2008

Afam how are you? Long time no huu? Hope you are aight?
Software/Programmer Market / Re: Check Out The Hottest Multi-feature Micro Finance Banking Software In Nigeria. by sbucareer(f): 10:00am On Jul 14, 2008
x
Computers / Re: How Can I Clon A Computer by sbucareer(f): 9:43am On Jul 14, 2008
[size=30pt]

@nazzyon

What da f**k?
[/size]
Programming / Re: Automated Teller Machine (atm) Program by sbucareer(f): 12:47am On Jul 14, 2008
phemiejay:
am looking for a certified hacker i have got deals

ROTFLMFAO!!!
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 10:30pm On Jul 13, 2008

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?

Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 10:09pm On Jul 13, 2008
javaprince:
sbu Have done has u sent.


I seriously do not understand that statement
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 9:43pm On Jul 13, 2008

You do not extend attributes of any class in Java instead you inherit the public attributes and methods of a super class or protected methods and attributes of the same class package.

private attributes makes your variable immutable by any inquiring accessor, you only expose them by using callbacks.Java calls them setter and getter, i.e let take a variable int qty


//callbacks
int getQty(){return qty;}
void setQty (int qty) {this.qty = qty;}

their first name must start with set for mutable and get immutable
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 9:17pm On Jul 13, 2008

sayhi2ay

You can always use a callback methods. That is the whole point of it, to stop your code looking like spaghetti.

Remember software cohession. Sorry, I am used to software developing to programming.
Programming / Re: Do You Need Help In Writing Your Project/ Documentation (chapters 1-5)? by sbucareer(f): 4:29pm On Jul 13, 2008

The post mentioned in the body of the message ARE YOU AN ENGINEERING, COMPUTER SCIENCE OR PHYSICS STUDENT?

I thought this was for student. You should have clarify your intentions and purpose of your communiqué. Accept my sincere apologies, although the communication was ambiguous.

If you are looking for such level of help, try freelance and getacoder

I am registered in both portals, and then I will be very happy to help you.
Programming / Re: Do You Need Help In Writing Your Project/ Documentation (chapters 1-5)? by sbucareer(f): 4:17pm On Jul 13, 2008

For our interest, what are you studying? Also, in what areas is your research based?
Programming / Re: Do You Need Help In Writing Your Project/ Documentation (chapters 1-5)? by sbucareer(f): 4:03pm On Jul 13, 2008

Listen, I am not arguing with you or trying to put you down in anyway. The premise here is to convince you that you do not need that guy's help or any other person.
Programming / Re: Do You Need Help In Writing Your Project/ Documentation (chapters 1-5)? by sbucareer(f): 3:45pm On Jul 13, 2008

That is how some people that their project was written for will write a grammatical and spelling error for their boss request on appraisal documentation for the company.

Maybe you should post here, your company's name and the type of appraisal you want documentation for?

Programming / Re: Do You Need Help In Writing Your Project/ Documentation (chapters 1-5)? by sbucareer(f): 3:26pm On Jul 13, 2008
Kobojunkie:
The service is for help in putting together Project documentation, not necessarily your actual project, by my understanding of it.

That is why a project supervisor is assigned to each student to help with issues like this. You are assigned first supervisor and second supervisor.

The reason is to monitor harasstment and prejudice on marking and scores and to help you with project structure and research and provide you with academic journals as it may cost you money.
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 9:51am On Jul 13, 2008


This is the MobilePhoneApplicationGUI

package Phone;

import javax.swing.UIManager;
import java.awt.event.*;
import javax.swing.JApplet;
import javax.swing.JFrame;
import javax.swing.event.*;

public class MobilePhoneApplicationGUI extends JApplet
implements ActionListener, DocumentListener{

private MobilePhoneApplication mobile;

public MobilePhoneApplicationGUI(){

mobile = new MobilePhoneApplication(this, this);
mobile.defaultMenu(MobilePhoneApplication.FALSE);
this.init();
}//End MobilePhoneApplicationGUI

public void init(){

this.getContentPane().add(mobile);
}//End init

public void actionPerformed (ActionEvent event ){

String source = event.getActionCommand();

if( source.equals ( "Call" )){
mobile.clear();
mobile.show("connecting, "wink;
mobile.enableCall(MobilePhoneApplication.FALSE);
mobile.setButtons(MobilePhoneApplication.FALSE);
mobile.enableEnd(MobilePhoneApplication.TRUE);
}else if (source.equals ( "End" )){
mobile.clear();
mobile.defaultMenu(MobilePhoneApplication.FALSE);
mobile.setButtons(MobilePhoneApplication.TRUE);
}else if ( source.equals ( "1" )){
mobile.show("1"wink;

}else if ( source.equals ( "ABC2" )){

mobile.show("2"wink;
}else if ( source.equals ( "DEF3" )){
mobile.show("3"wink;

}else if ( source.equals ( "GHI4" ) ){
mobile.show("4"wink;

}else if ( source.equals ( "JKL5" ) ){
mobile.show("5"wink;

}else if ( source.equals ( "MNO6" )){
mobile.show("6"wink;

}else if ( source.equals ( "PQRS7"wink ){
mobile.show("7"wink;

}else if (source.equals ("TUV8"wink){
mobile.show("8"wink;

}else if ( source.equals ( "WXYZ9"wink){
mobile.show("9"wink;

}else if (source.equals ("*" )){
mobile.show("*"wink;

}else if ( source.equals ("0+" )){
mobile.show("0"wink;

}else if (source.equals ( "#"wink){
mobile.show("#"wink;
}else{
mobile.show("You stole this phone!"wink;

}//End if

}//End actionPerformed

public void changedUpdate (DocumentEvent e ){
}//End changedUpdate

public void insertUpdate (DocumentEvent e){
if ( mobile.hasChar() )
mobile.defaultMenu(MobilePhoneApplication.TRUE);
mobile.enableEnd(MobilePhoneApplication.FALSE);

}//End insertUpdate

public void removeUpdate (DocumentEvent e ){
}//End removeUpdate

public static void main (String args[]){

JFrame frame = new JFrame("Mobile Phone"wink;
MobilePhoneApplicationGUI demo = new MobilePhoneApplicationGUI();

frame.getContentPane().add (demo);
frame.setSize(230, 600);
frame.setLocation(550, 100);
frame.setResizable(MobilePhoneApplication.FALSE);
frame.setVisible(MobilePhoneApplication.TRUE);
frame.pack();
frame.show();

/*frame.addActionListener(new ActionListener (){
public void actionPerformed (ActionEvent e ){
System.exit(0);
}});
*/
frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
}//End main

}//End MobilePhoneApplicationGUI

Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 10:52pm On Jul 12, 2008

I have explained it above. How to create a pacakge.
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 10:10pm On Jul 12, 2008


Here is the bytecode and a HTML file to run with AppletViwer

Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 9:19pm On Jul 12, 2008

malone5923,

Asfar as I know all the current codes above are fully debugged and fully functional. Copy and paste it in a text editor like Notepad or WordPad and save them as .java respectively and run.

Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 2:59pm On Jul 12, 2008

sayhi2ay

Ok, you have learned that yeah, and certain that a variable declared without an identifier is automatically declared private by the JVM. Thank you sayhi2ay for that info.

But remember, it is recommended to physical write and identifier to a variable to guarantee that its behaviour will remain consistant to the written program.

Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 2:56pm On Jul 12, 2008


In the MobilePhoneApplicationGUI class we have a method called actionPerformed(ActionEvent event) This is because any class that implements an interface promises to implement it supplied method.

In our case, we implemented ActionListener class. Its supplied a method called actionPerformed (ActionEvent e), so we must implement it ourselfs. for help consult Java API

This message is for our method in the MobilePhoneApplicationGUI. So you can copy the method and paste it over the one above.

public void actionPerformed (ActionEvent e){

}//End actionPerformed

Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 2:47pm On Jul 12, 2008

Yes. TestCase in a different package.
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 2:42pm On Jul 12, 2008

sayhi2ay

They are by default public identifier, try it yourself. Write a class in a pacakge and another class in a different package and create a TestCase class and try to access the attributes of each identifier without private clause.

Another reason is to make sure that JVM during the runtime encapsulation associate an attribute with its appropriate identifier.
Tell us your answer.
Programming / Re: Java Server Pages (jsp) Or Java Server Face(jsf Which Path To Trend? ? ? ? by sbucareer(f): 12:38am On Jul 12, 2008
[size=1pt]

With a bit of luck, we are trying to model something like this. I hope people contribute their own ideas.

I am not going to comment the above code too heavily so you can figure out what is happening. 

Warning
The code might be full of Bugs, debug as you can to get it working. Don't post comments back here that you cannot debug
[/size]

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 38 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 35
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.