- Strength to Increase Rep
- +17
- Strength to Decrease Rep
- -4
- Upvotes Received
- 944
- Posts with Upvotes
- 777
- Upvoting Members
- 279
- Downvotes Received
- 73
- Posts with Downvotes
- 63
- Downvoting Members
- 49
Re: Ham sandwich and chips at work - same as yesterday... and the day before... and the day before... and, yeah, well you get the picture. | |
| |
Re: You might want to elaborate a little on "can't get this to work". That's a bit vague. | |
Re: So get started. Post specific questions if you run into trouble. | |
Re: Check the [URL="http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html"]API doc for JOptionPane[/URL]. The dialogs have several constructors you can choose from depending on how much you want to specify on it. The docs describe the constants you can supply for each of the parameters. | |
Re: He isn't referring to the space between the type and the variable name.[code]String name;[/code]is just fine. It is these[code] int item number; int number of units; int price per unit;[/code]that are not allowed. Generally they would instead be written[code] int itemNumber; int numberOfUnits; int pricePerUnit;[/code] | |
Re: Netbeans does allow you to work in GridBagLayout (or several others) from the designer if you set it yourself. It defaults to GroupLayout though, which is hideous to read. | |
Re: Take another look at the calls in those error messages. Does your ProdArray have a getFee() method? | |
Re: Keep it on topic and leave the personal attacks at the door. | |
Re: So post your code and actually ask a question. This isn't a homework completion service and no one is going to write detailed instructions on how to complete this. | |
Re: In your user control panel, choose Edit Options and deselect the email options. [url]http://www.daniweb.com/forums/profile.php?do=editoptions[/url] | |
Re: Post your code within [noparse][code] [/code][/noparse] tags and specific questions regarding the parts that are troubling you. Also consider that your sample text file does not give any hint of a hierarchical relationship between those two entries. | |
Re: Rubber bands? Read the API for your scanner. | |
Re: @walexy: No, you're just going to have to do your own work. | |
Re: Write an image editor. Java has an extensive image manipulation API :) | |
Re: I think you're probably having a resource location issue. Take a look through this info on loading images with getResource():[url]http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource[/url] | |
Re: [url]http://msdn.microsoft.com/msdnmag/issues/07/02/DataPoints/default.aspx[/url] [url]http://www.vbdotnetheaven.com/UploadFile/mahesh/DBControlsVBNET04232005024802AM/DBControlsVBNET.aspx[/url] [url]http://www.developer.com/net/csharp/article.php/3670531[/url] | |
Re: You should not have to unzip the jar. Have you added it to the Compile libraries in your Project Properties > Libraries tab? | |
Re: [QUOTE=akeous]i need final year topc related to project management and networking or information technol;ogy as a whole[/QUOTE] That's a statement - not a question - and has nothing to do with the original poster. Don't hijack other peoples' threads. | |
Re: Both operations are covered in the [URL="http://java.sun.com/docs/books/tutorial/jdbc/index.html"]JDBC Tutorial[/URL]. You'll read the values from a ResultSet object to populate the text fields. To update the database, use a PreparedStatement. | |
Re: Only the original poster can mark it solved, and since this was tacked on to the end of a two year old thread, I doubt that person is going to mark it solved for someone else. | |
Re: Um, okay, so you learned three things that do not work. Congratulations? | |
Re: [QUOTE=Salem;508403]Actually, they'll believe anything printed shoved in front of their noses and never bother to conduct even the slightest bit of independent research.[/QUOTE] I believe you. ... | |
Re: Your caret is going to the end of the document because you're removing and re-inserting the entire content. The caret is just staying at the position of the last insert. You can fix that by changing these two lines in your SyntaxDocument2.insertString() method[code] String str2 = super.getText( 0, super.getLength() ); … | |
Re: Are you just wanting it to update as the wait loop runs? Move it into the loop[CODE] private void waitForCompletePlayerSequence() { do { System.out.println("player sequence " + playerSequence); System.out.println("sequence length" + simonSequence.size()); System.out.println("player length " + playerSequence.size()); System.out.println("in waitForcompletePlayerSequence loop"); Utility.pause(500);//note this is in the main thread } while (playerSequence.size() … | |
Re: One more very handy site for code snippet examples on many things: [url=http://www.exampledepot.com/]Java Examples from The Java Developers Almanac 1.4[/url] | |
Re: Look through the methods on the Character class as well. You may find something useful. | |
Re: Post your code then and describe what problems you are having. Be sure to place code tags around the code you include. | |
Re: This thread was put at the top of the forum for a reason: [url]http://www.daniweb.com/forums/thread99132.html[/url] |