3,927 Posted Topics

Member Avatar for concordia

Why is the name of your internal variable for storing the checkbox array important to what the user sees? I guess I'm missing that part.

Member Avatar for sonyparekh
0
95
Member Avatar for ebiz
Member Avatar for javaAddict
0
216
Member Avatar for Tyrone.Wilson
Member Avatar for Opheliha
Member Avatar for Lardmeister

I think Nader's potential to be a spoiler has dwindled to insignificance this time around.

Member Avatar for jbennet
0
3K
Member Avatar for ebiz

Whether you use arrays, Lists, or whatever, the point is still the same. You'll need to read the file content into some structure and then use JDBC to update/insert your table values.

Member Avatar for Ezzaral
0
160
Member Avatar for vmanes

Poor Bob. That has to be very deflating to his huge swelling of pride. :(

Member Avatar for jbennet
0
164
Member Avatar for The Dude

[QUOTE=The Dude;738391]Heh,idiots dont support IE6 .... Fail........[/QUOTE] Using IE6: Fail

Member Avatar for Ezzaral
0
89
Member Avatar for shubhang

[QUOTE=shubhang;739709]Please have a look into the code.[/quote]Why? Is there something wrong with it? If so, what specifically? [QUOTE=shubhang;739709]Please also explain the function of [code] e.printstacktrace();[/code][/quote]There is no such function as you have written it. There is, however, a [URL="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html#printStackTrace()"]printStackTrace()[/URL] method on Throwable. Read that API link to see what it …

Member Avatar for Antenka
0
183
Member Avatar for christiangirl

Use the [URL="http://java.sun.com/javase/6/docs/api/java/io/BufferedWriter.html#newLine()"]newLine()[/URL] method to write the line separator, instead of appending '\n' to your text.

Member Avatar for christiangirl
0
135
Member Avatar for AlbertPi
Member Avatar for Acidburn

You may want to update to 1.6.0_04 and see if that solves the JVM crash. I assume you are running the latest JACOB build.

Member Avatar for priyankalakhe
0
149
Member Avatar for Shanuka

Perhaps you should do a project that will spider the internet and aggregate all the thousands and thousands of "Final Year Project" request threads that already exist on this and countless other forums. Then we could just point all of these identical threads to your project site. :-/

Member Avatar for Rashakil Fol
0
133
Member Avatar for prabhurangan

It's all right here: [url]http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html[/url]

Member Avatar for Ezzaral
0
74
Member Avatar for Anselm
Member Avatar for Ezzaral
0
189
Member Avatar for king_khan
Member Avatar for sriram.19801980

We use the Jakarta [URL="http://poi.apache.org/"]POI[/URL] API for that here at work.

Member Avatar for Ezzaral
0
317
Member Avatar for grvs

[QUOTE=jasimp;725775]Tabs? Why wouldn't that work?[/QUOTE] This. Modern browsers allow you to have more than one page open at a time. Try [URL="http://www.mozilla.com/en-US/"]Firefox[/URL]. (They have push-button phones now too. No more turning that little dial! Nifty!)

Member Avatar for punjabivirsa3
0
171
Member Avatar for cproud21

Well, take a look at line 40, since that is where the error is occurring. [code]at BoardCreator.<init>(BoardCreator.java:40)[/code].

Member Avatar for quuba
0
116
Member Avatar for mrjoli021

That depends what "second section" means. If you can't be more specific than that, you have little chance of getting a program to do something with it.

Member Avatar for Ezzaral
0
171
Member Avatar for cproud21

And "I'm confused about..." isn't very specific for a question. I doubt many people want to trace through the entire thing to try and guess what part you are confused about.

Member Avatar for Ezzaral
0
276
Member Avatar for nectionplayer
Member Avatar for localp

Assuming this is in a GUI, set the background color of one of your components to that color. You could create a JLabel for that purpose, or just use the background of your existing frame/panel.

Member Avatar for Ezzaral
0
124
Member Avatar for The Dude

[QUOTE=The Dude;734868]I know they have done wrong but isnt this a little too intrusive?? (Maps right to thier house)[/QUOTE] If you feel it's intrusive, why are you spreading the link around?

Member Avatar for The Dude
0
169
Member Avatar for shubhang

You really should change [code]System.out.println("error");[/code] to [code]e.printStackTrace();[/code]

Member Avatar for shubhang
0
129
Member Avatar for abhaydiwan

Sounds like you better review your course notes pretty quickly, since no one here is going to do your homework for you unless you post your code and specific questions about what you're having trouble with. (I'm guessing you don't have any code written yet).

Member Avatar for wimper
0
130
Member Avatar for BestJewSinceJC

You might want to start with the wiki for [URL="http://en.wikipedia.org/wiki/Hash_table"]Hash table[/URL] and go from there as needed.

Member Avatar for BestJewSinceJC
0
91
Member Avatar for jorgeflorencio

JFreeChart has some charts such as that, but as already mentioned, you have to understand what you're charting to make much use of them.

Member Avatar for jorgeflorencio
0
144
Member Avatar for peter_budo

Post the "loginJP" and "errJP" classes as well. Preferably with just their UI component setup portions.

Member Avatar for peter_budo
0
143
Member Avatar for Stefano Mtangoo

These two are free online: [url]http://hudzilla.org/phpwiki/index.php?title=Main_Page[/url] [url]http://www.techotopia.com/index.php/PHP_Essentials[/url] I don't think they are downloadable though.

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for kdhanshree

Using the Calendar class, like so: [url]http://www.exampledepot.com/egs/java.util/CompDates.html[/url]

Member Avatar for Ezzaral
0
235
Member Avatar for SriSN

You may want to take a look at this section of the Sun tutorial on using tables: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#validtext[/url]

Member Avatar for Ezzaral
0
681
Member Avatar for kdhanshree

If you added the items as Integer objects: [code=java]int selectedValue = ((Integer)comboBox.getSelectedItem()).intValue();[/code]

Member Avatar for Ezzaral
0
119
Member Avatar for coveredinflies

If you haven't already, you may want to look through the [URL="http://java.sun.com/javase/6/docs/api/java/awt/geom/Ellipse2D.html"]Ellipse2D[/URL] API. It has methods related to containment and intersection that may prove useful.

Member Avatar for Ezzaral
0
133
Member Avatar for BestJewSinceJC

> Can anyone provide a reasonable example of a situation that needs reflection and a short explanation of why? We use it on our current project for dynamic configuration of our UI. All panel components share an interface and with a simple XML file we can reconfigure the frames and …

Member Avatar for ~s.o.s~
0
199
Member Avatar for ashishforu.aec

Perhaps, if you demonstrate that you have made some effort on it. Post your code and ask specific questions.

Member Avatar for stultuske
0
43
Member Avatar for mrjoli021

Well, go figure:[code]line = br.readLine(); matrix[i][j] = line;[/code] If you put the whole line in there, that's what you're going to get.

Member Avatar for stultuske
0
87
Member Avatar for DanDaMan

There are literally thousand of discussions on this to be found: [url]http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=c%2B%2B+vs+java[/url] The objectivity of the comparisons vary greatly from side-by-side feature listings to all-out religious flamewars. The truth can be found somewhere in between. The wiki entry on it is probably a decent starting point to wade in: [url]http://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B[/url]

Member Avatar for Rashakil Fol
0
135
Member Avatar for DesiFrank
Member Avatar for Ezzaral
0
248
Member Avatar for allang

Ok, basically all you need to is give your ToolbarWindow a reference to the Painter applet so it has a way to call back on it. The toolbar frame has absolutely no need for a reference to the applets graphics context. Here's your code modified just a bit with a …

Member Avatar for Ezzaral
0
90
Member Avatar for The Dude

For those who wish to read through a more informed discussion of the matter: [url]http://episteme.arstechnica.com/eve/forums/a/tpc/f/770002407831/m/822003949831[/url]

Member Avatar for Dave Sinkula
0
973
Member Avatar for dipsn

Use a [URL="http://www.exampledepot.com/egs/java.io/AppendToFile.html?l=rel"]BufferedWriter[/URL]. Edit: Better yet, use the [URL="http://java.sun.com/javase/6/docs/api/java/util/logging/Logger.html"]Logger[/URL]. [url]http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html[/url]

Member Avatar for Ezzaral
0
59
Member Avatar for SteelSlasher

Nah, it's not really that hard if you're insane, as the results are likely to be insane as well - but you won't mind... because you're insane...

Member Avatar for Ezzaral
0
230
Member Avatar for ARubert
Member Avatar for thangarajforyou

What code? You aren't making a bit of sense. If it's some applet that someone else wrote, you need to ask [U]them[/U] what's wrong with it.

Member Avatar for stultuske
0
397
Member Avatar for tiger86

You forgot one option on the poll: "Hell no, that has to be the lamest thing I've heard in a good while."

Member Avatar for GrimJack
0
186
Member Avatar for tech2001

I couldn't speak to Groovy, but it's fairly straightforward to write a List to a file[code=java]try { List<String> someList = new ArrayList<String>(); // obviously you would want to use a list with stuff in it BufferedWriter out = new BufferedWriter( new FileWriter("outfilename")); for (String item : someList){ out.write(item); out.newLine(); } …

Member Avatar for tech2001
0
110
Member Avatar for mrjoli021

Because that is the toString() representation of an ArrayList, which is what you are printing. If you want to show it differently then iterate each list and print it as you see fit.

Member Avatar for Ezzaral
-1
143
Member Avatar for The Dude
Member Avatar for The Dude

[QUOTE=vmanes;730927]So he's chosen as his Chief of Staff someone who was very much in bed with Freddie and Fannie[/QUOTE] Conservatives are quite upset, as they only approve of bedding Fannie.

Member Avatar for GrimJack
0
169

The End.