3,927 Posted Topics

Member Avatar for nagatron
Member Avatar for nagatron
0
198
Member Avatar for whiteyoh

Keep in mind your array elements ("slots") are null until you put something in them. If you declare the array to have 10 and only fill three then the remaining seven will throw errors if you attempt to read data from them - hence a "null pointer" error.

Member Avatar for whiteyoh
0
82
Member Avatar for BestJewSinceJC

What is drives the change in the combo box entries? You can change the values in the combo box model pretty easily as needed. Here is an example that updates the values in the combo based upon the value in another table column (the "Vegetarian" column in this case). The …

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for Stefano Mtangoo

Start with the information in the Read Me: Starting Java thread stickied at the top of the forum. That is exactly why it was put together.

Member Avatar for Ezzaral
-3
117
Member Avatar for riu

You solve it by keeping up with your coursework and asking specific questions in the appropriate forums when you cannot figure it out on your own.

Member Avatar for SQL_dba
-1
103
Member Avatar for Samyx
Member Avatar for Samyx
0
110
Member Avatar for stoymigo
Member Avatar for Ezzaral
-1
154
Member Avatar for joannies

I don't see how giving you the code for that is going to help you at all. The whole point of the class is to learn something and that doesn't mean turning in something you got from the 'net. Think.

Member Avatar for freelancelote
0
149
Member Avatar for Dani
Re: Tags

The only tags on my profile are "give me teh codez" and "spam magnet". :) They are still small though. "give me teh codez" should be much, much larger. I'll have to work on it.

Member Avatar for ~s.o.s~
0
500
Member Avatar for Arsham3
Member Avatar for ~s.o.s~
0
116
Member Avatar for majestic0110
Member Avatar for leverin4

Yes, if the catch expression is appropriate to catch that particular exception type. The exception will be passed up the call stack until it is handled or causes termination.

Member Avatar for leverin4
0
67
Member Avatar for lloydsbackyard

The tutorial on using icons also has an example of using JLabels for this: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html[/url]

Member Avatar for Ezzaral
0
207
Member Avatar for majestic0110

There is a little red triangle icon in the upper righthand corner to report the private message. It's in the same frame as the title of the PM.

Member Avatar for majestic0110
0
133
Member Avatar for gibson.nathan

That would depend on the details you haven't supplied - such as where this data is coming from.

Member Avatar for VernonDozier
0
109
Member Avatar for shroomiin
Member Avatar for milenio

Just add placeholder columns on the smaller query, such as "null as code" or "0 as code".

Member Avatar for Ezzaral
0
124
Member Avatar for KirkPatrick

Just copy everything from lines 3-10 into your method and change the variables to use your method parameters.

Member Avatar for Ezzaral
0
117
Member Avatar for llemes4011

Your code is loading the EmbeddedDriver class, but using the ClientDriver network url for your connection string. The EmbeddedDriver uses the database name instead of the //servername url.

Member Avatar for llemes4011
0
812
Member Avatar for anuj_sharma

You proceed by reading the documentation provided and asking specific questions when you are confused about something: [url]http://dev.mysql.com/doc/refman/5.0/en/connector-j.html[/url]

Member Avatar for Ezzaral
0
95
Member Avatar for Nishanthi
Member Avatar for sam1

[QUOTE=vyshak;997281]Hi, i'm vyshak. I'm at final year and am thinking of doing a project on Java. Can you please name some websites where can i get java projects with source code. Kindly, help me![/QUOTE] Doing a project and downloading the source code of a completed one are not the same. …

Member Avatar for Ezzaral
0
444
Member Avatar for Hidden_mistakes

I didn't look through all of it very carefully, but perhaps you want to define "notblack" to be a color other than black? [code]Color notblack = new Color(0,0,0);[/code]

Member Avatar for Ezzaral
0
106
Member Avatar for mseck

mseck, it sounds as if you are working with Java[I]script[/I], which is not the same as Java and there is a separate forum for that here: [url]http://www.daniweb.com/forums/forum117.html[/url]

Member Avatar for mseck
0
113
Member Avatar for hou01087

You need to retain the Process returned by the start() method. The Process objects has a destroy() method that you can use to kill it. You should change your "proc" array to be a Process array instead of ProcessBuilder. You don't need to keep the ProcessBuilder around for anything after …

Member Avatar for quuba
0
5K
Member Avatar for serkan sendur
Member Avatar for Nick Evan
-1
175
Member Avatar for vegaseat

