3,927 Posted Topics

Member Avatar for Lamar Cole
Member Avatar for trhwrgsreg

Those requirements are certainly not trivial. I'd recommend assessing currently available commercial solutions for this: [url]http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=home+inspection+reporting+software[/url] If those don't meet your needs, then you could start getting some bids on a custom solution. Generally, if an existing product would meet 80% of your needs, you're better off taking a hard …

Member Avatar for henrik14
0
147
Member Avatar for Mr.UNOwen

> Isn't it generally a bad idea to keep calling repaint()? No, that is generally what animation loops do: update component states and call repaint() to refresh them on the screen. If by "keep calling" you mean without any pause, then no, you usually want to sleep for some period …

Member Avatar for Mr.UNOwen
0
114
Member Avatar for peter_budo

You basically need a main application context that all necessary components have access to and can call upon for access to the various sub-systems in your app. The reference to that context can be supplied via the constructors.

Member Avatar for BestJewSinceJC
0
166
Member Avatar for GrimJack

Heh, they don't have this one: [url]http://en.wikipedia.org/wiki/Journey_(video_game[/url]) (I wouldn't say it's missed though... :P )

Member Avatar for Ezzaral
0
237
Member Avatar for anujtripathi

++ to both of the above posts. If you're writing a lot of code that depends on knowing that list well, no one will want to work with you (including yourself when you are trying to track down your own bugs 3 months later).

Member Avatar for Ezzaral
0
144
Member Avatar for ThatOtherGuy

>I would like you guys to give me some advice on best practices when it comes to programming, planning and design. Here's a really good place to start: [URL="http://cc2e.com/"]Code Complete 2nd Edition[/URL] No, it's not free. Buy it and read it. If you want free, then you're going to have …

Member Avatar for Ezzaral
0
115
Member Avatar for TheBeast32

Here are two more good references for "build-your-own" systems: [url]http://www.tomshardware.com/reviews/How-To,4/Build-Your-Own,16/[/url] [url]http://forums.anandtech.com/messageview.aspx?catid=27&threadid=2194271&enterthread=y[/url]

Member Avatar for TheBeast32
0
89
Member Avatar for Mr.UNOwen

You might take a look at these two articles: [url]http://today.java.net/pub/a/today/2007/02/22/how-to-write-custom-swing-component.html[/url] [url]http://www.onjava.com/pub/a/onjava/2004/08/11/desktop.html[/url]

Member Avatar for Mr.UNOwen
0
133
Member Avatar for robertmacedonia

Well, you certainly don't want to use "==" for string equality. You could check for any of them with a regular expression.

Member Avatar for robertmacedonia
0
431
Member Avatar for rude04

Haven't used it myself, but you might take a look at this article on using the Acrobat Viewer bean: [url]http://today.java.net/pub/a/today/2005/10/20/accessing-pdf-with-acrobat-viewer-javabean.html[/url]

Member Avatar for rude04
0
528
Member Avatar for kaushalya_uom

Mostly likely he'll need to use Scanner or some regex parsing, because getting the numbers from the string is only the smallest part of writing an expression parser. Edit: As far as trying the cast to Integer, it wouldn't work - you can't cast a char to an Integer object …

Member Avatar for kaushalya_uom
0
100
Member Avatar for confusedGirl

You're probably going to need to: A) Post more specific questions indicating that you've given the least bit of thought to the problem. B) Post the code that you have started with. C) All of the above.

Member Avatar for eggi
0
120
Member Avatar for confusedGirl

These questions make absolutely no sense in the limited context of code that you have posted. You would need to post the relevant code from those other classes if you expect anyone to be able to make a suggestion.

Member Avatar for Ezzaral
0
343
Member Avatar for abelarion

Certainly. It's just a matter of using that url when you obtain the connection through DriverManager. There are examples of that with most JDBC drivers.

Member Avatar for abelarion
0
118
Member Avatar for randomFIRE

