1,522 Posted Topics

Member Avatar for why1991

why1991, the output you are seeing is the default toString() method of class Array being called. When using System.out.println() if you put an object in the parameter it will do whatever that object's toString() method tells it to. Unfortunately for you, that has nothing to do with the data in …

Member Avatar for jasimp
0
82
Member Avatar for av_javabeg

[QUOTE=av_javabeg;988046]could somebody help me creating a program through which i can control utorrent via bluetooth.. as in startin pausing or updating trackers and stuff.. could u please create 1 and explain me? plz[/QUOTE] No. Put some effort into the project yourself. We can help you with [I]your[/I] program if you …

Member Avatar for Salem
0
117
Member Avatar for endisbegun

[QUOTE=endisbegun;987916]oh and before i look too dumb haha i had included the 5 dollar charge in the base costs -_-[/QUOTE] Don't worry about looking dumb when learning a language. Worry about getting the basics, because they're essential down the road.

Member Avatar for jasimp
0
282
Member Avatar for majestic0110
Member Avatar for quicktpgo
1
268
Member Avatar for sknake
Member Avatar for jasimp

This one works pretty fast, even for large numbers. Like it says, aproxomite end number, and that is because it will generally go one fibonacci number above what you specify.

Member Avatar for ilovepython1978
0
150
Member Avatar for jasimp

All this snippet does is asks you for some information and then uses it and some math to guess your age. Pretty simple but I have to start somewhere.

Member Avatar for majestic0110
0
157
Member Avatar for mesbah.basir
Member Avatar for amit

[QUOTE=deepak1234u;608482]hi.... i make some pages but i don't know the flow of the project... like i make database, login page, registeration page etc...[/QUOTE] Did you read what he said? Create YOUR OWN thread, read the rules and announcements at the top of the page.

Member Avatar for praveenkonduru9
0
285
Member Avatar for joshSCH

Obviously, jwenting and joshSCH, you have not met the Democrats I have. Most of them, including me, want all the Illegals out of this country. They are breaking a law and need to be deported immediately. I though Stephen Colbert summed it up beautifully on his show, his "congressional bill" …

Member Avatar for GrimJack
1
1K
Member Avatar for ndeniche

Am i one of the only people who's doctor tells him to eat more? I think he is crazy because I think i am the perfect weight. Maybe my doctor wants me to become obese so that he can make more money off of me.

Member Avatar for ditz
0
1K
Member Avatar for wonder_laptop

It doesn't matter what kind of work it is we do not just do your work for you. Secondly he is going to let you know becasue it is a rule and he is moderator. You are also a new member and might know that rule so he is informing …

Member Avatar for huj_v_palto
0
188
Member Avatar for GrimJack

[QUOTE=steven woodman;613028] How about anti-matter, are you familiar with this as well. [/QUOTE] We had a thread about dark matter at one point; I think anti-matter was mentioned in it too. I think this is where anti-matter was first mentioned. [URL="http://www.daniweb.com/forums/thread79437-19.html"]Dark Matter [/URL].

Member Avatar for GrimJack
0
716
Member Avatar for tux4life
Member Avatar for spring3007

[QUOTE=spring3007;819264]So how did TooStep get an email address that I only typed once in my life, when I signed up for daniweb?[/QUOTE] Internet magic ;)

Member Avatar for jbennet
0
254
Member Avatar for serkan sendur

[QUOTE=serkan sendur;850413]you know everthing about this website, dont you :)[/QUOTE] I wonder why ;)

Member Avatar for WaltP
0
150
Member Avatar for Ancient Dragon

[QUOTE=GrimJack;817610]Have you noticed the evolution of the Simpson family -- now that they have been around for 30 years, they have started to insert lots of stories that explain what happened between marriage and kids.[/QUOTE] Wrong. They were doing that in the early seasons, at least before season seven, possibly …

Member Avatar for GrimJack
0
1K
Member Avatar for ivatanako

[QUOTE=loren_28;740056]kindly please help to solve my problem??? create a program that the user allow to input a 5 integers, that looking the lowest value?[/QUOTE] Create your own thread and show effort. No one is going to do your work for you.

Member Avatar for jasimp
0
213
Member Avatar for GrimJack

