1,678 Posted Topics

Member Avatar for bibiki

Changing the variable "size" in the Vizatuesi method has no affect on the value of the variable size that was originally declared in the paintComponent method. In fact, the 'size' variable in the paintComponent method and the 'size' variable in the Vizatuesi method are two completely different variables. When the …

Member Avatar for NormR1
0
138
Member Avatar for Ramy Mahrous

[QUOTE=iamthwee]I agree, well at least I think the moderator badges and stuff should be static and plain to see and carry the greatest weight of importance. However, it is probably something which is near the bottom of Dani's To Do list if she is considering changing it.[/QUOTE] Doubtful. It simply …

Member Avatar for happygeek
3
195
Member Avatar for Chichiro

[I]The difference is that Turbo C has not had an update in more than a decade.[/I] Please tell me you guys are both aliases and this is a joke. How many times do people with experience in a language have to tell you that something (TurboC) is inferior before you …

Member Avatar for vaultdweller123
0
547
Member Avatar for BestJewSinceJC

Problem: when the user prints the JTextArea, the text at the right-hand side of the "paper" is cut off, despite the fact that it is visible on the screen. Question: How can this be solved? I've tried two ways of printing the text area, and neither has worked as I'd …

Member Avatar for Krefie
0
510
Member Avatar for iskalabatoto
Member Avatar for student.09

Hints: Use a static variable to define the number of employees. Then create an array based on that. Example [CODE] private static int NR_EMPLOYEES = 10; Employee[] employees = new Employee[NR_EMPLOYEES]; [/CODE] Obviously this Employee[] means that you will need a class called Employee that holds all of the Employee's …

Member Avatar for student.09
0
280
Member Avatar for BestJewSinceJC
Member Avatar for Dani
0
309
Member Avatar for D boss

You're an idiot. Just letting you know in case the May 11th post date or the OP's 26 total posts didn't tip you off. And of course you're hoping for cooperation. Do people request things like this if they're hoping to be ignored? *Shakes head in disgust*

Member Avatar for Zwien
0
1K
Member Avatar for madoverclocker
Member Avatar for BuhRock

Your calculations appear correct, your method of displaying them appears incorrect. [CODE]JOptionPane.showMessageDialog(null, input + total);[/CODE] Saying input + total concatenates input and total into a String which then gets displayed to the user. So for example if the user inputs "10" and the total money should be .70 cents, your …

Member Avatar for NormR1
0
765
Member Avatar for WASDted
Member Avatar for happygeek
0
440
Member Avatar for Narue

Dani: I like how you've organized the tabs in each forum so that I can easily switch between filters. The option was there before (I think?) but I never used it. One idea for that area .. it would be cool if members could create their own "custom sorts". For …

Member Avatar for ~s.o.s~
2
856
Member Avatar for jephthah

I'm also gone for awhile. I've given it a fair shot but the Java forum where I spend most of my time isn't getting any easier to read. I'll be back when threads are easy to quickly assess (as far as which ones are important at a first glance), read, …

Member Avatar for William Hemsworth
3
854
Member Avatar for spartanace

You have several tests in your actionPerformed method; this implies that you should probably have a [I]separate[/I] ActionListener for each button. For example, since b1 is 'Up' and b2 is 'Down' you should probably have separate listeners for those. Otherwise, it is pointless to use an inner class and you …

Member Avatar for BestJewSinceJC
0
104
Member Avatar for Techwriter10

Apple sells their products based not on passion like you claim, but a desire to fit in. People use google products because they are technologically superior to competitor's products, which is something I do not think of Apple. To explain further, I do believe that Apple has good technologies, but …

Member Avatar for Techwriter10
0
363
Member Avatar for Ajantis

If you want to complement Narue call her a coldhearted *****, she will appreciate it more. ;)

Member Avatar for DarkT
0
352
Member Avatar for Serrafine

You could try serializing the JPanel class and seeing if that works as wanted when you load it. I have no idea if that will work or not for an image the user drew on the panel though, but it might be worth your time to try it out since …

Member Avatar for Ezzaral
0
2K
Member Avatar for jephthah

[QUOTE=Dani]The idea behind this is that if you're just directly quoting another post, it gets hidden by default, because it adds no new value to your post. [/QUOTE] And again, since nobody has responded to my complaint: if it "adds no new value to your post", [B]why not disallow its …

