3,927 Posted Topics
Re: Are you kidding? You want a working, documented program that you had nothing to do with to present as your own work for your resume?? | |
Re: You already have an open thread on this question. Please abide by the rules regarding multiple postings of a single question. Closing this one. | |
Re: Sounds like a question for whoever wrote your forum code. | |
Re: You can also take a look at [URL="http://java.sun.com/docs/books/tutorial/2d/index.html"]Sun's Java 2D graphics tutorial[/URL]. | |
Re: Just pick one that you think could be useful for a small piece of your interface: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/index.html[/url] | |
Re: Then start typing. Come back later when you have actual questions and code to post. [url]http://www.daniweb.com/forums/announcement9-2.html[/url] | |
Re: Take a look at the documentation for the [URL="http://cruisecontrol.sourceforge.net/main/configxml.html#htmlemail"]<htmlemail>[/URL] attribute under [URL="http://cruisecontrol.sourceforge.net/main/configxml.html#publishers"]<publishers>[/URL]. You can alter the XSL stylesheets to customize the email content. There is some discussion of that here: [url]http://www.javaranch.com/journal/200409/DrivingOnCruiseControl_Part1.html[/url] | |
Re: You can use the [URL="http://java.sun.com/javase/6/docs/api/java/util/Scanner.html"]Scanner[/URL] class to read the input. I assume you already know how to use System.out.println() or System.out.printf(). | |
Re: You can just use[code]if(classname.equalsIgnoreCase("rogue")){[/code] | |
Re: If you actually asked a question then perhaps someone could answer it. | |
Re: You can subclass JPanel to paint your image as it's background. Anything else you put on that panel should show up normally.[code] class ImagePanel extends JPanel { Image img; public ImagePanel() { super(); img = new ImageIcon(getClass().getResource("images/blackX.gif")).getImage(); } public void paintComponent(Graphics g) { g.drawImage(img, 0, 0, getWidth(), getHeight(), this); } … | |
Re: You signature [U]is[/U] visible, I'm looking right at it, so your posts are making little sense. Perhaps you have the display of signatures turned off in your user options? | |
Re: There is a [URL="http://www.daniweb.com/forums/forum24.html"]forum for JSP[/URL]. | |
Re: Your actionPerformed method is not actually inside your class. Check your braces. | |
Re: Use their JDBC driver: [url]http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html[/url] Do not use the JdbcOdbc bridge. | |
Re: I agree that the "New" buttons are too large. I prefer the previous version that wasn't so intrusive. ![]() | |
Re: [QUOTE=Midnite001;1099671]and secondly I tried to log back in under my other accound name for that thread and the system logs me in but then back out again for some strange reason ? [/QUOTE] I would recommend inquiring about this problem in [URL="http://www.daniweb.com/forums/forum26.html"]Community Feedback[/URL]. | |
Re: This example may help: [url]http://www.exampledepot.com/egs/javax.swing.text/style_HiliteWords2.html[/url] | |
Re: Have you browsed the forums at all? This question is asked all the time in one form or another. | |
Re: You could add an [URL="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html"]InternalFrameListener[/URL] with code in the closing() function to notify your main class to remove the reference to it. | |
Re: [QUOTE=vegaseat;1090079]Hard to beat a snowperson.[/QUOTE] Nah, it's actually quite easy - they can't run away. Just grab a shovel and go to work on 'em. | |
Re: You just said that you already have an idea for doing a project on image processing. So why are you asking for project ideas? | |
Re: You might take a look at using internal frames: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html[/url] | |
Re: Discussions about how to get started building a site are fine here, but soliciting work for hire must stay in the Business Exchange section. Any more offers like this and the thread will be closed. | |
Re: It's complaining because you sent this exact string as your values[code]"VALUES (id, fn, ln, phone, add, city, st, zip, age, sex, hr, hrs) "[/code]You didn't concatenate them in or use a PreparedStatement to set them, you just sent that string to the db and those are not valid values for … | |
Re: There is a small red triangle icon with an exclamation point in the right hand side of the title of the message that lets you report a PM. If the user is already banned there really isn't a need to report them though, as they've already been handled. | |
Re: Well, I guess the regular users who have posted asking what happened to it and wanting it to be returned were not at that conference. I've seen 8 posts on it since it disappeared yesterday. | |
Re: You can start with the Sun tutorials to begin with: [URL="http://java.sun.com/docs/books/tutorial/2d/index.html"]2D Graphics[/URL] | |
Re: Try using an InternalFrameAdapter instead of FocusAdapter. JInternalFrames don't generate the same events as regular frames. [url]http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html[/url] Using the activate and deactivate events should work for you. | |
Re: Please do post the same question in multiple threads. I am closing this one. Please direct any discussion to the other thread: [url]http://www.daniweb.com/forums/thread247968.html[/url] | |
Re: [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies#faq_keep_it_clean[/url] | |
Re: And your question? Posting your assignment is not a question. [url]http://www.daniweb.com/forums/announcement9-2.html[/url] | |
Re: H2 is another good embedded database: [url]http://www.h2database.com/html/main.html[/url] | |
Re: [QUOTE=shekaranumalla;1080670]destroy cookies[/QUOTE] Please elaborate if you have a question. "destroy cookies" is not sufficient. | |
| |
Re: Is there a reason you're not working with the file as an xml document though a DOM api? | |
Re: Read before you post. That is exactly what neilcoffey explained above - in January. | |
Re: And after that, read this link as well: [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies#faq_keep_it_clean[/url] | |
Re: I [URL="http://www.daniweb.com/forums/thread226929.html"]already gave him a link to a tutorial[/URL] that demonstrated this, but obviously he didn't feel compelled to read it (nor the instructions to use code tags). | |
Re: You should start typing - that's where source code comes from. Post actual questions when you have specific troubles. | |
![]() | |
Re: Start here: [url]http://java.sun.com/docs/books/tutorial/uiswing/painting/index.html[/url] and [url]http://java.sun.com/docs/books/tutorial/2d/index.html[/url] | |
| |
Re: Just have the user enter a number for the road type. Then your switch can simply be [CODE]switch (roadType) { case 1: speed = 50; break; case 2: // ... etc }[/CODE]You will have to remove the "final" from your SPEED declaration. | |
Re: Cast your Graphics reference to Graphics2D and turn on anti-aliasing:[CODE]Graphics2D g2D = (Graphics2D)g; g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); [/CODE] | |
Re: You won't be able to put jars in your jar. Typically you would just include that jar file in a" /lib" folder in your installation and add that reference to the class path entry in your application jar manifest file. |
The End.