3,927 Posted Topics
Re: [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] :) | |
Re: [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 … | |
Re: 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. | |
Re: 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 … | |
Re: You need the mysql-connector jar in your class path. [url]http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html[/url] | |
Re: 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. | |
Re: [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] | |
Re: 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. | |
Re: Maybe you can hook up with this guy and write your assignment together: [url]http://www.daniweb.com/forums/thread281987.html[/url] | |
Re: 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. | |
![]() | |
Re: 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 … | |
Re: 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. | |
Re: 127.0.0.1 You don't need anything more than local tools while you're just learning. ![]() | |
Re: 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(). | |
Re: [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 … | |
Re: 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. | |
Re: So for all of your pedantic criticism, you have yet to offer an alternative suggestion to this gross linguistic [I]infraction[/I]. ![]() | |
Re: I guess that would depend on what you consider a decent living and how many people you can find who require data recovery services. | |
Re: 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. | |
Re: 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)'/> '; … | |
Re: 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 … | |
Re: [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. | |
Re: Create a class to hold that data. Return an instance of that class. | |
Re: 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] | |
Re: I don't see anything wrong with what you have there. Have you tried running it through a PreparedStatement? | |
Re: [url]http://www.daniweb.com/forums/announcement61-2.html[/url] | |
Re: You should be able to just add the jar files to your build path in your project configuration. | |
Re: 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. | |
Re: 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. | |
Re: [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 … | |
Re: 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. | |
Re: I would wear custom t-shirts too, if only I knew where to find some. :( | |
Re: Perhaps the other wateen can help? [url]http://www.daniweb.com/forums/thread278217.html[/url] | |
Re: 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 … | |
Re: Unsigned applets cannot access the local file system: [url]http://java.sun.com/docs/books/tutorial/deployment/applet/security.html[/url] | |
Re: 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. | |
Re: For use with anything other than trivial canned examples that you feed it? You can't. | |
Re: 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. | |
Re: [QUOTE=jephthah;1175354]no i'm not ok. what should i do?[/QUOTE] Maybe a custom t-shirt would help you feel better? | |
Re: 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. | |
| |
Re: No, it's returning the end result of the entire conditional. It will return either true or false. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: Read the[URL="http://java.sun.com/docs/books/tutorial/jdbc/index.html"] JDBC tutorial[/URL]. | |
Re: 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. | |
![]() | Re: 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 … |
Re: [url]http://en.wikipedia.org/wiki/Shrink_wrap[/url] It's great stuff with many applications. Good luck on your test. |
The End.