Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
93% Quality Score
Upvotes Received
12
Posts with Upvotes
9
Upvoting Members
11
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
5 Commented Posts

59 Posted Topics

Member Avatar for xterradaniel

When you want to read from or write to a file in Java you have to use different streams depending on what kind of file it is. You also have to take care of exceptions that can be thrown. I hope this link will help you: [url]http://www.underground-systems.org/forums/showthread.php?5157-Small-and-random-pieces-of-basic-Java[/url] I want you …

Member Avatar for nate.nelson.566
0
3K
Member Avatar for vickycodmaster

Hi People say that Linux Mint is a good choice if you are not used to run Linux. I have Mint Elyssa and really like it. Very easy to run when you are used to Windows. They have recently released Mint 7 Gloria. Other people say that Feodora is good …

Member Avatar for SirMG
0
373
Member Avatar for _Zak

Take a look here: [url]https://help.ubuntu.com/community/Video#Graphics%20Cards[/url] and here: [url]https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsAti[/url] the indication is that it should work. You can probably reach the terminal by pressing Ctrl+Alt+T. If I where you I would try to update and upgrade the system. I do not know if you are noob or leet so I will …

Member Avatar for khakilang
0
132
Member Avatar for I<LateNupurGuha

If you are new to Java I can understand your confusion. It really took me a while to get some grip of different protection levels. It is not anyone elses job to do your homework, but I will give you some links and explanation to start with and hopefully you …

Member Avatar for sneaker
0
173
Member Avatar for sneaker

I just bought and read Jim Waldo's "Java The Good Parts". (ISBN 978-0-596-80373-5) It is a very interesting book that gives you insight in what happens under the surface. This is not a book about learning how to program in Java. It is rather a book for those who have …

Member Avatar for sneaker
0
565
Member Avatar for sneaker

I can not see any right for any government to censur or cut off people from Internet, but it happens all the time. Are you sure that it can never happen in your country? I do not have any political opinion about Egypt, but I support the people of Egypt …

Member Avatar for Ancient Dragon
0
179
Member Avatar for mani2

@Johnclave111 I am not sure if it is considered polite in this community to hijack other peoples thread ;) but I will answer you anyway. A good starter to the world of Linux is, in my humble opinion, to install Linux Mint on an old computer or dualboot it if …

Member Avatar for sneaker
0
512
Member Avatar for wirth.jason

Larger programs can be built in many different ways using different designpatterns. We can take an application used in a customer service as an example. To store all information about customers, items for sale and items that customers have bought, there are a database to hold the information. This database …

Member Avatar for sneaker
0
110
Member Avatar for Maria5683

[QUOTE=vgi;1019459]How do you write the code that allows you to go back to the menu after choosing an option?[/QUOTE] Hi You can make it simple an add a new method like in this example below that is based on the class above. I have chanced the name of the class …

Member Avatar for fairy1992224
-2
46K
Member Avatar for sneaker

No one is ever alone... [url]http://www.thetrevorproject.org[/url] This thread is not meant as a start of a discussion, this link is meant as a helping hand for those out here that do not know where to turn for help. For those of you who do not know what I am talking …

Member Avatar for AndreRet
0
115
Member Avatar for extemer

You can also do it another way, if you want to :) First you make a String variable that holds the value of the double variable you are working with. You do this by using the method Double.toString() and the parameter you put in can either be the value directly, …

Member Avatar for extemer
0
12K
Member Avatar for justinwarner

Since it is the first chapter it makes sense if you should practice on concatenate strings and the difference between print and println.

Member Avatar for justinwarner
0
3K
Member Avatar for sneaker

[url]http://www.dailymail.co.uk/sciencetech/article-1305191/Facial-recognition-software-allow-ability-identify-people-photographs-internet.html[/url]

Member Avatar for WASDted
0
114
Member Avatar for erogol

There is GStreamer but I don't think it has bindings directly for Java. I think it is supposed to be used with C++ but I can be wrong so maybe it is worth looking at it.

Member Avatar for sneaker
0
75
Member Avatar for BboyRodimus

If you want to call your second constructor in the Address class you put in the names of the city and the state like in this example: bankAddress = new Address(Vancouver, Canada);

Member Avatar for sneaker
0
1K
Member Avatar for Siberian

Hi If you have not been there already this link: [url]http://www.w3schools.com/js/default.asp[/url] could be useful for you. Here you will find basic JavaScript syntax and examples. Good luck :)

Member Avatar for Siberian
0
137
Member Avatar for jman212

[QUOTE=jman212;1210922]I have this 2d array that sorts the rows but i can't sort the column.. i can't figure it out for the life of me. PLEASE HELP }[/QUOTE] Hi :) Since you have done all the hard work already and I have used your code as a base it is …

