3,927 Posted Topics

Member Avatar for zendet
Member Avatar for thines01
0
92
Member Avatar for biks23
Member Avatar for Ezzaral
-2
58
Member Avatar for sknake

ardav, it seems to me there are only a couple of people complaining about it. The majority haven't said one way or the other, so you really can't assume to know their feelings on it based upon one or two vocal opponents.

Member Avatar for pseudorandom21
2
964
Member Avatar for Erlendftw

You don't necessarily need to create a new InputMap, you could use the existing for the component. Either way, you need to map the actions for those events now. That is what the action map is for. So for your "UP" action mapping you would have something like the following[CODE]board.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke((KeyEvent.VK_UP), …

Member Avatar for Erlendftw
0
151
Member Avatar for scarletfire

Is it possible that 'lstEvent' is null? That is where you should start with any NullPointerException.

Member Avatar for hfx642
0
126
Member Avatar for Tsuchino

You didn't provide CollegeMember with a zero-argument constructor, which your Lecturer constructors are trying to call implicitly.

Member Avatar for Tsuchino
0
102
Member Avatar for mrgadgets
Member Avatar for Ezzaral
0
107
Member Avatar for lbgladson

Assert that the absolute value of the difference is less than your threshold.

Member Avatar for JeffGrigg
0
188
Member Avatar for aanders5

Are you asking what the regex would be or do you already have an expression that you are trying to tune? Have you thought about trying one of the many HTML parsing packages like [url]http://mozillaparser.sourceforge.net/[/url], [url]http://jtidy.sourceforge.net/[/url], [url]http://htmlparser.sourceforge.net/[/url] ?

Member Avatar for aanders5
0
340
Member Avatar for tran21

Are you going to ask an actual question or just hope someone wants to read all your code and try to figure out what it does and does not do?

Member Avatar for tran21
0
644
Member Avatar for pyro 214

[QUOTE=Narue;506444]I can't believe you took the time to reply to a lame thread. How lame. :icon_rolleyes:[/QUOTE] ++

Member Avatar for Ancient Dragon
0
1K
Member Avatar for DaniwebOS
Member Avatar for t1suka

