3,927 Posted Topics
Re: Perhaps it serves as a useful screening test as well. I mean, would you want to hire someone who hands over sensitive, private information simply because they saw a space on a form to provide it? "Greg Sullivan said this was required to ensure employees will protect the public trust." … | |
Re: Sure, trade the corporate media circus for a tinfoil hat circus at infowars... great plan. | |
Re: > "our children’s safety is our number one priority and we cannot allow to [sic] be compromised." Definitely. No one should be allowed to be around children nor go anywhere they might encounter or observe children. People can't be trusted around children - not even other children. Shutting down Google … | |
Re: Learn to indent code. Learn what "object oriented" means. | |
Re: Well, perhaps you [I]could [/I]do that, but there is no reason at all that you [i]should[/i] do that. If you want to provide method implementations along with an interface definition you should be using an abstract class. | |
Re: Well, if it's not compiling, read the error messages. They are there for a reason. One question on your search loop: How many times do you figure this will execute[code]for (i = currsize; i < currsize; i++){[/code] | |
Re: Just use a throwaway email address and it won't matter :) | |
Re: I think Java will get over its hurt feelings just fine, but the point of the post you are referring to is that just because you cannot get something to work correctly does not mean that it's "full of bugs". Claiming that it is is just a cop out. That … | |
Re: [QUOTE=Symbolistic;965349]Btw don't quote the code please, I wish to remove the code once answered.[/QUOTE] It doesn't quite work that way here and you're past the thirty minute edit window. | |
Re: I've not personally had any problems running Firefox 3.5.2 on 64-bit Vista. I've only had that system about a week though. | |
Re: If "noOfPhase" is an int, you will need to cast it to double to get a double value result.[code]double s = 1/((double)noOfPhases + 1);[/code] Edit: Oops, posted same time as above. Either of these will work. | |
Re: Sounds like you better get cracking then and show some work. Post back when you have specific questions. | |
Re: From the NeHe Gamedev tutorials ([URL]http://nehe.gamedev.net/[/URL]), this jogl port of Lesson 5 has some mouse-based movement code. That might be enough to get you going in the right direction: [URL]http://nehe.gamedev.net/data/lessons/jogl/lesson05.jar[/URL] | |
Re: The post title (not thread title) also says:[quote]Re: CPU Fan Error! Overclocking Failed! Over Voltage Failed![/quote]. Often splits still have that "Re:" carried over. | |
Re: It's a simple [URL="http://en.wikipedia.org/wiki/Ternary_operation"]ternary operator[/URL][code]condition ? true result : false result[/code]so if i==0 it will return strNum, otherwise it returns strNum.substring(i). | |
Re: You might consider: a) Sticking with the thread that you already started for this: http://www.daniweb.com/forums/thread212868.html You didn't bother to inquire further about anything mentioned in that thread. Show some consideration on the matter. b) Using code tags when you post code so it doesn't come out one big left-aligned wall … | |
Re: The axes are just lines you draw like any other and you use drawString() for the labeling as VernonDozier already mentioned. You have to draw everything yourself. There is nothing built in to support charting. | |
Re: I looked around here at work for the solution manual for my job, but never found it either. Life's a bitch sometimes. | |
Re: It's doubtful. Well, okay, "u" isn't a word. I think you mean to use "you". I hope that helped. | |
Re: Try including [icode]E.printStackTrace();[/icode] as well. You are discarding the more detailed info from the exception. I agree with Peter though. You probably don't have that jar on your classpath. | |
Re: In many (most?) locales, Sunday is the first day of the week, thus Wednesday is the fourth. From the Calendar.java source: [code=java] /** * Value of the {@link #DAY_OF_WEEK} field indicating * Wednesday. */ public final static int WEDNESDAY = 4;[/code] You can set the first day of week to … | |
Re: And pick a location for your thread and stick with it: [url]http://www.daniweb.com/forums/thread210653.html[/url] All further discussion should be directed to that thread please. | |
Re: You already have an active thread on this in which you ask the same thing: [url]http://www.daniweb.com/forums/thread213720.html[/url] Please do not create new threads to re-ask questions unless they are veering too far from the original topic to remain in the existing thread. | |
Re: It looks like [URL="http://launch4j.sourceforge.net/"]Launch4j[/URL] might be able to help with that. I've never used it myself though. | |
Re: [QUOTE=MidiMagic;956390]We have too much government. They should not have control of your site.[/QUOTE] You should write a letter and shake your fist a lot. | |
Re: [quote]How can I do this because right now if the class is run without an initial image, there will be an error.[/quote]Well, then make sure your code is not dependent on that image reference being set. A few null checks or whatever you need. It's your code, so "there will … | |
Re: General 2D graphics tutorial: [url]http://java.sun.com/docs/books/tutorial/2d/index.html[/url] 2D game tutorial: [url]http://www.cokeandcode.com/spaceinvaderstutorial[/url] | |
Re: Welcome! Please keep in mind we strive to be a community geared towards the professional. We strongly encourage all posts to be in full-sentence English. Please do not use "leet" speak or "chatroom" speak. Enjoy the community! | |
Re: Take a look at the [URL="http://java.sun.com/javase/6/docs/api/java/awt/Robot.html"]Robot[/URL] class. | |
Re: You really shouldn't need to install OpenGL. Your video driver should support it. You should be able to grab the [URL="https://jogl.dev.java.net/"]JOGL library[/URL] and be off and running with OpenGL in Java. | |
Re: [QUOTE=TheWhite;953875] which of course doesnt work..[/quote]So don't do that. [QUOTE=TheWhite;953875]btw, I know the way I did this was all jacked up. Can anyone help me? I'm sure theres a better way. I can try to explain more if I can.[/QUOTE]Extract the file before you run it. Look at the [URL="http://java.sun.com/javase/6/docs/api/java/util/jar/JarFile.html"]JarFile[/URL] … | |
Re: Look at the methods available on the [URL="http://java.sun.com/javase/6/docs/api/java/lang/String.html"]String[/URL] class. | |
Re: You're missing the parenthesis[code]public void start(){[/code] on that method and another after it. | |
Re: Use the add() method. [url]http://java.sun.com/docs/books/tutorial/uiswing/components/panel.html[/url] | |
Re: You don't insert JLabels into JLabels. Put them in a panel. Use a loop and an appropriate layout manager. [url]http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html[/url] | |
Re: By adding a repaint() call in mouseDragged() as well. | |
Re: From series of PMs on this: [quote=jooa]Hi, I have implemented the dragging however because in the example you gave me the paint draws everything in the shapes arraylist so when i drag a shape the orignal position is drawn. Also the path which the circle is dragged is also drawn. … | |
Re: By caling [URL="http://java.sun.com/javase/6/docs/api/javax/swing/JLabel.html#setIcon(javax.swing.Icon)"]JLabel.setIcon()[/URL] in whatever event you're using to process input. | |
Re: [QUOTE=yasaswyg;941288]i clicked it on accident. So im guessing you wont help me because youre an A hole.[/QUOTE] I think your technique on asking for help could use a little work. | |
Re: And don't forget about the Sun tutorials: [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html"]How to Use Progress Bars[/URL] | |
Re: Or [URL="http://java.sun.com/docs/books/tutorial/2d/index.html"]2D Graphics[/URL] :) | |
Re: Take a look at [URL="http://java.sun.com/javase/6/docs/api/java/awt/event/ComponentListener.html"]ComponentListener[/URL]. [URL="http://java.sun.com/docs/books/tutorial/post1.0/ui/componentlistener.html"]How to write a ComponentListener[/URL] | |
Re: You don't need the path equation. You just need the distance between the points. | |
Re: Closing this thread since you already have the other active thread on this issue. | |
Re: The JComboBox is just an editor for a cell value. The cell value itself is an object in your data model just like any other column. | |
Re: Unless that other application has an API that you can access, you can't make it save itself - it is a separate program. | |
Re: I don't see any reason not to delete them. They offer absolutely nothing to the content of the forums. Legitimate questions on project implementation may be useful, but "give me teh codez" posts are a waste of storage space (and so are the posters for that matter). |
The End.