Member Avatar for sneaker
0
144
Member Avatar for the_preface

Hi :) Your code has no compiling errors. The question is if it does what you want it to do? First you fill the par array with random numbers between 1 and 2. Then you fill the strokes array with random numbers between 1 and 5. After that you ask …

Member Avatar for sneaker
0
142
Member Avatar for luvthug

I can not see that you ask the program to write to a file. Try: [CODE]pw.write(theFile);[/CODE]

Member Avatar for charlieruns
0
174
Member Avatar for KirkPatrick

Alternativs: 3) [B]uname -n[/B] 4) [B]uname -s[/B] [B]grep[/B] is a command that returns a string with the desired text. In my case the command[B] ifconfig | grep "inet addr" [/B] gives me the same result as [B]ifconfig | grep "inet"[/B] but [B] ifconfig | grep "addr" [/B]gives an other result. …

Member Avatar for KirkPatrick
0
190
Member Avatar for PunkRokPrincess

What languages depends on where on this planet you live. Look in the newspaper and see what the bigger IT company's are looking for. Look into the biggest technical university in your country and see what language they are teaching. This will give you a hint of what is in …

Member Avatar for sneaker
0
141
Member Avatar for honohanf

An array of chars is not a string. Here you can read more about arrays: [url]http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html[/url] Good luck :)

Member Avatar for sneaker
0
1K
Member Avatar for eshirley

[QUOTE=eshirley;1167250]I need to write a program that will output a list of all even numbers between 1-100. It needs to use a while loop then use a for loop. Any one got any help on how to do that?[/QUOTE] If it is a task where you must have both kinds …

Member Avatar for eshirley
0
225
Member Avatar for SQ89

[QUOTE=SQ89;1019756]I have two files of huge data contains string and integers and i want to read from it and use it to count characters of the string for example name ending with letter "A" containing "oo" or having letter "A" as seconf letter. i need some methods from the String …

Member Avatar for SQ89
0
145
Member Avatar for habibur

Hi This is not my table :) but I was just wondering if you already has been on this site: [url]http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html[/url] if not I believe there could be some useful information for you. This thread: [url]http://forums.devx.com/showthread.php?t=147403[/url] might possibly also be useful for you to reed.

Member Avatar for freesoft_2000
0
268
Member Avatar for dhanh90

Hi If you use a SringTokenizer whit whitespace as tokenizer the input string will be cut after each whitespace and you can more easily capitalize the first letter in every name if that is what you want. If you want to capitalize every letter in the name you have to …

Member Avatar for sneaker
0
321
Member Avatar for sneaker

I heard on the radio today that the trial in the Court of appeal (The second highest judicial instance in Sweden.) against Pirate Bay will be postponed until sometimes next year. This is because two persons in the court has been reported as challengeable by the lawyer of the prosecuted, …

0
28
Member Avatar for sneaker

I have honestly "stolen" this link from an other board ;) and before you watch this I would like to say that I do run both windows and linux, but I think this one is really funny :D [url]http://fun.drno.de/flash/howto_turn_windows_into_linux.swf[/url]

Member Avatar for ayoungpretender
0
147
Member Avatar for NT.

When you want to find shortest path between all pairs of corners you can use matrix multiplication where the result is a matrix[B] D[/B] = [B]d[/B]ij where [B]d[/B]ij is the shortest path from corner [B]v[/B]i to corner [B]v[/B]j.

Member Avatar for NT.
0
105
Member Avatar for Elektrikz

Hi :) Maybe this can be of some use to you: [url]http://www.onesmartclick.com/programming/java.html[/url] On this site there is a pdf file "Java to C++ Transition Tutorial" I know that you are going the other way but when I looked (very briefly) it compared a lot of code snippets in both language, …

Member Avatar for tux4life
0
282
Member Avatar for arpodojil

Tested on Emacs the output is: [COLOR="Red"]java.awt.Rectangle[x=0,y=0,width=100,height=50] java.awt.Rectangle[x=-10,y=-20,width=120,height=90][/COLOR] The same output you have. What are you expecting to get?

Member Avatar for sneaker
0
95
Member Avatar for rahmet

Hi You have not posted any code so this help will be very universal. For a classic menu you need a JMenuBar that you add to your container or JFrame whit the method setJMenuBar(); To the JMenuBar you then add a JMenu and to the JMenu you add three JMenuItem …

Member Avatar for quuba
0
93
Member Avatar for freelancelote

Hi GridBagConstraints.NONE means that the item (text) can not grow. Change .NONE to .BOTH and see what happens :D Good luck :)

Member Avatar for freelancelote
0
209
Member Avatar for T'Scoopz

