3,927 Posted Topics
Re: 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. | |
Re: If you wish to hire someone to verify the translations, you should create a posting in the Looking To Hire forums. | |
Re: 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] | |
Re: 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. | |
Re: 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. | |
Re: 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] | |
Re: 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[]. | |
Re: 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 … | |
Re: It's a paperback - not an ebook. There are a ton of copies for sale online. | |
Re: 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. | |
Re: 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 … | |
Re: "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. | |
Re: 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] | |
Re: 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 … | |
Re: Your domain axis (x-axis) should display the categories you've supplied. It's not a range of values, it's a discrete set. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: "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. | |
Re: 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. | |
Re: 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) | |
Re: 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] | |
Re: 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. | |
Re: 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. | |
Re: 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? | |
| |
Re: 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. | |
Re: You can only edit for 30 minutes. If you need to add additional info, you'll need to post it in a reply. | |
Re: 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] ![]() | |
Re: 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 … | |
Re: What "other program" is generating the code? Why the need for two programs? | |
Re: Probably not - you haven't really asked a question. ![]() | |
Re: ^^ 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 … | |
Re: 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. | |
Re: Please do not resurrect old threads just to promote blog entries. Thread closed. | |
![]() | Re: Try [iCODE]getContentPane().setBackground(Color.BLUE);[/iCODE] ![]() |
Re: 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] | |
Re: Direction is the enumeration class. You need to switch on a variable that holds the direction. | |
Re: Make sure you have the Jasper report jars on your class path. | |
Re: Threads merged. @popsyjonhson: Please do not create multiple threads for a single question. | |
Re: It's a British thing ;) | |
Re: 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. ![]() | |
![]() | Re: 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. ![]() |
Re: Since "\" is itself an escape character in strings, you have to escape them as well "\\". | |
Re: You declared it as SortedSet, use that. TreeSet is just an implementation detail. | |
Re: 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. | |
Re: Look up the return type of ArrayList.add(). Why are you trying to assign that to your ArrayList variable? |
The End.