Posts
 
Reputation
Joined
Last Seen
Ranked #10
Strength to Increase Rep
+17
Strength to Decrease Rep
-4
90% Quality Score
Upvotes Received
944
Posts with Upvotes
777
Upvoting Members
279
Downvotes Received
73
Posts with Downvotes
63
Downvoting Members
49
399 Commented Posts
38 Endorsements
Ranked #29
Ranked #19
~1.96M People Reached
Favorite Tags

3,927 Posted Topics

Member Avatar for samaru
Member Avatar for Duki

Ham sandwich and chips at work - same as yesterday... and the day before... and the day before... and, yeah, well you get the picture.

Member Avatar for Dani
22
17K
Member Avatar for Lardmeister
Member Avatar for LevelSix

You might want to elaborate a little on "can't get this to work". That's a bit vague.

Member Avatar for Rosayu
0
3K
Member Avatar for makmuhefe
Member Avatar for K3haled
0
9K
Member Avatar for redZERO

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.

Member Avatar for Samukelo
0
19K
Member Avatar for Debby0424

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]

Member Avatar for Batha
0
7K
Member Avatar for Archenemie

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.

Member Avatar for dotxyteam
0
2K
Member Avatar for CB8379

Take another look at the calls in those error messages. Does your ProdArray have a getFee() method?

Member Avatar for Kandapatrick19
0
692
Member Avatar for yangyang
Member Avatar for g89

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.

Member Avatar for Neel_4
0
1K
Member Avatar for kanebt

In your user control panel, choose Edit Options and deselect the email options. [url]http://www.daniweb.com/forums/profile.php?do=editoptions[/url]

Member Avatar for Олег_9
3
3K
Member Avatar for cookie19ks

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.

Member Avatar for stultuske
0
9K
Member Avatar for dpaula
Member Avatar for john44
Member Avatar for yash_8
2
1K
Member Avatar for pranitha_dolls

Write an image editor. Java has an extensive image manipulation API :)

Member Avatar for Sharon_5
0
158
Member Avatar for k2k

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]

Member Avatar for JamesCherrill
0
14K
Member Avatar for edcaryl

[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]

Member Avatar for vinod_10
0
7K
Member Avatar for WolfShield

You should not have to unzip the jar. Have you added it to the Compile libraries in your Project Properties > Libraries tab?

Member Avatar for Asif_12
0
2K
Member Avatar for jayfaj

[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.

Member Avatar for Nimric
0
963
Member Avatar for vickzbrit

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.

Member Avatar for Tri Setya
0
6K
Member Avatar for thenamenoonehas

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.

Member Avatar for Neetu_1
0
3K
Member Avatar for thecoolman5
Member Avatar for vegaseat

[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. ...

Member Avatar for vegaseat
11
9K
Member Avatar for sciwizeh

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() ); …

Member Avatar for reguieg
0
349
Member Avatar for game123

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() …

Member Avatar for jwow
0
2K
Member Avatar for ~s.o.s~

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]

Member Avatar for ~s.o.s~
46
6K
Member Avatar for jhamill

Look through the methods on the Character class as well. You may find something useful.

Member Avatar for stultuske
0
3K
Member Avatar for liltrig3

Post your code then and describe what problems you are having. Be sure to place code tags around the code you include.

Member Avatar for stultuske
0
4K
Member Avatar for dwel

This thread was put at the top of the forum for a reason: [url]http://www.daniweb.com/forums/thread99132.html[/url]

Member Avatar for Rajeev Kumar_1
0
472
Member Avatar for msnathan72

[QUOTE=msnathan72;748248]this is my first time to daniweb and I have heard nothing but great feedback from my peers![/QUOTE] And did your peers also mention that help is only given to those who demonstrate some effort?

Member Avatar for rubberman
1
124
Member Avatar for new_2_java

Here's one way you could monitor progress on the tasks. It involves timed polling of the progress of each task.[code=java] import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import javax.swing.ProgressMonitor; public class ProgressDemo { public static void main(String[] args) { WorkQueue work = new WorkQueue(); work.begin(); } static …

Member Avatar for JamesCherrill
0
6K
Member Avatar for corby
Member Avatar for JamesCherrill
0
6K
Member Avatar for paeez
Member Avatar for lrw0831

As Jwenting mentioned, you need to start a new thread with your question and place your code between code tags to make it more readable. See the post at the top of the forum about code tags. An illegal start of expression means that you have misformatted your code and …

Member Avatar for stultuske
0
1K
Member Avatar for debasisdas

"If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason." - Jack Handy

Member Avatar for James_28
8
17K
Member Avatar for pearlamit
Member Avatar for MicahFountain
0
150
Member Avatar for goofy_chick

You need to override the isCellEditable(int,int) method in your table model to return false[code] public boolean isCellEditable(int row, int column) { return false; }[/code]

Member Avatar for rf.saboia
0
7K
Member Avatar for MxDev

Do not create exact duplicate posts for the same question. You already posted this 2 days ago. The errors are most likely a result of incomplete operations you have started and not finished elsewhere against the database, such as transactions you haven't committed. You'll have to check those things yourself, …

Member Avatar for takonewa
0
2K
Member Avatar for Doctor Inferno
Member Avatar for djdanjo82

Ok, there were just a few issues and you got pretty close to the solution based upon the commented-out things you tried. Here's an updated version of your constructor and component setup code with some comments added[code=java]public GuiWork(){ super("Gui Work!"); setSize(1000, 750); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); getContentPane().setLayout(new BorderLayout()); //GOAL::LACE MULTIPLE JPANELS INSIDE JSCROLLPANE …

Member Avatar for ramesh midatana
0
2K
Member Avatar for sciwizeh
Member Avatar for paichow
Member Avatar for sravan953

Well, yes that does reverse a string, but that still wasn't the exact question asked by the OP [I]in 2009[/I]. They needed to also retain the word order. There is also no reason to initialize str1 as [iCODE]new String()[/iCODE]. Use a string literal instead [iCODE]String str1 = "My String";[/iCODE] This …

Member Avatar for JamesCherrill
0
609
Member Avatar for mansi sharma

Use "Case Else": [code]Select Case Me.Text1.Text Case 1 MsgBox ("U Entered 1") Case 2 MsgBox ("U entered 2") Case 3 MsgBox ("u entered 3") Case Else MsgBox ("Default") End Select[/code]

Member Avatar for anup_1
0
149
Member Avatar for Timlince55

Both the OP and the hijacker need to read the forum rules about showing some effort if they want help with homework. This is not a homework completion service. Thread closed.

Member Avatar for nabanit.sarkar
0
241
Member Avatar for ghfeyn

You need to start with the most basic "getting started" tutorial: [url]http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html[/url] And do not post new questions to the end of other people's old threads. Post a new thread of your own if you have a question.

Member Avatar for JamesCherrill
0
6K
Member Avatar for Akeem Amure

[QUOTE=Akeem Amure;523327]Thanks so much for replying.But i think there is more to my question. 1. i want to create panels with it [[/quote] So have the class extend JPanel then and create a JFrame for it in the main() method. Not difficult to do at all. You should also put …

Member Avatar for JamesCherrill
-1
1K
Member Avatar for Dani

Daniweb certainly doesn't show up as high in Google results for Java help as before. It used to be within the top 5 for many technically-specific searches, ie "jtable cell renderer background color" and now it is page 2 or more.

Member Avatar for Dani
0
2K
Member Avatar for feoperro
Member Avatar for sergeik.rndwork
0
575

The End.