Hi [CODE] while (myPhrase != null) { myArrayList.add(newPhrase); /****ERROR here*/ }[/CODE] You are adding your new phrase to your class myArrayList, not your array[] and I suppose that you want your array[] to store your phrases. I do not know how your file handler is build but if it takes …

Member Avatar for sneaker
0
85
Member Avatar for sneaker

[B] Online Security Conference[/B] Hi everyone :) If you have missed it I would like to share this information about a free open online security conference in November. 1. When and Where will SecurityTubeCon be held? Venue: Cyberspace Dates: 6th, 7th and 8th November, 2009 2. How will it all …

0
38
Member Avatar for and12

[QUOTE=and12;966497] [QUOTE=javaAddict;966439]The only bug I see is you accusing a programming language which has been around for decades, used by thousands, for your incompetence. Just because you can't get it to work doesn't mean it has a bug, it means you don't know what you are doing. It is OK …

Member Avatar for sneaker
0
274
Member Avatar for and12

Hi The focus is probably lost because there is a new event that gets focus and you have not programmed it clear enough to keep focus on the first event until that is finished. The easiest way is to "force" the player by disable every other possibility except the one …

Member Avatar for and12
0
88
Member Avatar for nateuni

Hi Do it have to be done whit Scanner? If not, use SavitchIn instead it will take care of things like wrong input for you as in the example below. (Google for the code, compile it and put it in the same folder/map as your own class.) [B]Example output #1:[/B] …

Member Avatar for cgeier
0
344
Member Avatar for and12

Hi Here is a place to read more about how an applet can read files on the local file system whit a link to a more thorough explanation of the applet security model [url]http://faq.javaranch.com/java/HowCanAnAppletReadFilesOnTheLocalFileSystem[/url] But be careful. [U]James advise to load files from server is the best advice. [/U] Good …

Member Avatar for VernonDozier
0
221
Member Avatar for tomo_uni

Hi Just want to add some things to think about. If any items like labels or buttons are going to be added to your two panels (those you want to add to the JFrame) do that first. Decide how you want to add the two panels by setting preferred layout …

Member Avatar for sneaker
0
214
Member Avatar for llemes4011
Member Avatar for JamesCherrill
0
280
Member Avatar for Maymoon

Hi Begin whit this site: [url]http://java.sun.com/javase/6/docs/api/[/url] and read about: Class Object Interface Cloneable Class Boolean You will find them in java.lang. Then Google for examples of these and begin to try from there. You can also Google to see if there are information on similar projects. Write your classes on …

Member Avatar for sneaker
0
248
Member Avatar for cesarnz

>...and why does it work if i declare a local variable and assign it the same value as before ?? Hi When you assign a local variable the value of the object and ask for a comparison to 0 whit the operator **==** the two values are compared. When you …

Member Avatar for cesarnz
0
117
Member Avatar for rje7

[QUOTE]Why does the thread 3 execute before thread 2 though iam invoking it before thread 3? [/QUOTE] Hi There are two kinds of memory used in Java. Stack memory and heap memory. Stack memory stores primitive types and the addresses of objects. The object values are stored in heap memory …

Member Avatar for JamesCherrill
0
1K
Member Avatar for iceskater2752

Hi Do not think that I do not agree whit VernonDozier, but I will give you some bone to chew on. [U]You have to make a strategy of how to solve the problem.[/U] 1) Decide the name of your program/class and make the shell of it whit the main method. …

Member Avatar for sneaker
0
143
Member Avatar for caierhui

Hi You have not added the buttons to the pane that is the reason why you can not see them. This line has no [B][COLOR="Red"] ; [/COLOR][/B] and that will give you an error when compiling. [CODE=JAVA]AverageScore = (quizOne+quizTwo+quizThree+quizFour)/4[/CODE] If you want to split your window area in to two …

Member Avatar for sneaker
0
124
Member Avatar for robben

[QUOTE=robben;935360]I've developed function which allows to skip to a desired line number within a text file (see function). However, what I would like to do is develop a function which takes me to the beginning of the file (i.e. line 0) after calling the navigateForwardToLine function. However, I can't seem …

Member Avatar for sneaker
0
203
Member Avatar for mahdi68

Hi =) Check this site and see if you have it all installed properly: [url]https://help.ubuntu.com/community/Netbeans[/url]

Member Avatar for peter_budo
0
402
Member Avatar for KimJack

Hi I am not sure that I understand your problem. Do you want the information to be showed in a text area in your GUI when someone select the proper menu? Or how do you mean? Please explain a little bit more =)

Member Avatar for KirkPatrick
0
123
Member Avatar for emint

i am sorry I do not have the time to go true all your code but I think you should look at the part when you close and returns to main window. My guess is that you have not made any method to clear out the solved maze so it …

Member Avatar for emint
0
115

The End.