3,927 Posted Topics
Re: [quote=joshSCH;399506]Do a lot of people actually go to their high school reunions? I wasn't planning on attending any of mine.. Simply b/c it would be a waste of time AND I'd rather not come back to this crappy town and visit my parents ;)[/quote] Skipped my 10, will probably skip … | |
Re: [quote=inxs310;400325]3) what should i do next?[/quote] Look in a Hardware support forum instead of Comp Sci and Software Development perhaps? | |
Re: Yes, script is the only way you are going to get this behavior. With straight JSP it would require a post to the server and redisplay of the new page. | |
Re: [quote=hbk619;399249]And red hair is "bad" here, red hair normally means red pubes, having that is "bad". Please note the " ". A half friend died his pubes ginger. Whatever floats your boat.[/quote] ??? Why on earth is having red pubes considered bad? | |
Re: Your question is not very clear at all. You wish to know how to open and view a text file in Java? | |
Re: If he did Pearl Harbor then I doubt I'll make any effort to see this one. Pearl Harbor was absolutely abysmal. | |
Re: You can simply add references to next and previous (if you want doubly-linked list) instances in your class if you want to. A linked list just keeps track of the instances it is connected to, so you can handle this on your own easily. You will also need to write … | |
Re: [quote=no1zson;399101] Proper use of code tags? Or should I place them throughout my code, perhaps at each method or something? The only thing I am thinking about it cleaning up this code somewhat. Separating it in to more methods, using some set and get statements for rate, hours, and all … | |
Re: You can change this to MDI in the settings under Tools | Options | Advanced Mode | IDE Configuration | System | System Settings. Change th UI Mode property to MDI. | |
Re: You code it exactly like you have written it :) If you need to call it from a button, then in your button click handler you merely call the function and update the value wherever you need to (i.e. a textfield or whatever). C# doesn't have "procedures" - only functions. … | |
Re: That's probably your only option unfortunately. I don't think Eclipse uses Ant natively for building, unlike Netbeans. | |
Re: The null pointer exception means you tried to call a method on an object that had not been created yet. Chances are you just missed an initialization line (easy to do if you had 350 of them!). The exception stack trace should give you some information on which one caused … | |
Re: Bah, I clicked the wrong radio button on Give Rep and gave negative by mistake. Can't take it back but if someone could give him some positive rep to correct my error that would be great. This was a very helpful post. (Even though the poster put it in the … | |
Re: Metallica - Ride the Lighting Metallica - Master of Puppets Iron Maiden - Powerslave Queensryche - Operation Mindcrime meh, can only think of four "favorites" off the top of my head. Other good bands: Pantera, Anthrax, Testament, The Who, Rolling Stones, Caroline's Spine, Rage Against The Machine, Godsmack, Disturbed, Tool, … | |
Re: Just use a tertiary expresssion: int value = booleanVar ? 1 : 0; | |
Re: Stultuske already provided all the info needed to complete your assignment. Homework has a purpose. deng_sen, you really need to use the code tags to make your code more readable. | |
Re: Take a look at the "icobundle" utility here: [url]http://www.telegraphics.com.au/sw/[/url] I think it will do what you want. | |
Re: Use the Split method (member of String) to split the string on commas. The Split method will return an array of Strings. | |
Re: [quote=WaltP;398152]No. Random letters will rarely if ever generate executable code.[/quote] Though one thousand monkeys typing on one thousand typewriters... :) | |
Re: Sure! AIDS, crack, gang violence, cold war, savings and loan collapse, Iran-Contra affair... what's not to miss?!!! :P | |
Re: This is the exact question that I answered in your other thread: [url]http://www.daniweb.com/forums/thread82407.html[/url] Please do not make multiple threads for a single question. You now have three threads for the same thing and it only causes clutter and confusion. | |
Re: Actually, none of the responses even touch on the nature of the original post. [quote]I am also married to a lovely wife. But due to the American Immigration policy I have been separated from my wife for last 18 months. I could not bring her with me after marriage since … | |
Re: If you are using Firefox (which of course you SHOULD be!! :) ), you might find this add-on useful in picking through how a site is doing things: Web Developer : [URL]https://addons.mozilla.org/en-US/firefox/addon/60[/URL] It adds a toolbar that lets you inspect all kinds of things going on in a page. | |
Re: Post what you have so far. If you have been paying attention at all in class then you should have an idea how to write something in pseudo code. The forums are for getting help - not a magical homework completion service. | |
| |
Re: You have defined 'columns' locally inside a try-catch block and are attempting to use it in another block. Move the declaration outside the first block so that it is visible to the second. | |
Re: Just curious, but when you say you have 'failed miserably', do you mean those you have found were of lacking quality or have you been unable to attract candidates at all? I will somewhat echo what kmillen stated about environment being a very large factor in retaining a quality development … | |
Re: [quote=Narue;390507]>>Narue was trying to explain her hate of christians.. lol jp I have nothing against Christians. They're very pleasant people to be around when they keep their mouths shut.[/quote] Very aptly stated. | |
Re: Yes, all "rights" are based upon societal expectations of the norm. Nature does not grant any right innately - miscarriage and other such incidents of pre-birth death belie even the right to be born. | |
Re: There may be some custom open-source code available out on the net somewhere, but there is no native component to do what you want. To get data into a JTable, you will need to establish a JDBC connection (with JDBC-ODBC bridge for Access), obtain a ResultSet via a query, and … | |
Re: You might want to look at JFreeReport. | |
Re: The jar file only contains the compiled class files. Generally, if open source code is available, it is included in a separate directory or zip/jar file. If this is a jar that you downloaded, look in the directory you placed the downloaded files in for the source. If it is … | |
Re: Well, there are a ton of Java tutorials out there online and which one you will find most helpful depends on your programming background and the authors of course. As a starting point, I would recommend the Sun Java tutorials at [url]http://java.sun.com/docs/books/tutorial/[/url]. If you need more then a web search … | |
Re: I would imagine that you have inconsistent versions of the jar files. It seems to see the class fine, else you would get a NoClassDefFound error. NoSuchMethod errors occur when the program can't find a matching method signature on the class. If you have installed any new jars or tried … | |
Re: See response in your other thread about JTable and MSAccess. | |
Re: [quote=tolearn;388707]Hi thanks, I have tried that also.Its now showing erro like"variable local_jlistmight not have been initialized"[/quote] This just means that you must set a value for the variable before it is used. You could change it's declaration to [code] public List local_jlist = null; // or this public List local_jlist … | |
Re: I think you would get a lot better advice if you posted this over in one of the Web Development forums. This forum is dedicated to the Java programming language (not the same as JSP or JavaScript). ![]() | |
Re: The code below may work for you. I can't guarantee it won't give you some mistaken replacements, since I don't know the details of your potential inputs, but you should be able to tweak it to your needs. I made a small test file "csv.txt" that consisted of the following … | |
Re: Have you read the Tomcat documentation? I would imagine there are tuning parameters that you can adjust. JVM heap size is usually specified on the command line that starts the java application using the -Xms and -Xmx parameters. | |
Re: I don't think you can create a media player skin from Java. It seems to have it's own SDK. It doesn't sound too complicated though. Here is the MSDN page on how to create skins: [URL]http://msdn2.microsoft.com/en-us/library/aa393417.aspx[/URL] | |
Re: If you are using the Java Collections LinkedList class, you can use the size() method to determine the number of elements in the list. I am wondering though, why not use a different collection to hold the cards? Would a Vector of ArrayList work just as well? Is there a … | |
Re: Apache is a web server. Tomcat is a JSP/Servlet engine. Apache by itself has no mechanism to process the JSP or servlet request and must delegate these to Tomcat and return the result. Tomcat does have limited ability to act as a web server, however it does not offer the … | |
Re: Actually, the part in bold was not necessarily what I had in mind - but it does fix the error. You really don't need to create Account objects until they are requested, as in createNew(). You would need to take care to make null checks before performing any operations on … | |
Re: So you solved your issue or you still have a question? You haven't actually made a function there - just used an existing String function, but perhaps that is all you needed to do? Note that if you are trimming input from a text box, you will want to first … | |
Re: I would imagine you are getting the exception because you are trying to access an Account object in your array but you have not actually created any Account objects. The line [code]database=new Account[MAXACC];[/code] creates an array of Account references, but those are still null until you assign an element an … | |
Re: [quote=ProgrammersTalk;390019] I also recommend this link below: Start and First program: [URL]http://www.programmerstalk.net/thread723.html[/URL] [/quote] Ugh, I would definitely NOT recommend a link to that forum - unless you want to read pages of "hlp pls, jva program" posts by people wanting their homework done for them. Granted, it is a new … | |
Re: You can also set the classpath as a parameter when you execute javac:[code] javac -cp "c:/program..swing-layout-1.0.jar" myCode.java[/code] | |
Re: Narue and Ancient Dragon are correct. There is not a simple ratio. No developer can tell you that x minutes development results in y minutes maintenance. It just doesn't work that way. You say that you have a ratio for documentation to development. I would be skeptical of that as … | |
Re: [quote=hbk619;388305]But they don't say what they want inspiration for. they can't do the tasks in QBasic..... so? also "it will listen" makes no sense, i think they meant I.[/quote] I think he may have meant "It will sound silly...". The rest was merely a tantrum with no clear objective. |
The End.