Member Avatar for Ezzaral
5
514
Member Avatar for .11

I think bucket sort or radix sort is supposed to be the best for that, but I don't remember the argument there, so look into it those topics.

Member Avatar for bigdognec
0
763
Member Avatar for BestJewSinceJC

[url]http://www.rollingstone.com/politics/story/29127316/the_great_american_bubble_machine/[/url] An interesting article, no matter what you make of it. I would have comments but I'm not in the know about many of the issues that were described in the article, so I'll refrain for now. It is a long article though, so if you want to read it, …

Member Avatar for sneekula
1
119
Member Avatar for jephthah

Dani you need to take the feedback of your users way more seriously. You didn't fix the quotes to anyone's satisfaction (still hidden by default, still hard to read due to black on gray) and you also have made no changes to the large fonts. (I know I said I …

Member Avatar for diafol
3
1K
Member Avatar for BestJewSinceJC

My friend is building something (in fact, he already built it) that requires an embedded device. The requirements are that it be as cheap as possible and be able to run a GUI that allows the user to select a drink or create a drink and have a little bit …

Member Avatar for printrobin
0
87
Member Avatar for alvarog9

Yeah but I have it written down on paper. Let me type it up for you - just give me a few months. Come back in August.

Member Avatar for POTUS270
-3
171
Member Avatar for SherifSharkawy

Plenty of people have posted various questions in the Java forum about developing for mobile devices .. Peter Budo usually answers those questions. But I do think it is a bit too specific for Daniweb. Those kinds of devices usually have their own communities dedicated to questions about development.

Member Avatar for SherifSharkawy
0
321
Member Avatar for Stevishere

I never stay logged in either, but I also never get that popup window before I've managed to log myself in when I return to the site.

Member Avatar for Nick Evan
0
365
Member Avatar for boyz

jwenting is correct and you can find the same explanation on java.sun.com . . JDK is an SDK. They probably just call it JDK instead for the same reason that so many other things in Java have that J.

Member Avatar for kvprajapati
0
484
Member Avatar for camdaddy09

Camdaddy, Don't be so offended, I don't know you, I've only seen one post from you on the forum and it was asking for other people to solve an assignment for you. Regardless of your motives, the reason for my assumption is pretty obvious. My assumption was apparently incorrect, and …

Member Avatar for vegaseat
1
198
Member Avatar for ansar basha.k

Yeah I can but I'm not going to. I would explain it to you but you're clearly useless.

Member Avatar for Abdel_eid
0
88
Member Avatar for vb5prgrmr

[QUOTE=Paul Thompson]Easy, click the "Permalink" see this feature makes more sense. I didn't realise the post number was a link for about 6 months, but people can easily know that permalink means exactly that.[/QUOTE] When I first came to daniweb, all information that I cared about (like everything vb5 has …

Member Avatar for vb5prgrmr
0
608
Member Avatar for dorotalp91

It can't hurt so when in doubt, do it. As far as I know the only possible consequence is that no other file will be able to open the file for writing until you close the FileWriter, but I also suspect that garbage collection might cause the FileWriter to relinquish …

Member Avatar for dorotalp91
0
116
Member Avatar for salowe

This is the Java forum, not Objective-C forum (which is the language you would need to learn in order to develop Iphone apps), so don't make non-Java related threads here in the future. You can check out my professor's resources on Iphone development. He has his own lecture material and …

Member Avatar for blud
0
136
Member Avatar for jephthah

All of the buttons are enormous. My first thought was "looks nice" but then I realized that 1. I liked the old colors and the contrast better. This shade of purple is not appealing. 2. Everything, including threads, buttons, etc, is too big now. 3. I can only navigate one …

Member Avatar for Dani
8
2K
Member Avatar for happygeek

Hola, yo soy Kyle. Pienso que estés una idiota porque dices un post muy mal. Tambien, la mayoría de las personas en Daniweb no hablan español.

Member Avatar for iamthwee
1
251
Member Avatar for kvass

That sounds like a 'hack' solution rather than a true fix. Assuming that your computer's decision of where to go is fast, you should just run all of your code on the Swing Event Dispatch Thread. For example, see how they call createAndShowGUI() in [URL="http://java.sun.com/docs/books/tutorial/uiswing/examples/components/ScrollDemoProject/src/components/ScrollDemo.java"]this example[/URL] (pay attention to the …

Member Avatar for BestJewSinceJC
0
474
Member Avatar for fabunmi adeniyi

Ok .. so as you read in items, populate them into a list. But before putting an item in the list, check to see if it is already in the list. If it is, do nothing. Why do you need a hash for that?

Member Avatar for jwenting
0
101
Member Avatar for BestJewSinceJC

I was always brought up that 15% tip was a standard rate. So it was surprising when my mom argued with me today that it is now considered rude to tip 15% and that 20% is now the standard tip. This is after I expressed surprise at her tipping over …

Member Avatar for avatar103
0
659
Member Avatar for Sodabread

[QUOTE=Nick Evan;1204949]Users asking for help about once every two days.[/QUOTE] The joys of having your name in bold...

Member Avatar for Ezzaral
0
192
Member Avatar for BestJewSinceJC

I think Dani has made up her mind on the quotes (since she had said as much) but I just wanted to bring up one more point. I just searched on google and was brought to [URL="http://www.daniweb.com/forums/thread86156.html"]this thread[/URL] .. do you see the issue here? All of the old posts …

Member Avatar for Ezzaral
0
114
Member Avatar for jephthah

[QUOTE=jephthah;1171101]yeah... but do you notice a similarity between this thread and another thread in Geeks Lounge?[/QUOTE] Yeah, this thread was incredibly clever. I almost missed your comic ingenuity, but this comment made me realize just how funny you actually are.

Member Avatar for vegaseat
4
189
Member Avatar for brianmack

You declared the variable courses from within the method collectCourseInformation. Therefore it doesn't exist outside of that method. Read about variable scope in Java.

Member Avatar for Tecko
0
470
Member Avatar for Nepenthe

Yes, that's right. And you're going to have to get input from the user asking if they are an institution or individual and how many books they want to buy.

Member Avatar for ubi_ct83
0
185
Member Avatar for OffbeatPatriot

Don't use hashcode to imply equality(). You can read the hashCode() method documentation [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html"]here[/URL], it explains how what you've said is not a guarantee. Besides, if you don't care about logical equality (i.e. the equals() method) and all you care about is whether or not the Objects are in the …

Member Avatar for jwenting
0
297
Member Avatar for ku95

You need one more closing bracket; you have more opening brackets than closing right now. Put another closing bracket after line 53.

Member Avatar for BestJewSinceJC
0
175
Member Avatar for Ancient Dragon

Btw Dani, something that would be really nice is if the links at the bottom had a way for you to use them within only a particular forum. For example, it'd be great if I was in the Java forum and I clicked 'unanswered threads' and only threads within the …

Member Avatar for BestJewSinceJC
0
127
Member Avatar for cwarn23

She has already heard this feedback but yeah, it is pretty much 100% consensus that some items are too large and some are too small.

Member Avatar for Froger93
0
249
Member Avatar for Fou7a

It means you referenced (attempted to call a method on) a variable that was never initialized (it is null because you never used the new keyword to create a new Object in that variable). Beyond that, [I]post using code tags[/I]. The # button produces code tags.

Member Avatar for BestJewSinceJC
0
260
Member Avatar for Rashakil Fol

Mosaic: the storyline is more likely based on Pocahontas than whatever it is you are suggesting. Regardless, the movie was pretty good. It had a lot of interesting action scenes and the cinematography was beautiful.

Member Avatar for Diamonddrake
1
323
Member Avatar for ku95

Since "reset" is not a constructor, you must define it as returning void if you do not want it to return anything. It's referring to line 35 where you say "public reset(int numCols, int numRows)" which is not a valid method declaration. Your other method declaration of reset is perfectly …

Member Avatar for wildplace
0
228
Member Avatar for BestJewSinceJC

On the old layout, the Mark as Solved button was easy to find and new members, and even some with nearly 200 posts, still rarely used it. Now it is, IMO, much too small. I knew the button would be somewhere and it still took me awhile to find. New …

Member Avatar for happygeek
3
224
Member Avatar for AJIThopeful

Isn't University of Phoenix an online school? Which would explain why the teacher doesn't get back to you and the adviser doesn't advise.

Member Avatar for jwenting
0
126

The End.