1,678 Posted Topics
Re: 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 … | |
Re: [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 … | |
Re: [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 … | |
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 … | |
Re: Hahaaa Don't give this 'homework kiddo' any help | |
Re: 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 … | |
It seems like the Hardware forums do not have buttons to start a new thread? | |
Re: 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* | |
Re: 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 … | |
Re: I might go to the after party but I'm still not sure if I can. | |
Re: 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 … | |
Re: 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, … | |
Re: 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 … | |
Re: 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 … | |
![]() | Re: If you want to complement Narue call her a coldhearted *****, she will appreciate it more. ;) |
Re: 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 … | |
Re: [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 … | |
Re: 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. | |
[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, … | |
Re: 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 … ![]() | |
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 … | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: Yeah I can but I'm not going to. I would explain it to you but you're clearly useless. | |
Re: [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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. ![]() | |
Re: 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 … | |
Re: 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? | |
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 … | |
Re: [QUOTE=Nick Evan;1204949]Users asking for help about once every two days.[/QUOTE] The joys of having your name in bold... | |
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 … | |
Re: [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. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: You need one more closing bracket; you have more opening brackets than closing right now. Put another closing bracket after line 53. | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
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 … | |
Re: 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. |
The End.