[QUOTE=jbennet;829963]Lol you cant watch it in the UK but i got the best error message ever "Please dont send any redcoats in retaliation"[/QUOTE] That's hilarious! :D

Member Avatar for GrimJack
0
130
Member Avatar for The Dude

Auditory : 60% Visual : 40% Left : 63% Right : 36% Jasimp, you are mildly left-hemisphere dominant while showing a slight preference for auditory processing. This overall combination seems to indicate a well-working blend of logic and judgment and organization, with sufficient intuition, perception and creativity to balance that …

Member Avatar for chriswellings
0
275
Member Avatar for Mr.UNOwen

Is this really the right forum for this question? Just Google Objective C tutorials and see if they follow the same path Java tutorials take. This is the Java forum, help with Java, not Objective C.

Member Avatar for jasimp
0
90
Member Avatar for MosaicFuneral

The problem I see is when someone (most likely a new member) posts to an old thread, asking for help, no one will see it (always imagine the worst case scenario, in this case it is every regular member has "Sage" mode turned on) and they will never receive an …

Member Avatar for verruckt24
1
216
Member Avatar for sammyboy88
Member Avatar for jasimp
0
51
Member Avatar for neutralfox

In addition to what James has said; if you want to be able handle more than one client you will need to create a thread for each client that connects.

Member Avatar for neutralfox
0
2K
Member Avatar for shevy24

[QUOTE=shevy24;827795]i'm new to this forum, i think u guys will tell me more about some things i don't know...cheers[/QUOTE] Welcome! I hope you learn lots of new things.

Member Avatar for Robdale
0
84
Member Avatar for PhiberOptik

When I made a chat application I had the same problem. If you had googled a little harder you could have found this solution. [CODE=java]//incoming is the JTextField that displays the conversation //doc is a previously initialized Document object. doc = incoming.getDocument(); incoming.setCaretPosition(doc.getLength()-1);[/CODE]

Member Avatar for PhiberOptik
0
138
Member Avatar for VinceAshbySmith

I'm confused what you mean by array keys. You also say you want to print specific elements in an ArrayList, then change and say Array. In any case, with the code you have provided, just change i++ to i+=2 That will print out every 2nd element.

Member Avatar for jasimp
0
80
Member Avatar for milgo

What error message are you getting? After a quick glance through I think one of the more beneficial things you could do is separate your classes into separate files. You also appear to switch between myItem and myItemname when calling methods on your Item object.

Member Avatar for BestJewSinceJC
0
165
Member Avatar for luke42

I'm not sure if there is a way to restrict JTextBox to only numeric values. What I would do is have the user input the data, then parse what every they input as a double. When you do that the decimal will be considered part of the number. When you …

Member Avatar for jasimp
0
204
Member Avatar for charlie81

[QUOTE=charlie81;828470]It says that class wk2 is never used and private static final char Y = 0 is never read locally and public void main(String[] args) { is never used locally[/QUOTE] That is because you are using the Eclipse IDE (most likely). Those are not compile errors or exceptions. They are …

Member Avatar for jasimp
0
159
Member Avatar for serkan sendur

[QUOTE=Narue;827750]Do you want a cookie or something? [/QUOTE] Sure. I love cookies :) @Serkan Just give up the argument. Cheating is bad. It is as simple as that. Look at the definition of cheat, nothing good is said about it. You should have let the cheating thing die, now it's …

Member Avatar for serkan sendur
0
178
Member Avatar for av11453
Member Avatar for ComputerGirl

@darkagn Student does have all those methods because it extends JFrame. @ComputerGirl Are you sure you ran it? When I run it I see the window but other than that it doesn't do anything yet.

Member Avatar for darkagn
0
137
Member Avatar for jdbarry

You created the method[CODE] calcAverageprice(ArrayList monthylPrice)[/CODE] Then you call the method in your tester class without passing the ArrayList parameter[CODE] calcAveragePrive()[/CODE]Also, as a side note, in your tester class you forgot the 'i' in import java.util.ArrayList;

Member Avatar for jasimp
0
190
Member Avatar for T'Scoopz

