3,927 Posted Topics

Member Avatar for Sodabread

[QUOTE=Diamonddrake]If only there was a "im not writing your software for you man!" auto respond button.[/QUOTE]Try [URL="https://addons.mozilla.org/en-US/firefox/addon/1347/"]Clippings[/URL] :)

Member Avatar for Ezzaral
0
192
Member Avatar for BestJewSinceJC

[QUOTE=~s.o.s~]Apologies, it's a typo there. I meant: "Dani, please make it so that quotes are *NOT* hidden by default and clicking on the quote header hides the quote". :)[/QUOTE]I'd agree that this sounds like a better implementation. And make the quoted text just tiny bit darker, or the background a …

Member Avatar for Ezzaral
0
114
Member Avatar for BestJewSinceJC

Yes, I'd agree that it's somewhat hidden up there at the top. I think it's previous location just below the last post is probably the best place for it if we're to have any chance of new posters using it.

Member Avatar for happygeek
3
224
Member Avatar for Dave Sinkula

Even given the difficulties that some voters will have with electing a minority candidate (read not a white male), I have heard recent speculation by the pundits that a black male may be more electable than a white woman. Who knows what basis they are making those speculations on, but …

Member Avatar for jephthah
0
6K
Member Avatar for tanha

You need the mysql-connector jar in your class path. [url]http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html[/url]

Member Avatar for peter_budo
0
224
Member Avatar for ahmed.sofi

Keep a separate thread or timer that updates the state of your objects and calls repaint() on the AWT event queue to refresh them. This is referred to as a game loop or animation loop.

Member Avatar for Ezzaral
0
109
Member Avatar for ceyesuma

[QUOTE=ceyesuma;1213068]I didn't see a reference implying create=true as part of the DB url. I'm not sure where you are seeing this.[/QUOTE] Listing here: [url]http://publib.boulder.ibm.com/infocenter/cscv/v10r1/topic/com.ibm.cloudscape.doc/cdevdvlp51654.html[/url]

Member Avatar for ceyesuma
0
125
Member Avatar for rana555

It does make them sound rather foolish, doesn't it? I certainly wouldn't go out of my way to help someone who posted like a wailing child.

Member Avatar for Ezzaral
-1
241
Member Avatar for username2000

Maybe you can hook up with this guy and write your assignment together: [url]http://www.daniweb.com/forums/thread281987.html[/url]

Member Avatar for Ezzaral
0
59
Member Avatar for 3ak

You need to override paintComponent(Graphics) for whichever component you are drawing them on. Update the state of your rectangle data with the mouse events and let paintComponent() handle the actually drawing.

Member Avatar for 3ak
0
179
Member Avatar for bigBob888
Member Avatar for gymangel812

Generally it is a good idea to actually state the problem you are having, rather than leave everyone to guess. That said, I can tell you that you need to remove the calls to super() in your constructors because you no longer have that super class. You also need to …

Member Avatar for Ezzaral
0
185
Member Avatar for anthonysteven

Seems like you should do some searching on that error with NB 6.1 or post to the nbusers mailing list. Your error has nothing to do with Java really, rather it's a specific program installation problem.

Member Avatar for peter_budo
0
111
Member Avatar for Epsilon92

127.0.0.1 You don't need anything more than local tools while you're just learning.

Member Avatar for diafol
0
122
Member Avatar for jlover2010

Well, you could create your own custom dialog, but I wouldn't say that is easier than using the array for your options with showOptionDialog().

Member Avatar for jlover2010
0
168
Member Avatar for mtbutt

[QUOTE=Candy Claire;1209820]I just want to have a program for my project but I cant create a program with this problem. [/QUOTE] Well, I guess you should fail the project then. That's how these things are suppose to work. If you can't actually [I]do[/I] the work, you shouldn't receive a passing …

Member Avatar for jwenting
0
299
Member Avatar for whiplash316

I'm sorry, you must have taken a wrong turn on the internets - you seem to think you've found the Lazy Student Homework Completion Service. You are mistaken.