If you define them to be in [ICODE]package Test;[/ICODE], you'll need to run it from the directory above Test with the command [ICODE]java Test.TestApp[/ICODE]

Member Avatar for randomFIRE
0
352
Member Avatar for The Dude

That's completely absurd. They should have just told her that she certainly wasn't required to attend. Even as an atheist, I find it pathetic that some people get so worked up when anyone at all says the word "Christmas" within earshot. These people just need to get over themselves.

Member Avatar for techbound
0
164
Member Avatar for praveen_dusari

[QUOTE=niek_e;698018]Nah, I think he meant MP3-player :)[/QUOTE] I think his output would be rather garbled.

Member Avatar for techbound
0
169
Member Avatar for deven1974
Member Avatar for kaushalya_uom

You would have to listen for edits, parse the expressions, and update the cells with the results.

Member Avatar for Ezzaral
0
46
Member Avatar for mayo_tech11

[quote=TheNNS;388922]> thats cuz they're retarded I'm not a jehova's witness, but please don't insult them.[/quote] pity them, perhaps...

Member Avatar for techbound
0
2K
Member Avatar for javafrustrated

No, actually it's expecting a ")". Count them on that line. (Also, you need to use [noparse][/code][/noparse] as the end tag after your code. Note the slash.)

Member Avatar for BestJewSinceJC
0
160
Member Avatar for The Dude

[QUOTE=The Dude;759710]In god we still trust: [/QUOTE] Here let me fix that for you: [QUOTE=The Dude;759710]In god [I][B]I[/B][/I] still trust: [/QUOTE] Many here in [I]our country[/I] have no believe in your god.

Member Avatar for Ezzaral
0
101
Member Avatar for roadToNowhere

Not based on what you posted, no. What user interface? You didn't post any code that indicates how you're calling those methods and the code that you did post wouldn't compile anyway because you have unterminated strings and blocks (and you need to indent consistently instead of just scattering lines …

Member Avatar for Antenka
0
101
Member Avatar for Ninad16

That would seem to go against this poster's nature, given their current post history.

Member Avatar for ~s.o.s~
0
199
Member Avatar for drjay1627

Take a look through this tutorial on key bindings: [url]http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html[/url]

Member Avatar for Ezzaral
0
132
Member Avatar for dnmoore

You just need to specify the 1/3 so that it uses floating point division instead of int division, so change it to [icode]1.0/3.0[/icode] or [icode]1/3d[/icode][code=java]1/3d * Math.PI * height * Math.pow(radius, 2);[/code] You were getting zero because 1/3 as an int is zero, causing the entire expression to yield zero. …

Member Avatar for quuba
0
186
Member Avatar for dileep.t

Someone in the VB forum possibly could. Perhaps you should post your question there.

Member Avatar for Ezzaral
0
31
Member Avatar for roadToNowhere

