3,927 Posted Topics
Re: With a null layout, use setLocation() or setBounds(). | |
Re: Please elaborate. "Many errors" doesn't give anyone much to work with. | |
Re: I believe he was referring to the removing and recreating all of your components each time instead of merely updating the data they contain. Update the data in your table model. You don't have to throw everything away. | |
Re: Yes, those components are not part of the Java SE API so you will need to provide classpath entries to the locations of the jars containing the Java EE api implementations. There should be some info in your Tomcat docs on how to compile those source files. This article may … | |
Re: Continued here: [url]http://www.daniweb.com/software-development/java/threads/385687[/url] Please do not create multiple threads for a single question. Closing this one to forestall two active threads on this. | |
Re: HTML is a markup language. It is not a scripting language. | |
Has advanced search simply moved or gone away entirely? It looks like search has changed a bit and I can't seem to get to the advanced search screen. | |
Re: Don't know why another thread was necessary: [url]http://www.daniweb.com/software-development/c/threads/385432[/url] | |
Re: Folder permissions are the likely culprit. Is the exception giving you any more information? | |
Re: "nothing happens" is a bit thin to go on. What jars and what code? | |
Re: Consider that bills and coins are not fractional. They are whole integers. | |
Re: [QUOTE]Do the standard IDEs have options that would warn about the condition?[/QUOTE]Yes, Netbeans warns you of that. [QUOTE]When do you ever want to shadow a class level variable with a local definition?[/QUOTE]No good case for it really comes to mind. It's just likely to cause confusion at the least and … | |
Re: Post your current code and explain which part you are having trouble with. | |
Re: This thread was happily sleeping in 2007 before Niluk decided to hijack and resurrect it for a completely unrelated question. I'm going to close it here since I imagine the OP has solved his question. | |
Re: [B]> Can someone help me? [/B] Not if you don't ask specific questions. | |
Re: Unrelated note on the code: These code blocks only seem to vary by the image offset[CODE] BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png"); character = img.getSubimage ((32 * animationNumber), (32 * [COLOR="Red"]offset[/COLOR]), 32, 32); animationNumber ++; if (animationNumber == 4){ animationNumber = 1; }[/CODE]so you could easily factor out all that repeated … | |
Re: It seems pretty obvious from [URL="http://www.daniweb.com/web-development/php/threads/384556/1656655#post1656655"]this post[/URL] that he is irritated that you bailed out of this ongoing thread and started a new one to go in some other direction. | |
Re: You could use a math package like javax.vecmath, which has several matrix classes with invert() methods or you can do the math yourself. You can find the math easily on the net. | |
![]() | Re: Start with using valid math symbols so that your program will compile. |
Re: Yes, a List of BufferedImages may be a useful way to go, especially if you wish to merge layers later or flatten to a single image. | |
Re: Check the method call parameters in the class he gave you versus the futureValue() method that you have defined. Do the parameter types match? | |
Re: You'll need to open your output stream in append mode: [url]http://download.oracle.com/javase/6/docs/api/java/io/FileOutputStream.html#FileOutputStream(java.lang.String,%20boolean[/url]) | |
Re: Have you checked the "Getting Started" thread over in the JSP forum? [url]http://www.daniweb.com/web-development/jsp/threads/249070[/url] | |
Re: Double posted. Please refer discussion to the other thread in JavaScript: [url]http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/384154/1654451#post1654451[/url] Closing this one. | |
Re: Threads merged. Please don't start additional threads for a single question. | |
Re: You have no main() method defined. You cannot run a class that does not contain a main method. ![]() | |
Many of the software development forums have a sticky thread featured at the top for recommended resources on getting started with or improving one's knowledge of that language. VB.NET currently has no such resource listing. I personally do not work with VB.NET, but if those who do would like to … | |
Re: The answer seems very clear: You should write the project in VB.NET. | |
Re: No, I doubt he can because he simply copied and pasted it here from another post he saw elsewhere - which is why I have deleted it. | |
Re: ... and what is your specific question? | |
Re: @glamorhits: This is a direct copy of code that you found here: [url]http://wiki.answers.com/Q/Inverse_of_matrix_in_java[/url] It doesn't seem that you have put any effort of your own into this and simply want others to finish it for you. | |
Re: Okay, so what is your question? | |
Re: You can use a Swing Timer. [url]http://download.oracle.com/javase/tutorial/uiswing/misc/timer.html[/url] | |
Re: Please note this was posted nine months ago. | |
Re: Take a glance at this article from the OpenGL wiki about drawing 2D controls over a 3D scene: [url]http://www.opengl.org/wiki/Viewing_and_Transformations#How_do_I_draw_2D_controls_over_my_3D_rendering.3F[/url] | |
Re: You really should not stuff all that GUI code into your main() method, but that's another discussion altogether. You can still get a reference to the class statically and use getResource like this[CODE]Main.class.getResource(...)[/CODE] | |
Re: Consider that your series of "if" statements to evaluate the grade is outside of the loop where "Grade" is being entered. Also be aware that you should use [ICODE].equals()[/ICODE] or [ICODE].equalsIgnoreCase()[/ICODE] to test string equivalence. Do not use [ICODE]==[/ICODE]. | |
Re: @Curt1337: No, no one here will convert the chat server that you copied directly from Rose India to UDP so you can turn it in as a work product. As Norm said, hire a programmer if you want someone to do your work for you. | |
![]() | Re: Perhaps he means something more descriptive and meaningful than 'j'. If 'j' were being used as a line counter for example, using 'lineCount' would be easier to follow than 'j', which itself has no intuitive meaning. |
Re: And J2EE if you're interested in the web/enterprise branch of Java. | |
Re: [B]> And is OCPJP alone any worth?[/B] It shows you can study for and pass basic tests. That is about all. | |
Re: @hemu12: This is not a code-on-demand service. Please be aware of our forum rules about showing some effort: [B]Do provide evidence of having done some work yourself if posting questions from assignments.[/B] Also, do not hijack others' threads with your questions. Start a new thread of your own and state … | |
| |
Re: I would imagine a Client and ClientContact table arrangement would work just fine. The difference between the residential or business clients can be address by a ClientTypeId or BillingCode identifier or similar mechanism, depending on what other info may need to be associated with that disctinction. | |
Re: Start by making a JPanel within a JFrame with a text box to enter a name, a button to submit it, and a list to display them. | |
Re: Posting in the C++ forum probably isn't the best start. I'll move it to Java and recommend you take a look at the [URL="http://www.daniweb.com/software-development/java/threads/99132"]Starting Java[/URL] thread stickied prominently at the top of the forum. |
The End.