3,927 Posted Topics
Re: You can't define methods within methods. Check your braces and code block organization. | |
Re: From the linked site[QUOTE]You can run the program in a batch mode using command line interface. Besides, it includes a DLL which you can use from your own application.[/QUOTE]This would imply you may be able to run this as a utility from your own script and then run the result … | |
Re: It looks to me like your code should work just fine. Are you sure that you aren't resetting the model at some point after listSeries() has updated it? The add() method automatically fires an event that should keep your JList updated with the model. | |
Re: Ask specific questions about the parts you don't understand. All you posted was a constructor - not much going on there. | |
Re: JComboBox is very flexible in that you can put any object you like in the model. You don't mention what you mean exactly by "link it to the database", but if you need to do something like get an ID for a selected entry, a small TypeEntry object can be … | |
Re: Each of those has detailed documentation on installation and configuration. If you don't want to use a single install package like WAMP or XAMPP, you should be willing to take the time to read the install docs for each of them. ![]() | |
Re: Just put the alias after the table name in your FROM clause and use those in place of the table name: `select a.f_name, a.l_name, b.f_name, b.l_name from user a, user b where a.id = '1' and b.id = '12'` | |
Re: If you've written that program 500 times, you're doing it wrong. | |
Re: >i think guide of w3school.com are nice for beginning :) Well, except for the fact that w3schools does not have a Java section. Don't conflate Javascript with Java. @Delnith: Please refer to the sticky thread at the top of the Java forum listing: [Starting Java](http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq) | |
| |
Re: I think you mean 'here' instead of hear (hear is to receive sounds through the ears) and 'spammer' instead of 'SEO worker'. SEO workers often don't know the difference on the spam part and don't realize why no one wants them around. Don't be one of those SEO workers. | |
Re: See [Java Mail API](http://www.oracle.com/technetwork/java/javamail/index.html) | |
![]() | Re: Well, technically you can go to Edit Your Username and delete the account, or you can just uncheck the box to receive emails from Daniweb. |
Re: Thanks for your enlightened insight, devin. I'm sure many will benefit from this advice. | |
Re: >Someone please let me know if i can post an external link External links are fine if they directly address the question and do not violate the community rules. | |
Re: [QUOTE=sharlynjm;773382]Hi all, i want a simple java code to convert currency to indian rupees...how to proceed?[/QUOTE] With a keyboard and text editor. | |
Re: Look in the Properties window at the 'border' property. Click the builder button "..." on the right-hand side. | |
Re: You might take a look at the [transform()](http://docs.oracle.com/javase/7/docs/api/java/awt/geom/AffineTransform.html#transform(java.awt.geom.Point2D,%20java.awt.geom.Point2D)) and [inverseTransform()](http://docs.oracle.com/javase/7/docs/api/java/awt/geom/AffineTransform.html#inverseTransform(java.awt.geom.Point2D,%20java.awt.geom.Point2D)) methods on AffineTransform. | |
![]() | Re: So basically you want to distribute ripped-off content without being traceable. Read the rules here. Discussing illegal activity is forbidden. |
Re: > isn't the "if" class a loop? No, if() is a conditional statement (not class). It is a branching construct, not looping. Do(), while() and for() are common looping constructs. ![]() | |
Re: JFreeReport is pretty decent and free. | |
Re: Of course it does - you aren't saving what is read anywhere:[code]reader.read();[/code]If you want the data read into a char[] buffer then you have to supply it as an argument to the read() method. Check the API for [URL="http://java.sun.com/javase/6/docs/api/java/io/Reader.html#read(char[])"]read()[/URL]. There are a few variations available depending on your needs. | |
Re: > You assume quite a bit. I didn't note any claim of trouble or that I downloaded any of it. You didn't really claim anything at all - just posted a bunch of nonsense without any explanation. Don't blame others if they took it the wrong way. | |
Re: The buttons may only show posts which are currently negative or positive, so if someone voted down and someone else voted up, the net result would not be visible on either button. | |
Re: I was a long-time smoker, but quit a few years ago. The other three developers on my team have never been smokers. I've never seen any occupational tendency towards it. Based on my personal observations, there seems to actually be a negative correlation. My sample population is rather low though, … | |
Re: [QUOTE=niek_e;1099497]My first one had a tape-deck :)[/QUOTE] Mine as well: Commodore Vic-20 :) | |
| |
Re: [QUOTE=ramnadh;795504]can u sahre that email id's as i am doing the e-marketing[/QUOTE] You need to work on your communication skills before you even [I]think[/I] of doing any "marketing". | |
Re: @Andyjava: Please do not create multiple threads for the same question. You already have a thread for this here: http://www.daniweb.com/software-development/java/threads/430893/adding-database-tables-as-items-into-a-jcombobox Please direct further discussion there. Closing this one. | |
![]() | Re: Yes, if you wish to discuss a particular question, please confine it to a single thread so that the answers don't get spread around all over the place. Closing this thread. Please direct further discussion to the thread linked above by JorgeM. |
Re: I'd recommend switching to H2 for your database. You wouldn't need to mess with the Jet drivers or data sources at all. All you need is the H2 jar. | |
Re: Java's rules about braces and blocks are nearly identical to C++, so if you did write that C++ code, you should see why your Java version is quite broken. | |
Re: Contact hotmail. You won't get any help hacking it here. | |
Re: No one is going to explain this line by line. Make an effort yourself and ask specific questions about the portions that you are unclear on. | |
Re: Your mistake is expecting someone would solve your homework or quiz problem for you in 16 minutes. | |
![]() | Re: Mysqli and PDO are PHP modules - not databases. It is entirely appropriate to post them in the PHP forum. ![]() |
Re: You get an astronomical electric bill. I put in four cats and a spider monkey, duct-taped together by their feet. | |
Re: @diceadmin: Then why are you bothering to post here on an open discussion board? These forums aren't here to collect private business. If the questions and answers cannot be openly shared, they don't belong here at all. | |
Re: > Every year there are 30,000 gun deaths Two-thirds of those are suicides. Let's keep the numbers honest if you want to quote them. | |
Re: > Also, has your church considered using Excel? Yes, Excel would be fine. An Access db is an even more flexible alternative. Either could be set up for basic data entry in less than an hour. | |
Re: Some good, old Megadeth: [url]http://www.last.fm/music/Megadeth/_/Peace+Sells+(Randy+Burns+mix)[/url] [url]http://www.last.fm/music/Megadeth/So+Far%2C+So+Good...So+What!/In+My+Darkest+Hour+(Paul+Lani+mix)[/url] [url]http://www.last.fm/music/Megadeth/_/Mary+Jane[/url] | |
Re: [QUOTE=pateldeep454;1188717]The error just says uncompilable source code. The error lines appear on lines 9 and 13 in LetterHist.java and on line 85 in Main.java[/QUOTE] No, the compiler does not just say "Uncompilable source code". There is an explicit reason given and you should take the time to read it. | |
Re: It's doubtful. They evidently cannot even follow the most basic of instructions, search on their own for information that is available all over the net, or post detailed information about the problems they are experiencing. | |
Re: Did you bother to read any of the suggestions posted above? Are you completely unable to think for yourself? Closing this thread. It's long outlived its usefulness. | |
Re: actually we want to know about share trading.How we start this project?And we also want to collect the documentational info about this project. Please keep posts on topic with the thread. This questions has nothing to do with the original question and as such should be posted as a new … | |
Re: And ^^ that is a perfect example of why using tab for code formatting markup is awkward. It does make it very simple for people intending to mark a block as code, but many posters use tab for paragraph formatting out of habit and it wrecks their post. | |
Re: Wikipedia has extensive entries on both of those topics. A quick, simple search would provide plenty of information. If, after reading those, you still have specific questions, post back and maybe someone can clarify them for you. | |
Re: To cast the reference, you just need to add the class name in parenthesis in front of the method call, ie. `MyClass obj = (MyClass)s.readObject();` You can read a bit more about the ObjectInputStream and see a couple of examples [here](http://docs.oracle.com/javase/6/docs/api/java/io/ObjectInputStream.html). |
The End.