3,927 Posted Topics

Member Avatar for raichand

From the rules: [B]Do provide evidence of having done some work yourself if posting questions from assignments.[/B] Thread closed. Try again when you have specific questions about [I]your [/I]code.

Member Avatar for Ezzaral
0
165
Member Avatar for mykeled123

If you wish to hire someone to verify the translations, you should create a posting in the Looking To Hire forums.

Member Avatar for Ezzaral
0
156
Member Avatar for Genericusername

If you wish to access the method without an instance of your WordRepeater class, you will need to declare the tester method 'static'.[CODE]public static boolean tester (...[/CODE]

Member Avatar for Genericusername
0
190
Member Avatar for easa0562

Yes, the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL] clearly state: [B]- Do provide evidence of having done some work yourself if posting questions from assignments.[/B] Thread closed. Try again when you can show the slightest indication of effort.

Member Avatar for Ezzaral
0
93
Member Avatar for manou324

You need to loop through the list and get each "Ticket" object and check its id. You can only call getId() on an object of type Ticket, not the Ticket class itself.

Member Avatar for manou324
0
206
Member Avatar for lbmve

What have you tried so far? What have you thought about trying? From the forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]: [B] - Do provide evidence of having done some work yourself if posting questions from assignments.[/B]

Member Avatar for Schol-R-LEA
0
106
Member Avatar for libathos

Yes, as Norm said, you do not need to create those arrays in the method call. I merely did that as a quick example in your other thread. That signature is actually[CODE]createCategoryDataset(java.lang.Comparable[] rowKeys, java.lang.Comparable[] columnKeys, double[][] data)[/CODE]The arrays do not even necessarily have to be String[].

Member Avatar for libathos
0
198
Member Avatar for Dmiller071

You don't need to set the background in paint(). You can set it in the constructor once and it will persist. You specifically [I]do not[/I] want to override the paint() method like that because you are preventing the labels from being rendered at all. In Swing components, you should override …

Member Avatar for Dmiller071
0
273
Member Avatar for nick_hunk91
Member Avatar for nick_hunk91
0
273
Member Avatar for minghags

From the rules: [B]Do provide evidence of having done some work yourself if posting questions from assignments.[/B] Show some effort and ask specific questions about the part you are struggling with. Regardless of circumstance, this is not a homework completion service.

Member Avatar for Ezzaral
0
410
Member Avatar for Artmann

You are correct in that security is the reason, but some tend to think security just means hackers breaking into your computer. The security referred to here is the integrity of the workings of the code. Access modifier allow class designers to restrict what any other classes can modify and …

Member Avatar for Ezzaral
0
155
Member Avatar for gourav1

"It is showing error" is not helpful to anyone. If you want help resolving an error, you need to post what it is. You also need to read the forum rules about using clear, relevant titles for your threads. "problem!" is not a useful title.

Member Avatar for stultuske
0
100
Member Avatar for H_o_p.e

That does not look like a valid connection string. You need to use something closer to this[CODE]String connectString = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=" + projectDirectory + filename;[/CODE]

Member Avatar for DavidKroukamp
0
466
Member Avatar for crazymidget01

I believe James is correct that the problem lies in the missing revalidate() and repaint() on your panel. When add/remove components from a container, you should validate the container so layout is updated. Repaint will ensure that whole component gets repainted and not just regions that the RepaintManager thinks are …

Member Avatar for mKorbel
0
1K
Member Avatar for libathos

Your domain axis (x-axis) should display the categories you've supplied. It's not a range of values, it's a discrete set.

Member Avatar for libathos
0
231
Member Avatar for Daigan

What you have written there should read multiple lines just fine, but you're replacing 'words' each time, so it is going to end up null at the end.

Member Avatar for Daigan
0
197
Member Avatar for jacob501

Well, that's off-topic and more of a personal problem. Perhaps a reply acknowledging the suggestions pyTony and woooee made above would be more appropriate.

Member Avatar for Ezzaral
0
313
Member Avatar for jackmaverick1

Hotswap just refers to automatically applying changes to your current debug session without need to stop, compile and restart the session. From some quick reading, Eclipse is supposed to do this for you automatically if you save changes that you make while debugging a file. You'll need to be sure …

Member Avatar for Ezzaral
0
112
Member Avatar for mrjeck2008

You can [URL="http://docs.oracle.com/javase/tutorial/essential/regex/index.html"]use regex[/URL] to find your matching text and return match results.

Member Avatar for NormR1
0
585
Member Avatar for n3red

"problem occurs" isn't much to go on. Post the specific error message. The only thing I could say at this point is that you need to add the node to another node, not the JTree component itself.

Member Avatar for Ezzaral
0
262
Member Avatar for daniel36

You can mark a thread solved by clicking the "Mark This Thread As Solved" link at the bottom. Others can still post in the thread. Only a moderator can actually close a thread.