Member Avatar for Ezzaral
0
261
Member Avatar for Chrisjj

So for all of your pedantic criticism, you have yet to offer an alternative suggestion to this gross linguistic [I]infraction[/I].

Member Avatar for diafol
0
783
Member Avatar for smagee12

I guess that would depend on what you consider a decent living and how many people you can find who require data recovery services.

Member Avatar for jephthah
0
865
Member Avatar for progr

Yes. 'this' refers to the current object - whatever that object is. It could be anything. 'content' refers to whatever you defined it as. Most likely it's a Container ref obtained from getContentPane() somewhere in your program.

Member Avatar for progr
0
86
Member Avatar for j_p36

Perhaps this?[CODE]$alertVar = 'Your variable here'; $pattern = "{transform='translate\((.+?)\) scale\((.+?)\)'\/\>}"; $replace = "transform='translate($1) scale($2)' onclick=\"alert('$alertVar')\"/>"; $string = '<a xlink:title="Plot #1" xlink:show="new"/> <g style="fill:none; color:red; stroke:currentColor; stroke-width:1.00; stroke-linecap:butt; stroke-linejoin:miter"> <g transform="translate(507.9,430.5)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end"> <text>Viruses</text> </g> <use xlink:href='#gpPt4' transform='translate(343.4,220.7) scale(4.50)'/> <use xlink:href='#gpPt4' transform='translate(535.3,73.6) scale(4.50)'/> <use xlink:href='#gpPt4' transform='translate(394.6,112.0) scale(4.50)'/> '; …

Member Avatar for j_p36
0
155
Member Avatar for thedrones12

paintComponent() can definitely be called often and you really shouldn't be creating any new components in that method. It should just handling painting the component to the screen. Perhaps you should pop up the other screen from whatever event ended play. Edit: Just a note on the double call: it's …

Member Avatar for thedrones12
0
270
Member Avatar for jamdanie04

[QUOTE=fancymark;1201924]Yes you should use it, i am also using Registry Cleaner but i don't feel any change in my PC.[/QUOTE] Oh sure, that makes a lot of sense. Recommend that someone should definitely use a product that you are currently seeing no benefit from at all.

Member Avatar for caperjack
-1
166
Member Avatar for rciprogrammer
Member Avatar for rciprogrammer
0
128
Member Avatar for satishynd

There are a couple of different methods for setting various icons for the button, including setPressedIcon(). Here's a list: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/button.html#contents[/url]

Member Avatar for Ezzaral
0
111
Member Avatar for ravi-kr

I don't see anything wrong with what you have there. Have you tried running it through a PreparedStatement?

Member Avatar for ravi-kr
0
127
Member Avatar for bent_al3z4114
Member Avatar for Nick Evan
-4
106
Member Avatar for gjames

You should be able to just add the jar files to your build path in your project configuration.

Member Avatar for gjames
0
73
Member Avatar for sukruth

That's a rather odd replacement you're making, but you can do it by escaping the square brackets like so[code] String a="FirstName & LAstName \\[abc\\]"; String b="FirstName, LAstName \\[abc\\]";[/code]They are being interpreted as a regular expression construct instead of normal characters.

Member Avatar for Ezzaral
0
77
Member Avatar for k2k

You'll be able to access those methods if you have declared the variable to be of your "MenuBar" type. If you're using a JMenuBar reference, those won't be visible.

Member Avatar for k2k
0
129
Member Avatar for goofy_chick

[QUOTE=goofy_chick;1202176]If you dont want to contribute to a answer thats fine - I dont expect any answers but dont under any curcumstances insinuate that I have not RESEARCHED JTables and am just trying to get someone else to do the work for me!!!![/QUOTE] Is it okay to insinuate that perhaps …

Member Avatar for SasseMan
0
191
Member Avatar for yumarksman

People become moderators by invitation as the need arises. Generally those invitation are issued to individuals who have spent a considerable amount of time answering questions and being active in the forum community.

Member Avatar for Ezzaral
0
57
Member Avatar for customtshirts