In the IE File menu, choose "Import and Export..." and follow the little wizard through to export your Favorites to an htm file.

Member Avatar for Ezzaral
0
73
Member Avatar for ballz2k

Or why not read the "Starting Java" read-me thread that is stickied at the top of this forum? That is why it's there after all.

Member Avatar for pooja.ui7
0
109
Member Avatar for serkan sendur

Threads started by you: [url]http://www.daniweb.com/forums/search.php?do=finduser&u=267883&starteronly=1[/url] There is a "Views" column.

Member Avatar for MosaicFuneral
0
50
Member Avatar for Major_Hafez

Well, have you bothered to Google "N-Tier Applications"? That certainly yielded a lot of results for you to read through.

Member Avatar for serkan sendur
0
79
Member Avatar for new_2_java

What are you expecting it to do? That command isn't going to produce any noticeable output.

Member Avatar for nomemory
0
192
Member Avatar for Ashwin Vasnai

There is no difference in the JTree between the two. You need to be more specific in describing the difficulties that you are having. [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html"]How To Use Trees[/URL]

Member Avatar for quuba
0
136
Member Avatar for Smoking Bros

If apple_y reaches getSize().height then you need to reset it to the top of the screen. You could randomize apple_x if you wanted to or just reset apple_y to 0.

Member Avatar for Smoking Bros
0
130
Member Avatar for algebra2009

You haven't asked a question. And this is the Introductions forum.

Member Avatar for crimgirl
0
18
Member Avatar for shruti_kapate
Member Avatar for shruti_kapate
0
42
Member Avatar for pvt_geeker

You can find a small example of using a controller, such as JamesCherrill mentions above, here: [url]http://www.daniweb.com/forums/post482753.html#post482753[/url]

Member Avatar for Ezzaral
0
91
Member Avatar for ScottHam

Alright, let's just keep it at "dating site" before this exceeds the bounds. Any other specifics are not necessary to the discussion. I have not yet reviewed the example link that you posted above because I am uncertain of it's "safe for work" status. If I find that it contains …

Member Avatar for ScottHam
0
1K
Member Avatar for javanub123
Member Avatar for javanub123

Learn about classes and objects. [url]http://java.sun.com/docs/books/tutorial/java/concepts/[/url]

Member Avatar for Ezzaral
0
51
Member Avatar for Bhavanajoshi

If you would specify which particular "windows 2007" software you are using, it would help.

Member Avatar for happygeek
0
187
Member Avatar for sameer baloch

It would help if you specified which programming language you are working in, so I could move this into the correct forum.

Member Avatar for Ezzaral
0
85
Member Avatar for jwdvorak

Syntax and logic look fine to me. Have you verified the query against inputs that you know should return true?

Member Avatar for javaAddict
0
1K
Member Avatar for coollife
Member Avatar for shermsinc
Member Avatar for Ezzaral
0
11
Member Avatar for Rurik16

If you move your for() loop down a few lines, you can keep calling nextInt() on the Random that you have created. If you move the declaration and initialization of 'cash' above the beginning of that loop, the result of the rolls will add/subtract from the starting value without resetting …

Member Avatar for Rurik16
0
177
Member Avatar for bkvijay

Ok!! You just need to [URL="http://www.exampledepot.com/egs/java.net/ReadFromURL.html"]open an input stream from the URL[/URL], [URL="http://java.sun.com/javase/6/docs/api/java/util/regex/package-summary.html"]parse that for what you want[/URL], and [URL="http://www.exampledepot.com/egs/java.io/WriteToFile.html"]write it to a text file[/URL]!! !!!!! (All those exclamation points just look silly, don't they?... )

Member Avatar for muthu_tek
0
1K
Member Avatar for Pro01

I guess you missed the "specific" part of Peter's post. You load two image just like you load one, but you do it more than once. See how that "specific" part comes into play?

Member Avatar for Pro01
0
119
Member Avatar for b89smith

Also note that it's a compiler [U]warning[/U], not an error. You can still run the program just fine.

Member Avatar for majestic0110
0
227
Member Avatar for aparnasofte

For your reading: [url]http://www.daniweb.com/forums/announcement9-2.html[/url]

Member Avatar for aparnasofte
0
110
Member Avatar for xgmx

And have you contacted ubi.com? What do you expect anyone here to be able to do to "rectify it"?

Member Avatar for soccerjerseys
0
187

The End.