Why this on line 120?[CODE]if (!rs.next()) {[/CODE]You don't want that block to execute if the query has results?

Member Avatar for t1suka
0
362
Member Avatar for aanders5

You can read some explanation about the R class in [URL="http://developer.android.com/resources/tutorials/hello-world.html"]this tutorial for Hello World on Android[/URL].

Member Avatar for peter_budo
0
143
Member Avatar for marvolo1300

You're trying to access the third element of array[] and it doesn't have that many elements. Don't do that.

Member Avatar for marvolo1300
0
166
Member Avatar for mike2828

[QUOTE=mike2828;1677086]i just don't know how to use color constructor[/QUOTE] Just remove this line [CODE]public void Color(int r,int g,int b);[/CODE]and this line[CODE]c = Color.magenta;[/CODE]Your initial declaration is just fine.

Member Avatar for Ezzaral
0
218
Member Avatar for jQuery
Member Avatar for Ezzaral
0
167
Member Avatar for ZeroEddy

And you can always start with the basic tutorial: [url]http://download.oracle.com/javase/tutorial/java/concepts/index.html[/url]

Member Avatar for ZeroEddy
0
239
Member Avatar for mydreamgirl
Member Avatar for mydreamgirl
0
412
Member Avatar for hhagood

See what you can come up with and ask specific questions about what you are having trouble with. What you posted above is a direct copy of code you found elsewhere, so that's not going to cut it.

Member Avatar for Ezzaral
0
451
Member Avatar for Raghu_Ganapm

@hfx642: No, the situation you describe would not compile. The variable would have no scope outside the method in which it was declared. It would complain "Cannot find symbol"

Member Avatar for hfx642
0
97
Member Avatar for fredfletcher
Member Avatar for untitledking

Just below the text "Has this thread been answered?" there is a link to "Mark this Thread as Solved".

Member Avatar for Ezzaral
0
94
Member Avatar for Jones_nash

This thread was just sock-puppet promotion for a particular product by Jones_nash and Shamrocks. Those posts have been deleted, but I will leave the rest of the replies up for the benefit of others. Closed.

Member Avatar for Ezzaral
1
190
Member Avatar for heybunny

Post the code that you do have and ask specific questions. From our forum rules: [B]Keep It Organized - Do provide evidence of having done some work yourself if posting questions from assignments.[/B]

Member Avatar for Ezzaral
0
203
Member Avatar for Jessurider

This was already answered in the OP's other thread for the same question but he chose to ignore the answers: [url]http://www.daniweb.com/software-development/java/threads/384210/1654757#post1654757[/url]

Member Avatar for Ezzaral
0
115
Member Avatar for Donieob

I tried your code with one of the demo plots and it worked just fine. Are you setting the series paint colors [U]after[/U] you have added all of the series to your dataset?

Member Avatar for Ezzaral
0
298
Member Avatar for rajhans
Member Avatar for connoisseur2010
Member Avatar for kurohige

Take a closer look at line 56 and note which method you are calling. It may not be the one you want.

Member Avatar for kurohige
0
2K
Member Avatar for jaykool74
Member Avatar for niall.lennon2

You don't want to create a new Date to compare to "d". You want to use the current instance value.

Member Avatar for Ezzaral
0
169
Member Avatar for -==Zero==-
Member Avatar for aanders5

If you have separate panels for each group of controls, you can simply swap those in and out of a target panel that remains in a fixed place in your UI. To swap them, remove the old panel, add the new, and call targetPanel.revalidate() and targetPanel.repaint().

Member Avatar for mKorbel
0
113
Member Avatar for Dani

Well, given the number of new threads posted daily, most don't seem to have any difficulty figuring it out.

Member Avatar for happygeek
0
1K
Member Avatar for Onlineshade
Member Avatar for johnarzoneecho

That's not a question. Ask something comprehensible or stop wasting peoples' time.

Member Avatar for Ezzaral
-2
169
Member Avatar for mangopearapples
Member Avatar for wavyaquaeyes
Member Avatar for dineshnbhatia
1
20K
Member Avatar for Labdabeta

From the "redbook": [url]http://glprogramming.com/red/chapter02.html#name13[/url]

Member Avatar for Labdabeta
0
88
Member Avatar for mohamed moamen

You could use [URL="http://izpack.org/"]IzPack[/URL] to create an installer for your program.

Member Avatar for mohamed moamen
0
130
Member Avatar for somnathmona4993
Member Avatar for Ezzaral
-1
34
Member Avatar for TigerTeck
Member Avatar for bokz06

The rest of the error stack trace would tell you which line the error is occurring on. Read it carefully and you won't have to "think it's got something to do with" anything - you'll know.

Member Avatar for Ezzaral
0
690
Member Avatar for esy928

[QUOTE=esy928;631298]can anyone give me another solution?[/QUOTE] Why would they? You haven't explained what you have tried, what problems you encountered, your thoughts on potential solutions, or anything demonstrating any effort on your part. Programming involves thinking for yourself and "give me another solution" certainly doesn't imply that you have done …

Member Avatar for abors
0
640
Member Avatar for moosworksinc

Post your code and specific questions or errors here and perhaps someone can help. Requesting email help is against our forum rules.

Member Avatar for sergent
0
198
Member Avatar for danthevan

> do I have to install Access on my mac You need the ODBC driver for Access. There are third-party vendors that sell them, though I'm not sure if there are any free options available to you. Maybe you could switch to JavaDB or H2 instead?

Member Avatar for Ezzaral
0
145
Member Avatar for chinesethunda
Member Avatar for Riteman

> Am believing that He'll certainly speak through DANIWEB You'll find a lot of speaking if you use the search feature. There are thousands of "final year project" threads. After you have read them, post back if you have a [I]specific question[/I].

Member Avatar for mustafaneguib
0
1K
Member Avatar for Ancient Dragon

You will need to collect and remit sales tax on sales made in your own state.

Member Avatar for mark santa
0
98

The End.