I would wear custom t-shirts too, if only I knew where to find some. :(

Member Avatar for BestJewSinceJC
-7
253
Member Avatar for wateen1
Member Avatar for laehc
-1
108
Member Avatar for happygeek

This just in: Younger people more likely to engage in risky behavior than older persons. Really, I don't find it surprising at all. The venue may change, but ignoring risk or discounting consequences is not something new for the younger demographic. Been there, done that, have the t-shirt. The "internet …

Member Avatar for happygeek
0
209
Member Avatar for noplagiarism

Unsigned applets cannot access the local file system: [url]http://java.sun.com/docs/books/tutorial/deployment/applet/security.html[/url]

Member Avatar for noplagiarism
0
184
Member Avatar for hinks

Hmm, 45-90 minutes.. am I late? Let's tone down the personal attacks a bit and keep it on topic. I'm shaking my mod finger at you now. If I have to come back in here, you kids are in trouble.

Member Avatar for almostbob
0
136
Member Avatar for byimam

For use with anything other than trivial canned examples that you feed it? You can't.

Member Avatar for Ezzaral
0
33
Member Avatar for wchitamb

And how is resurrecting someone else's thread from 2005 going to help with that? Try searching for "final project" here. I'm sure you'll find plenty of results.

Member Avatar for Ezzaral
-3
175
Member Avatar for ana12

[QUOTE=jephthah;1175354]no i'm not ok. what should i do?[/QUOTE] Maybe a custom t-shirt would help you feel better?

Member Avatar for Lardmeister
-5
256
Member Avatar for jjonesmu

His post said to make print the [U]first statement[/U] in your listener to make sure the method was even getting called at all - and you didn't do that. Getting snippy about it isn't likely to encourage anyone else to volunteer their time to help you.

Member Avatar for Ezzaral
0
1K
Member Avatar for malugirl4
Member Avatar for malugirl4
0
78
Member Avatar for jnthn205

No, it's returning the end result of the entire conditional. It will return either true or false.

Member Avatar for moutanna
0
109
Member Avatar for jiraiya

It looks like you're having trouble with your iterator. To access the next object you need[code]while( iterator.hasNext() ) { YourObjectType nextObj = (YourObjectType)iterator.next(); if( nextObj.string3.equals( stringA ) ) { } }[/code]Where "YourObjectType" is of course whatever object you're using that contained the strings.

Member Avatar for jiraiya
0
94
Member Avatar for Famous16

JasonHippy is correct. Advising software piracy is not tolerated here. Any discussion on how to illegally obtain commercial software for free will be removed and the offenders dealt with as per the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies#faq_keep_it_legal"]Keep It Legal[/URL] rules.

Member Avatar for Johnsmith1
0
149
Member Avatar for Helpgirl

So, read this: [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies#faq_keep_it_clean[/url] And this: [url]http://www.daniweb.com/forums/announcement14-2.html[/url] (as already mentioned) If you have questions more specific than "gimme the code", post them in the C++ forum. Don't expect much help though if you haven't even made an attempt at the problem.

Member Avatar for Ancient Dragon
-2
155
Member Avatar for cool_jatish

Read the[URL="http://java.sun.com/docs/books/tutorial/jdbc/index.html"] JDBC tutorial[/URL].

Member Avatar for Ezzaral
0
126
Member Avatar for grady-lad

You can use [URL="http://java.sun.com/javase/6/docs/api/java/util/Random.html#nextInt(int)"]Random.nextInt(int)[/URL] to choose an index in your button array.

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for jaredleo999

You need to main the references to the buttons if you want to be able to alter their properties. An array or list would suffice. Just so you're aware, many of the LookAndFeel implementations don't show button background changes well. JLabels set to opaque with a raised bevel border might …

Member Avatar for moutanna
0
86
Member Avatar for fkcares

[url]http://en.wikipedia.org/wiki/Shrink_wrap[/url] It's great stuff with many applications. Good luck on your test.

Member Avatar for fkcares
0
74

The End.