[QUOTE=T'Scoopz;827166] I didn't want to post my full code because it's too long and confusing to explain so I made a pseudo-version of it. [/QUOTE] Writing code that only you can read is a bad habit to get into. However, you made the right decision to not post it because …

Member Avatar for BestJewSinceJC
0
130
Member Avatar for bahr_alhalak

[QUOTE=bahr_alhalak;824554]what u mean ???[/QUOTE] He means do it yourself. Once you start writing and come across a concept you don't understand, ask for a little help (in the correct forum.)

Member Avatar for verruckt24
-3
194
Member Avatar for serkan sendur

[QUOTE=Rashakil Fol;825679]Your beautiful hands turn me on... I'm going to make it so dry for you.[/QUOTE] I think your attempt of "[making] [his] existence on this forum a miserable one." isn't working. He seems to be posting more often. [URL="http://www.daniweb.com/forums/post818433-15.html"]http://www.daniweb.com/forums/post818433-15.html[/URL]

Member Avatar for Ancient Dragon
1
668
Member Avatar for Grn Xtrm

[CODE=java] public Triangle(double s1, double s2, double s3) { this.side1=s1; this.side2=s2; this.side3=s3; } public Isosceles( double EQside, double otherside) { super(EQside, otherside); //calls triangle constructor } public Equilateral(double side) { super(side); //calls isosceles constructor. }/[/CODE] Look at all your constructors. You have one triangle constructor, and it takes three parameters. …

Member Avatar for Grn Xtrm
0
914
Member Avatar for jk_bscomp

To print the IP address of a client use [CODE=java]System.out.println(clientSocket.getInetAddress().toString());[/CODE] It will print the Ip address in this format [ICODE]/XXX.XXX.X.XX[/ICODE] >>How can i interpret this? It depends on what you want to do with the IP address or hostname.

Member Avatar for JamesCherrill
0
174
Member Avatar for VernonDozier

[QUOTE=VernonDozier;826518]I finally got around to linking a website to my posts, but it's not showing up. I typed in the website URL in the "Home Page URL" box in my Control Panel, but I'm not seeing it on my posts. Did I do something wrong?[/QUOTE] I didn't know it was …

Member Avatar for VernonDozier
0
168
Member Avatar for spec80

[CODE]boolean display = A.B(inputInfo);[/CODE] The return statement you used is legal. You can return false, true, or a boolean variable when using a boolean method. When you call A.B() that line of code becomes (basically anyways) the data type you are returning. That is why if you have a method …

Member Avatar for spec80
0
1K
Member Avatar for saraalaee

[QUOTE=saraalaee;825556]hello!! is there any body to answer my question : is "General List" a data structure(like ArrayList for example) in java language??if it is, plz tell me what it exactly is??I have searched but i didnt find anything about it!![/QUOTE] Don't use extra punctuation(such as !!!! or ???) next time. …

Member Avatar for jasimp
0
91
Member Avatar for blackcloud72

[QUOTE=blackcloud72;824417]Please help I am stuck. I am trying to retrieved text from a file named "text.txt" and reversing the contents to another file named "output".[/QUOTE] Your code doesn't even attempt to write to a file. It only reads. Try to write to the file and if you're stuck, show us …

Member Avatar for jasimp
0
114
Member Avatar for serkan sendur

[QUOTE=serkan sendur;825134]keeping a diary is a good thing, keeping it away from other people is hard..[/QUOTE] It's especially hard when you tell the world what is inside ;)

Member Avatar for serkan sendur
0
163
Member Avatar for The 1

When I programmed Blackjack I used an ArrayList to hold all my cards. To shuffle I simply had a for loop run about 1000 times, randomly picking a number 0-51, removing the object at that spot while at the same time adding it to the end. Just another idea for …

Member Avatar for VernonDozier
0
193
Member Avatar for TidusBlade
Member Avatar for happygeek

[QUOTE=Narue;797558]Hasn't The Dude already been featured as a member of the month?[/QUOTE] At first I thought so too; but I think it's Nichito we're thinking of.

Member Avatar for jbennet
0
617
Member Avatar for mercouri
Member Avatar for The Dude
Member Avatar for Dani

[QUOTE=crunchie;741318]I like the look, but where has the Techies Lounge gone? I probably cannot see it for looking :)[/QUOTE] All the tech lounges are in one large lounge now, in the community center, under IT Professional's Lounge. Lookin good Dani. I like it quite a bit.

Member Avatar for William Hemsworth
0
866

The End.