You just need to open a scanner on each file in your file list and process it, i.e.[code=java]String[] fileList = {"file1.txt","file2.txt","file3.txt"}; for (String filename : fileList){ Scanner scanner = new Scanner(new File(filename)); while (scanner.hasNext()){ // blah blah } scanner.close(); }[/code] Edit: Used wrong constructor on the Scanner.

Member Avatar for roadToNowhere
0
110
Member Avatar for javafrustrated

It's just one single calc to determine the number of comparisons and you have the formula right there in your code - you just aren't using the correct value in it. I'll give you a hint: n is the number of elements in your values array.

Member Avatar for javafrustrated
0
352
Member Avatar for The Dude

I also started with a C-64 and local bulletin boards, somewhere in the mid-to-early 80s.

Member Avatar for Ancient Dragon
0
86
Member Avatar for realahmed8

Please edit the post and place [noparse][code] [/code][/noparse] tags around the code so that the formatting is preserved and it is readable.

Member Avatar for javaAddict
0
277
Member Avatar for Flick
Member Avatar for dnmoore

You need to be a little more specific on your expectation for this "generic" base class. What do you believe is lacking or wrong?

Member Avatar for dnmoore
0
119
Member Avatar for ajithraj

AlbertPi, please use [noparse][code] [/code][/noparse] tags if you are going to post code examples.

Member Avatar for masijade
0
308
Member Avatar for tsync

He probably handed this in six months ago. If not, I doubt he is going to get credit for it at this point.

Member Avatar for tsync
0
191
Member Avatar for adbvardan

[QUOTE=adbvardan;756615]Carefully explain you answers![/QUOTE] Carefully explain why you believe someone should solve your math problems for you when you have shown absolutely no effort or thought on the matter yourself?

Member Avatar for Ezzaral
0
72
Member Avatar for Speedy Hawk

You need to examine the "World" class to see if there is a public method to add a traveler to that world. Since each world contains a private List of travellers, there must be some method to add one to the collection. You'd then just call [icode]home.addTraveller(t);[/icode] To find a …

Member Avatar for Ezzaral
0
151
Member Avatar for relequestual

I'd also recommend timing your game animation on a desired fps instead of a static timer. Here's an article that covers that: [url]http://www.javaworld.com/javaworld/jw-03-1996/jw-03-animation.html[/url]. Here is another on sprite animation: [url]http://www.developer.com/java/article.php/893471[/url] And this is a good 2D game tutorial in general (though it uses the GAGE timer instead of a "home-rolled" …

Member Avatar for Ezzaral
0
1K
Member Avatar for CoolGamer48

You'll save yourself a lot of relative path pain if you use getResource() to load your images: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource[/url]

Member Avatar for Ezzaral
0
179
Member Avatar for suvirj

If you also have a .jar file of the classes in that download, you can just add it as a library to your project (from Project Properties window). The same would work for the folder containing the class files themselves.

Member Avatar for peter_budo
0
129
Member Avatar for wcd480

The power supply is the only issue I would wonder about. The card specs say it requires a 450W or higher power supply and that Gateway model has a 400W. You may be just fine though.

Member Avatar for jbennet
0
127
Member Avatar for Sgtplank

The errors are pretty clear. You're trying to use constructor signatures that don't exist for those classes. You need to examine the parameters for those constructors and use correct form.

Member Avatar for Ezzaral
0
116
Member Avatar for it2051229

Yes, this post may help you out: [url]http://www.daniweb.com/forums/post748240-23.html[/url]

Member Avatar for Ezzaral
0
94
Member Avatar for Ezzaral

Anyone who finds themselves frequently posting some text fragments frequently (code tag admonitions, anyone?) may find this add-on for Firefox very useful: [URL="https://addons.mozilla.org/en-US/firefox/addon/1347"]Clippings[/URL].

Member Avatar for Dave Sinkula
0
141
Member Avatar for Generalcoco

Make determineGrade() a function that takes the test score as a parameter and returns the letter for the grade. Honestly, if this is a "final" you really should already know how to write a function.

Member Avatar for Generalcoco
0
89
Member Avatar for The Dude

It is another dog. They didn't show him actually getting off the highway though. I think he was trying to get dinner :twisted:

Member Avatar for Ezzaral
0
41
Member Avatar for sciwizeh

At it's most basic, a linearly interpreted gradient just calculates the new RGB values by applying the target value percent of the linear range to the each RGB component range. Here's a Java function illustrating that:[code=java]/** returns a color between start and end colors based upon percent of the range …

Member Avatar for Ezzaral
0
579
Member Avatar for jasimp

>So what do you think, was it right for the officer to shoot him? Definitely.

Member Avatar for jbennet
0
229
Member Avatar for Ancient Dragon

[QUOTE=MosaicFuneral;752507]Here's some good rules: 1). Don't be retarted.[/QUOTE] I realize it's a typo, but this made me chuckle :)

Member Avatar for Jen0608
0
60

The End.