Member Avatar for Ezzaral
0
90
Member Avatar for kesh1000

If you have to choose three, it's an invalid question. Only two of those are legal operations. (And one of those two is only valid for testing object reference equality)

Member Avatar for Ezzaral
0
93
Member Avatar for gameguy91

Religion has little to do with it, it's one of our [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL]: [B][I] - Do provide evidence of having done some work yourself if posting questions from assignments.[/I][/B]

Member Avatar for Ezzaral
-1
94
Member Avatar for sidd.

Please remember the forum rules regarding help via email. The forums are here for all to participate and benefit from. If the questions are posted here, let's keep the solutions here as well.

Member Avatar for Ezzaral
0
168
Member Avatar for eranga262154

Set your property values [U]before[/U] you write it to the file. Setting values on the Properites object after you wrote it isn't going to update the file for you.

Member Avatar for riahc3
-1
2K
Member Avatar for D19ERY

Not if you can't demonstrate the slightest bit of effort on your own. What do you have so far? What [U]specific[/U] questions do you have?

Member Avatar for L7Sqr
0
252
Member Avatar for natehome123
Member Avatar for natehome123
0
208
Member Avatar for Lukester3

Please note the forum rule regarding effort and school assignments: [B][I] - Do provide evidence of having done some work yourself if posting questions from assignments.[/I][/B] Post your code and specific questions about the issues you are having trouble with.

Member Avatar for Ezzaral
0
196
Member Avatar for enzo80
Member Avatar for Ezzaral
0
224
Member Avatar for vaironl

You have not initialized all of your arrays. Also, you don't need to use String constructor directly like this [iCODE]new String("")[/iCODE]. Just use the literal [iCODE]""[/iCODE]

Member Avatar for hfx642
0
146
Member Avatar for VernonDozier

Here is the code I used to dump a "colorscan" display of some sensor data to an image file so I could fiddle with it in an external image processing package. Our component was using an offscreen Image buffer to draw on and then rendering with g.drawImage() in the paintComponent …

Member Avatar for ferwerda
0
421
Member Avatar for Lemony Lime
Member Avatar for NormR1
0
3K
Member Avatar for BLUEC0RE
Member Avatar for junchronick
Member Avatar for baz_thug005

^^ all that and a note from our forum rules (you did read those when you signed up, right?): [B][I] - Do provide evidence of having done some work yourself if posting questions from assignments.[/I][/B] Thread closed. Feel free to repost if you can demonstrate that you've made some effort …

Member Avatar for Ezzaral
-4
83
Member Avatar for oldezwe

You must call rs.next() to advance through your result set. Initially your row pointer is positioned before the first result. Typically you will use [ICODE]if(rs.next())[/ICODE] or [ICODE]while(rs.next())[/ICODE] to advance while there are records to read.

Member Avatar for Ezzaral
0
236
Member Avatar for ahmedshayan

Please do not resurrect old threads just to promote blog entries. Thread closed.

Member Avatar for Ezzaral
0
3K
Member Avatar for loserspearl
Member Avatar for loserspearl
0
113
Member Avatar for sirlink99

You can use [URL="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html#rotate(double)"]Graphics2D.rotate()[/URL] method to rotate the current graphics context. Tutorial: [url=http://docs.oracle.com/javase/tutorial/2d/advanced/transforming.html]Transforming Shapes, Text, and Images[/url]

Member Avatar for mKorbel
0
171
Member Avatar for Adami

Direction is the enumeration class. You need to switch on a variable that holds the direction.

Member Avatar for Adami
0
405
Member Avatar for vishal18
Member Avatar for jankeifer
Member Avatar for popsyjohnson

Threads merged. @popsyjonhson: Please do not create multiple threads for a single question.

Member Avatar for Ezzaral
0
99
Member Avatar for happygeek
Member Avatar for LondonJava

Keep a List of the dependent frames in your base frame. When closing one of the dependents, call a method on the base to dispose of all dependents.

Member Avatar for hfx642
0
479
Member Avatar for begueradj

No. No one wants to "fix for you" some code you copied off the internet. If you post the exact error message, which will include the line on which the error is occurring, perhaps someone will [I]help[/I] you solve the issue yourself.

Member Avatar for hfx642
0
184
Member Avatar for Forte1292

Since "\" is itself an escape character in strings, you have to escape them as well "\\".

Member Avatar for Ezzaral
0
160
Member Avatar for asif49

You declared it as SortedSet, use that. TreeSet is just an implementation detail.

Member Avatar for Ezzaral
0
25
Member Avatar for toldav

At the bottom of the page, there is a section "Has this thread been answered?" and a link to "Mark this thread as solved". Simply click that link.

Member Avatar for Ezzaral
0
352
Member Avatar for Mehnad

Look up the return type of ArrayList.add(). Why are you trying to assign that to your ArrayList variable?

Member Avatar for Ezzaral
0
939

The End.