₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,955 members, 8,447,931 topics. Date: Sunday, 19 July 2026 at 10:51 AM

Toggle theme

Segsalerty's Posts

Nairaland ForumSegsalerty's ProfileSegsalerty's Posts

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

ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 10:24pm On May 14, 2011
Fayimora:
Was wondering aswell. Why da heck is the discussion elsewhere?

Does it really matter?? The app is in what developers call beta stage AKA public testing.


What everyone should be talking about is the app. What are the drawbacks. What bugs have you come across. Things like this,
Na so ooooo

[quote author=dell_net link=topic=662358.msg8319957#msg8319957 date=1305388609]I believe you use java to develop your apps, right?[/quote]Yes JAVA ,
ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 10:03pm On May 13, 2011
I posted smth abt an application , no one is interested in what its about or whts it , all they pop-on to start saying is about a trillion dollars SDK and managing my free timehuh huh

So, am just confused ,
anywayz, thts all i ve to say
ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 12:35am On May 12, 2011
shocked shocked shocked shocked shocked didnt expect smth like this !
ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 10:58pm On May 10, 2011
[quote author=dell_net link=topic=662358.msg8291023#msg8291023 date=1305021913]Introduce you to what? interest in what?[/quote]
do you know Android SDK? Blackberry SDK?
Andriod and Blackberry Applications wink
ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 12:26am On May 10, 2011
Nope, all these street Automobile Engineers in the street of Lagos that just get them hands on ur beautiful car with the aim of fixing a lil problem on it using them Try and Error algorithm grin, They are always called Mechanics --> Imagine, thats what the guy is comparing me to. Sucks undecided undecided lipsrsealed lipsrsealed embarassed embarassed embarassed embarassed angry angry
ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 11:04pm On May 09, 2011
[quote author=dell_net link=topic=662358.msg8284419#msg8284419 date=1304935278]I dont need trial and error. It is your enthusiasm and free time that you have I want to introduce you to something of making money.[/quote]cry cry so sad that this came from ur mouth !
Well, anywayz, u re not the first person to introduce me to this , i just havent found interest in it! grin
And, mind u, i dnt do trial and error, am not a Mechanic shocked
Tech JobsRe: I Need A Young Php Programmer,plz Call 07065771217,07036074869 by segsalerty(m): 10:43pm On May 08, 2011
contact me : segsalerty@yahoo.com or reach me on : 08025481373
Tech JobsRe: How To Program Mtn Sims To Make And Receive Free Mtn To Mtn Calls by segsalerty(m): 10:08pm On May 08, 2011
ezeuba:
Until when Nigerians discard this culture of free booze, there will always be local mugus to be scammed. There is no way under heaven you can make free calls to any network, without any catch to it. Even staff lines of these networks ONLY CALL OTHER STAFF LINES FREE, never other numbers on the same network. I work with Visafone and I can only call other staff for free. Other Visafone lines and other networks I call with my monthly free credit sent to my official line every month. Let's be wise and not just jump when we hear FREE.
True talk smiley
So sorry for the dude that was eventually scammed ! shocked
ProgrammingRe: You Will Surely Want To See This by segsalerty(op): 9:57pm On May 08, 2011
Dolemite:
Lol, segs the businessman? grin
This is actually free ! cheesy
Including the source codes if requested for

[quote author=dell_net link=topic=662358.msg8280911#msg8280911 date=1304877469]do you know Android SDK? Blackberry SDK?[/quote]I dnt know it, but, i can know it anytime i need to know it ! smiley
ProgrammingRe: Help On Java by segsalerty(m): 9:53pm On May 08, 2011
Fayimora:
Basically what you need to really understand is casting. Whether down or up, its still casting. So am going to explain casting.

First, you must understand, that by casting you are not actually changing the object itself, you are just labeling it differently. The main purpose of casting is Polymorphism. The ability to re-use objects with different instances.

Take a look at this picture;
https://img402.imageshack.us/img402/999/updownh.png

Now say you have this;

    Cat theCat = new Cat();
    System.out.println(theCat);
    Mammal m = theCat; // upcasting
    System.out.println(m);


Now The object i could have created is

Mammal m = new Mammal();


But i want to be able to use an instance of cat, so what I do is cast the object reference of Mammal which is m to hold an instance of Cat class.

Thats is what I have done above. If you are familiar with polymorphism, then its the same thing.


    Cat theCat = new Cat();
    System.out.println(theCat);
    Mammal m = theCat; // upcasting
    System.out.println(m);

This can also be written as

    Mammal m = new Cat();
    System.out.println(m);


Upcasting is normally done automatically but downcasting must be done manually.

An example of downcasting is;

    Cat c1 = new Cat();
    Animal a = c1; //upcasting to Animal
    if(a instanceof Cat){ // testing if the Animal is a Cat
        System.out.println("It's a Cat! Now i can safely downcast it to a Cat, without a fear of failure."wink;       
        Cat c2 = (Cat)a;



Now you have to note that thee is a criterion for casting. This s because a ClassCastException would be thrown if  the class you are trying to cast is not an instanceof(more or less a subclass) the other class. Sorry if you don't understand. But you would understand better if you put it into practice.

You should ask, is Cat a Mammal? Yes, it is - that means, it can be casted.
Is Mammal a Cat? No it isn't - it cannot be casted. So yeah thats where inheritance comes into play. They must have tht is-a/an relationship.

Be happy to answer any further questions.
Good Luck
nice one, Good! smiley
csharpjava:
Try this youtube video it should make it simple for you to understand


https://www.youtube.com/watch?v=3ILIFUoFxmE
cool !

Dolemite:
Can someone please explain to me in dummyproof terms what casting (upcasting, downcasting) means especially in objects, ive gone through tons of turorials and still can't seem to get it. . .in simple terms please.
Hope u now understand wat these terms mean now? wink
U surely need to understand all concepts of Programming , OOP in particular before GUI , lolz huh
ProgrammingYou Will Surely Want To See This by segsalerty(op): 1:23am On May 08, 2011
This is HOT ,
I actually created a Group on Facebook thats named
FREE NIGERIA MADE SOFTWARES
via url
http://www.facebook.com/home.php?sk=group_204617316221147&ap=1
The Hottest Post on the wall is as follows
This is free for Interested Members to download, Test it and see if worth it a Chance for you to have some added penny loaded in your pocket by Introducing it to those you think it might possibly be of use to (*Charge them installation and Maintainance fee*). This Software Application is Named (E-SUPER MARKET UNIVERSAL SOLUTION) --- Targetted to Solve, all Stores, Markets and including Warehouses that has to do with proper Cash & Stock Records / Management ! Download url is : http://www.sendspace.com/file/cr2vdf
Free to Join , be a Member and you will love it !
ProgrammingRe: Please Read by segsalerty(m): 9:40pm On May 07, 2011
csharpjava:
Below is the comment I got from someone I helped with thier GUI coding on this forum.
[quote author=The Person u helped ]Bout?
About what I'm about. . .even before he gave me the code I had built the gui on my own but still had to show appreciation because he took time off to do that for me. . .

Quote from: segsalerty on May 04, 2011, 10:21 PM
This Thread is getting more and more interesting ! am Enjoying this, i fold my harms and watch now ! Cheesy Cheesy Cheesy Cheesy Cheesy
if(segsalerty.amused()==true)
{
seg.kill();
}[/quote]undecided lipsrsealed undecided lipsrsealed huh huh huh

So, calm down bro, stop taking this thread to another dimension ? okay ? the Poster has hi POINTS and people that grabbed it already did. dnt get things complicated grin
ProgrammingRe: Help On Java by segsalerty(m): 11:04pm On May 04, 2011
Fayimora:
Man go to bed, lolzz
i aint going anywhere, am gonna stay on here to watch u hommies grin till i tire
Dolemite:
if(segsalerty.amused()==true)
{
seg.kill();
}
uhmmm ,
while(Dolemite and others keeps posting){
i continue to dey watch!
if(Dolemite.sex == "female" && Dolemite.getKiss() == true){
Smilez all over my face and happy
break;
}
}
Tech JobsRe: Need An Event Booking Website Urgently by segsalerty(m): 10:30pm On May 04, 2011
Fayimora:
Yeah use ma bro segs, He's good. He would do it for you in 8hrs? Am i right segs?
kidding me ? right ? huh
francis33:
I have sent the spec to segsalerty@yahoo.com
Cool, bt we didnt reach sweet terms, Not my fault and urs thou! shocked shocked undecided undecided undecided
Scopgel1:
Hello my name is samuel owner of scopgel.com i will like to do the web developement for you my phone number is 08061255943
Just checked on ur website , i bet this assignment is for u! shocked shocked
dazz4me:
I will do it free for you, give me fuel 4 my gen then d job is done : dazz4real2000@yahoo.com
Fuel tanker is on the way , watch out ! cheesy
Fayimora:
Lmaoo like seriously??
Yeah man , No Light for here na ! cry cry cry cry cry
ProgrammingRe: Help On Java by segsalerty(m): 10:21pm On May 04, 2011
This Thread is getting more and more interesting ! am Enjoying this, i fold my harms and watch now ! cheesy cheesy cheesy cheesy cheesy
ProgrammingRe: Help On Java by segsalerty(m): 11:30pm On May 03, 2011
Fayimora:
NO offence but seems to me like your using this thread to do your assignment or mini-project or whatever. There is something called the JAVA API. There is also something something called JAVA DOCUMENTATION. Lastly there is something called JAVA TUTORIALS.

Am not saying you don't work on your own but to be honest if you have taken time to look at these stuffs, you wont see yourself posting things like this. These are things you can learn generally there(java tutorials). You don't just learn by solving questions.Thats what makes you better but how do you learn? There is a BIG difference between learning and getting better. You learn to know something but practice to get better.

You have to go through the Official tutorials and books aswel. If you need any say so and I would make it available to you to download or if you are the type that prefer hard copy books. I can buy one for you here and send to you. Its not gonna cost me anything.

Going back to the subject, Also you need to read the documentation, not all at once but bit by bit until you finish it. Lastly, you have to get familiar with using API's.

There is a really big difference between a programmer and someone who knows how to write code. There is also a big difference between a Java programmer and a Programmer. Try to look at this over and over but what I have to tell you is that you really don't want to be someone who just knows how to write code nor do you want to be just a Java programmer

I just hope you see the GOOD in this post and nothing else.

Good Luck.
U really make good sense here bro, But, considering the reason why we need to help her, we need to let her realise her duty also so that all will react together and be a better result in return for her ! She should try to understand ur point and think twice. She will do better! I trust her! kiss

Dolemite:
I AM using this to do my assignment. . .on a deadline and I have 2 more exams to prepare for? I do solve some problems, i don't just come in here begging for code, i came in here with my own code? which means i did my work? so chill bro. . .

. . .and how can i become a programmer if i don't know how to write code?
so, u are here , u didnt say anything to my response, u denied me abi ? angry cry Dont get mad at the guy. He is so much also trying to help. Just do whats necessary and Lets get back to the Brain work ! wink
Tech JobsRe: Need An Event Booking Website Urgently by segsalerty(m): 9:40pm On May 03, 2011
contact me segsalerty@yahoo.com or call 08025481373, let me know wat u have to offer , i stay in lagos. i like sharp sharp job like this wink
ProgrammingRe: Help On Java by segsalerty(m): 4:12pm On May 03, 2011
U shldnt ve proble, doing this at all, Note; ur GUI wont render those components u added using add() funtion, Its either u call on getContentpane().add() or introduce a JPane to add() those conponents and use getContentPane().add(the JPanel) , Get that, To implement ur ongoing codes on GUI, all u nid is just intialize the Aircraft class , Then add actionListeners to ur buttons to call to the Aircraft's necessary function. Try this out urself, show smth new and i will definately help u with codes to do this in the simplest form, Just do ur own homework on working on the idea i gave u, u can do smth beta. Sit down, calm down and do it urself! Sorry for my short explanations, i am on mibile, let me see what u ve got before i logon my sys tonite.
Tech JobsRe: How To Program Mtn Sims To Make And Receive Free Mtn To Mtn Calls by segsalerty(m): 11:28pm On May 02, 2011
NnamdiN:
Mr. Thief, how far? U r back with a new username abi huh No longer rolex, rolex 101, free call huh Well dis is just to remind u that d spirit of d 2k and 1500 mtn r.card u scammed me of, some yrs ago would continue to hunt u 4 life.
i cant stop laughing , lolz grin grin grin shocked shocked shocked cheesy cheesy cheesy cheesy tongue tongue tongue tongue grin grin grin
ProgrammingRe: Fingerprint Authentication In Vb.net Application by segsalerty(m): 10:05pm On May 02, 2011
Late cry cry cry cry cry But, i will manage it! grin
ProgrammingRe: Help On Java by segsalerty(m): 10:00pm On May 02, 2011
Wow, this post is so interesting !
I started seeing HasMap , CoalMap solutions lipsrsealed , blah blah blah, ;DDatabase solutions , Real heckical codes + algorithms. cheesy

Aal Izz well, Very Brilliant of u Dolemite for solving this , refering to what i provided u that refused to work for u sad

public void removePassanger(String nameOfPassanger){
int passangerIndexToRemove = 0;
for(Passangers p : pass){
if(p.getName().equals(nameOfPassanger){
pass.remove(passangerIndexToRemove);
}
else{
passangerIndexToRemove++;
}
}
}

which i doubt if it could refuse to if u actually implemented it well, well, Good to see u put urself in the run of finding another way of fixing urs in ur own coding style, shows u re really learning and this thread is actually helping ur Java skill, smiley smiley smiley smiley am so so happy for this, Keep it up !

@others,
Pls, dnt make problems too complex for whoever u wanna Help, they wanna learn from u. Try to solve it for them the simplest way, readable and understandable by a 2yrs old kid. This thing called programming is too simple and requires lil tacktics NOT bringing up WILD Algorithms. GBAM !

smiley smiley smiley smiley smiley smiley smiley
ProgrammingRe: Fingerprint Authentication In Vb.net Application by segsalerty(m): 3:09am On May 02, 2011
lipsrsealed undecided cry cry cry No THank to me ? sad huh
ProgrammingRe: Help On Java by segsalerty(m): 2:39am On May 02, 2011
candylips:
removed
u wanna remove me ?  cry cry cry cry or  think i ran away ? shocked shocked shocked

Dolemite:
Segs has a better knowledge of my code. I appreciate your help.  smiley
U really love to make my head swell the more, My Head will just Burst one day and there will be No Segsalerty to call again after my head is gone off my body,  there are other dudes that are very brilliant here,  nobody is [b]Perfect[/b]est grin

Fayimora:
Lmao, wow! but thats a bit harsh on those that wanted to help and I would have fallen into that cause i wanted to help. Would get Segs for you now,
Lol Dude, she really didnt means to, she is just kinda used to giving me those kisses kiss , u know ? but,  this time around, its your turn to have some sweet kisses on your lips to show alot of Appreciation after u've helped her! Thanks in advance wink wink wink wink wink

Dolemite:
Lol, no no he's been helping me with the code, all help is welcomed  please. . . grin
Good ! u just spoken well smiley smiley So, post the problem code so that he can help u,  what if i travelled nko? huh
ProgrammingRe: Programming Lecture by segsalerty(m): 11:04pm On Apr 29, 2011
Meemeh:
I need a certified oracle programmer for on-line lectures
Uhmm,  how much can u afford to pay me ? I have my OCM as a Java Developer on the way,  already have my assignment!
cry cry cry crybut, too kinda busy to start now, i still have more than 10months to submit! grin
ProgrammingRe: Help On Java by segsalerty(m): 12:31am On Apr 29, 2011
Dolemite:
Thanks, good to have a genius like you here, you're the ONLY useful person here on nairaland!! grin
U are so much welcome! u dnt need to thank me again, u already gave the sweet kiss kiss kiss kiss kiss kiss kiss some post back! lolz
And mind u, am not the ONLY useful person here on nairaland ooo ! pls, dnt make my head over-swell oooo! We so much have so many talented people on here. ok?

Fayimora:
Hehehe !!!!
Da Main Boss, whats that suppose to mean ? wink
ProgrammingRe: Fingerprint Authentication In Vb.net Application by segsalerty(m): 3:49pm On Apr 28, 2011
sad so sorry for u coz i think i can help if u are using Java only , go to these website for Fingerprint SDK

http://www.m2sys.com/

or

http://www.fileguru.com/VeriFinger-Standard-SDK--Windows-Demo-/download

hope this helps wink
Tech JobsRe: I need a Cooperative Software (web based) by segsalerty(m): 3:39pm On Apr 28, 2011
imagine lipsrsealed undecided , u want a web based Software or what u call it and u are begging for source code ! grin grin grin grin
ProgrammingRe: Keeping Only The Jbuttons In A Selected Row Active In A 2d Array by segsalerty(m): 10:23pm On Apr 27, 2011
csharpjava:
segsalerty

The project I'm working on at present needs to to be kept secret :-Xfor now, but later I will post the full code here, after the project has been completed.

Thanks for your help so far.
You are so much welcome , no problem ! cheesy
ProgrammingRe: Help On Java by segsalerty(m): 10:14pm On Apr 27, 2011

public class Aircraft
{
private ArrayList<Passengers>pass=new ArrayList<Passengers>(); //holdin all passangers
private int seats;
private String name;
private int fare;
private int weight;
private int luggage;
private int tpw;
private int totalfares;
private Passengers p;
public void addPass(String i,int f, int w, int l){
name=i;
fare=f;
weight=w;
luggage=l;
p= new Passengers(name,fare,weight,luggage);
tpw=w*l;
if(tpw>250){
System.out.println("Too much weight"wink;
System.out.println(name +" Cannot be added!"wink;
}else{
pass.add(p); //add the passanger
totalfares=totalfares+fare; //add to the total fares
System.out.println("You have just added "+name);
}
}
public ArrayList<Passengers> getPass(){
System.out.println(pass);
return pass;
}
public int getTotalfares(){
System.out.println(totalfares);
return totalfares;
}
}


this shld help?
Tech JobsRe: I need a Cooperative Software (web based) by segsalerty(m): 6:48pm On Apr 27, 2011
I can develop one for u in a very short period of time and i will dash u the source code with it!
Call me, 08025481373
ProgrammingRe: Keeping Only The Jbuttons In A Selected Row Active In A 2d Array by segsalerty(m): 6:44pm On Apr 27, 2011
Sure, very well, U shld be able to do that irrespective of weather enbling 4buttons + the 1clicked on the row or 4random buttons + the 1clicked, Whatever, its just so easy to accomplish if u have being following the tasks from the scratch! I demand u post ur code here pls, Lets see if we are really helping u guyz. Lets work together and make all of us pro!
ProgrammingRe: Help On Java by segsalerty(m): 6:34pm On Apr 27, 2011
U did quite well with d Aircraft class desing, its just looking as if u re getting stucked trying to get ur class properties. Well, i get ur logic, will do smth to it when i connect to my PC tonite, coz am on mobile rite nw. Pls, be patient wit me.
****when i said nothing wrong wit the modules i provoded to u earlier, i meant those functions i provided to u will do there job as u required if u use them in the right way in ur class to suit ur need.

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