3,927 Posted Topics
Re: Nah, how about you ask a specific question about the part you don't understand? What do you think it does? | |
Re: [QUOTE=Sturm;502851]>When you steal software you are violation federal and international copyright laws. Am I supposed to care? If there's no penalty, why not?[/QUOTE]There are penalties, you have just been lucky enough not to incur them - yet. [QUOTE=Sturm;502851]>Then you are a fool. I'm a fool for actually formulated my own … | |
Re: It may just be a UAC thing with Win7 or Vista. Do you have administrator access on that machine? | |
Re: Re-read NormR1's second question and check your code again. [QUOTE]are they connected to any components?[/QUOTE] | |
Re: [QUOTE]Sadly, in this forum, we are not provided with a means of opting-out of future communication. All the 812,117 members are already locked to the mercy of a few mean guys. [/QUOTE]You can unsubscribe from a thread in your subscribed threads listing in the Control Panel. You may also chose … | |
Re: Initialize wage to some value when you declare it i.e.[code]float wage = 0f;[/code]The compiler doesn't variables that may not have been assigned a value by the time they are used. | |
Re: You could try [URL="http://sourceforge.net/projects/wrapper/"]Java Service Wrapper[/URL] to run it as a service. | |
Re: Use a try-catch around the parseFloat() call and only set the object value if a valid float has been entered. | |
Re: Create a method in your Dimensions class to add a Dimension to the instance and return a new Dimension with the result[code]public Dimension add(Dimension d){ ... add dimensions and return the result ... }[/code] | |
Re: Use [iCODE]executeUpdate()[/iCODE] instead. | |
Re: I ran into this before with the jdbc-odbc bridge and Access. You can only read from each field of the current row one time. If you try to read it again it throws an exception. I have no idea why and it's irritating. So if you need to capture that … | |
Re: Please be specific about the problems you are having. | |
![]() | Re: You need to install the "Java Web and EE" components in Netbeans, or the [URL="http://www.oracle.com/technetwork/java/javaee/downloads/index-jsp-140710.html"]Java EE SDK[/URL] |
Re: If you want to always round [I]down[/I] to the quarter[CODE]((int)(d/.25))*.25[/CODE]If you want to round to the nearest quarter[CODE]Math.round(d/.25)*.25[/CODE] | |
Re: If the cell renderer is making the check to determine which icon(s) to show, you can probably just call repaint() on the panel that contains the JTree. | |
Re: What language are you using? You hijacked someone else's question about a database and I don't even know where to move this because you haven't given any context. | |
Re: "thirdValue" needs to be on the left side of the assignment operator in the form [icode]variable = <expression>[/icode] | |
Re: [QUOTE=cpeeyush1;777279]i want to download some ebooks which are easily available on torrent [/QUOTE] If you can only get them on your torrent then obviously the authors have released them as free ebooks, so you're basically asking for help obtaining illegal material. | |
Re: That about covers it. For future reference, you can click the "Flag Bad Post" button and request the post be moved to the correct forum :) | |
Re: [QUOTE]Why resurrect a thread from 2004 just to tell us you're having problems with a web-based email service that has it's own dedicated technical support team?[/QUOTE]They use hotmail. Mull that over and see if your question resolves itself. | |
Re: Perhaps you should make a bit of effort on this yourself? So far all I have seen is "gimme code" posts and no code of your own. | |
Re: Have you tried searching the forums yet? I think you will find enough threads on the subject. | |
Re: Please mark this thread as solved :) | |
Re: It depends on the situation. Posts are only deleted when they specifically violate one of the rules of the forum. In cases of sensitive or private data posted, it's usually no trouble to edit the post to make it more generic in nature. Just use the Flag Bad Post button … | |
Re: There is certainly no reason you couldn't set up a [URL="http://www.daniweb.com/forums/group.php"]group[/URL] and start a new project on one of the open source hosting sites like SourceForge and see how it goes. | |
The "Edit/Delete" button continues to cause confusion amongst users, since it doesn't actually allow them to delete the post. I believe this was on the list of things to address with the new design months ago and may have fallen off the radar. | |
Re: I only have a moment here before I head out, but two options come to mind: - Make the combo uneditable? Is the user really needing to edit entries? - Install a DocumentListener on the combo box editor component that discards the '>' | |
Re: You can simplify it just a little more with a digit character match like so[code]\d{0,15}\.\d{0,2}[/code] You might find this small regex testing form that I posted a while back helpful in tweaking patterns as you are experimenting: [url]http://www.daniweb.com/forums/post392585-8.html[/url] The numbered text fields at the bottom are the match group results … | |
Re: Another amazing finding!!11eleventyOne! [url]http://www.hoax-slayer.com/wingdings-911.html[/url] | |
Re: >Although I don't believe in superstition at all, I sometimes follow them if there's nothing at risk. Then you do believe in them. Your statement is a complete contradiction. And how many user names are needed to plug gift plants anyway? | |
Re: Perhaps someone can, but you're going to need to show some effort on your own. | |
Re: Switching to use keyReleased() instead of keyPressed() and consuming the key event will fix it.[code]addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent event) { fromComboBoxKeyKeyPressed(event); } });[/code][CODE]private void fromComboBoxKeyKeyPressed(KeyEvent e) { int num = fromComboBox.getItemCount(); if ((e.getKeyCode() == 51) && (e.isShiftDown())){ //use # to scroll through From dropdown if (fromComboBox.getItemAt(num - 1).equals(fromComboBox.getSelectedItem())) … | |
Re: This may be useful to you: [url]http://javabyexample.wisdomplug.com/java-concepts/34-core-java/62-java-registry-wrapper.html[/url] | |
Re: So start studying and working on it. That's why you're in school. If you have an [U]actual[/U] question, come back and post it here. Be sure to include what you have done so far and explain what you are having trouble with. | |
Re: [QUOTE=shahin_198;690037]i need help java programming[/QUOTE] Well, perhaps you might want to post in the [URL="http://www.daniweb.com/forums/forum9.html"]Java Forum[/URL] then... in your own new thread, rather than one dragged up from years ago... | |
Re: URLS changed to "example.com" to be generic and still preserve the question. | |
Re: You haven't asked a question. ![]() | |
Re: Yes, Mark, your post advertising your site was deleted per forum rules against such promotion. With regards to allowing postings about piracy, no, those are not allowed either. Moderators cannot catch every single post which violates a rule and this one managed to slip under the radar back in 2009. … | |
Re: The original question was how to pass an object to a subsequent frame. That presupposes that NewFrame is dependent upon the object, which has already been created. In your example, that does not apply. If you don't have SomeObject you need to pass along, then there is no point in … | |
Re: And what do you figure you are going to learn from that? Show some effort and ask specific questions if you want anyone to help you. | |
Re: [quote=sunil_skmd;426716]Hi, I am new to java. i want to use a switch statement on operators that are in read as strings. Like "==","!=",">=","<=". Please help me to do this as i cannot use even their ascii value of these operators to switch the cases.[/quote] Switch statements can only be used … | |
Re: [QUOTE=Rajesh.n84;570995]i nead java code to connect printer when i click print button in my developing application[/QUOTE] Then you "need read this tutorial on AWT printing" and write some: [url]http://java.sun.com/docs/books/tutorial/2d/printing/index.html[/url] | |
Re: It's perfectly fine to have return statements within if() blocks. The issue here is that there is not a guaranteed return path from the method. For instance, in the original code if inOrder.length is 0, there is no return. The compiler requires a valid return path regardless of any conditional … | |
Re: You are probably getting the java.lang.NoClassDefFoundError: java/lang/StringBuilder error because you compiled the servlet under 1.5 or above and your app server is running 1.4. StringBuilder was introduced in java 1.5. | |
Re: Five years ago he may have found that suggestion helpful - now, not so much. |
The End.