3,927 Posted Topics
Re: [url]http://java.sun.com/docs/books/tutorial/uiswing/index.html[/url] | |
Re: He is saying that frame2 will need a reference to frame1. Your add button code will need to call methods on frame1 to set the data that you wish to display. | |
Re: One hour of community service (picking up litter, public land and utilities maintenance and improvements, etc) per spam email sent. 1,000,000 emails sent, mandatory 12 hour work day imposed = 228 years labor. Sounds reasonable to me. | |
Re: Have you tried using a [URL="http://java.sun.com/products/jfc/tsc/articles/treetable1/"]JTreeTable[/URL]? | |
Re: Canceled by Executive Order until further notice. Get back to work. Move along. | |
Re: Try "MyApp.Main" instead of just "Main". It looks like Main is in a package called MyApp. | |
Re: Well, since you are a "professional" why can you not suggest one for her? Better yet, she could take some initiative and actually do a little bit of research to come up with her own - which is kind of the point of tasking the student to decide upon the … | |
Re: Well, I'm not sure what you're compiling it with, since that error is certainly not a Java compiler error. The syntax is passably Java, assuming the presence of read() and write() methods in the class and I don't see any glaring errors with it. | |
Re: This question makes no sense at all. Are you sure that you meant to post this in the Java programming forum? | |
Re: ... And how do you propose someone help you, when you have not posted a clear question nor any code? | |
Re: [QUOTE=javaAddict;693881]The: cboStart.addItem(new Integer(1)) will add Integer objects to the ComboBox and you will have to cast them to Integer when you get the values. I Think the second is wrong since if I remember correctly the addItem() method takes Objects as arguments.[/QUOTE] With Java 1.5 or later, [icode]Integer.valueOf(1)[/icode] would be … | |
Re: [QUOTE=nikhil kumar;693457]what is the scope of JAVA? Tell me if I make my career in JAVA. what points I should take to sucess in this career. I am a computer graduate.[/QUOTE] Hijacking someone else's thread to ask an unrelated question is considered rude. If you have a question to ask, … | |
Re: Do you mean code to [I]use[/I] a HashMap or an implementation of a hash map data structure? | |
Re: Yes, the Threads in your example don't really do anything. You need to extend Thread and override run() or supply a Runnable to the constructor. Have you looked through the tutorial on concurrency as a starting point? [url]http://java.sun.com/docs/books/tutorial/essential/concurrency/runthread.html[/url] The java.util.concurrent package adds a lot of new higher level support structure … | |
Re: Wrong. That code would not compile on any JVM for any platform. You stated that it did and masijade's response was completely correct. | |
Re: If you copied that directly from a textbook, you need to throw it in the garbage. Not one of the declarations (import, class, and method) is correct. | |
Re: [QUOTE=brain_26;692793] Am I missing something?[/QUOTE] The correct forum perhaps? This is the Java forum. | |
Re: "The Bridge To Nowhere" is only one of many. [url]http://www.huffingtonpost.com/2008/09/01/palin-received-millions-i_n_123004.html[/url] | |
Re: Advice: Explain yourself more clearly. What kind of system? What programming language? What kind of light? | |
Re: If you are not including arguments on the command line when you execute the program, then this line will exit the program immediately[code]if (args.length != 1) System.exit(0);[/code] Edit: Posted the same time as VernonDozier. He mentions the same. | |
Re: Use search. This request has been made hundreds of times here already. | |
Re: >really many thanks to you.. i wish i could do something for you too Well, you could mark the thread as "Solved" and leave him a favorable reputation comment on the post. | |
Re: If your algorithm can isolate single words from the audio signal, then getting whatever timing metrics you need should be trivial. Isolation of the signal from baseline shouldn't be too difficult. | |
Re: [QUOTE=ionutz;690872]for what is this site??? i can make money here...?[/QUOTE] Only if you have the secret decoder ring... | |
Re: The problem is originating with your creation of the affine transform that you are rotating:[code]AffineTransform af = new AffineTransform ();[/code]If you change that to pass the original transform to the constructor, it works just fine:[code]AffineTransform af = new AffineTransform (orig);[/code]Without backtracing the stack on every repaint() call, I can't tell … | |
Re: You'll have to rephrase the question. As stated, it's not clear at all what you are wanting to do. | |
Re: It is [U]declared[/U], yes, but it is not [U]initialized[/U][code]Stopwatch Clock = new Stopwatch();[/code] (It really should be "clock" instead of "Clock". Common convention is for variables to start with a lowercase letter. Classes are capitalized.) | |
Re: Read each of them [URL="http://exampledepot.com/egs/java.io/ReadLinesFromFile.html"]like you would any other text file[/URL] and use [URL="http://java.sun.com/javase/6/docs/api/java/util/regex/package-summary.html"]Regular Expressions[/URL] to parse them. | |
Re: Well, we can't read over your shoulder. Post the code and perhaps someone can tell you what's wrong with it. | |
Re: Recommended reading: [url]http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html[/url] Good reference for general Java language topics: [url]http://www.codeguru.com/java/tij/[/url] | |
Re: And your question is what? Is there a purpose in posting your homework assignment? | |
Re: It would be a lot easier to just download Wampserver or XAMPP. Both will install Apache, MySQL, and PHP already configured. | |
![]() | Re: [QUOTE=xtianenikkian;687423]the one you create has 100 error on my jcreator.,, im uusng jdk1.5.0_16 file.,,, can you reply me with running program?[/QUOTE] Then fix the errors. If you want to copy code from others, you assume the risk that it's bad code. |
Re: Yes, what TheGathering said. Perhaps if you called your new class CdExtended it would make a little more sense to you. CdExtended has all of the info of Compactdisk plus artist info. To use that extra info, you need to use the CdExtended object in your code instead of the … | |
Re: [QUOTE=mrjoli021;685829]i got it to work, but it only works 8 now = 0, but i want 9 to =1 and 10 to = 2 and so forth. so basically i want the array to go in a loop.[/QUOTE] darkagn is correct. If you're using the mod operator correctly then that … | |
Re: Perhaps using a [URL="http://en.wikipedia.org/wiki/Sobel_operator"]Sobel operator[/URL] and using the gradient direction would help. "Internal" and "external" have little meaning to a map of pixel intensities. Those are rational designations of your own making that you have to quantify and qualify if you want your program to make any distinction between them. | |
Re: Well, turingmachine completely ignored the question. Just return an empty list [code]return new LinkedList<names>();[/code] or you could also define an empty list class constant to use for that purpose[code]public final static LinkedList<names> EMPTY_LIST = new LinkedList<names>();[/code]A couple of additional thoughts: - Do you really need to return a LinkedList? It's … | |
Having just forwarded yet another scam spam PM to a couple of mods, I was wondering if a mechanism like the "Flag Bad Post" option on forum posts would be useful on the PM interface. Every time that I've received one of these messages I've been unsure as to who … | |
Re: Learn a lot more programming and signal processing, as speech recognition is far from trivial to implement. | |
Re: If you heard about JMF, did you look at Sun's website for it? Did you read any of the tutorials and examples that are there? Some initiative would go a long ways. | |
Re: Study the information found in the "Read Me: Starting Java" thread that is stickied at the top of this forum. | |
Re: [QUOTE=ravikiran032;684847]i don't know weather it is involved in a network or not. how i should know wheather it is involved in a network or not.[/QUOTE] If he's not on a network, how do you figure he's going to have an IP address? Do you know what an IP address is … | |
Re: [URL="http://java.sun.com/docs/books/tutorial/uiswing/events/documentlistener.html"]How to Write a Document Listener[/URL] and [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html#doclisteners"]Listening for Changes on a Document[/URL] both cover this. | |
Re: Perhaps research how a complete lack of attention to written communication skills may impact a career. | |
Re: [QUOTE=GrimJack;681832]Is this getting to recursive?[/QUOTE] Virtual stack overflow. | |
Re: With a [URL="http://java.sun.com/javase/6/docs/api/javax/swing/Timer.html"]Timer[/URL]. | |
Re: Give [URL="http://poi.apache.org/"]Apache POI[/URL] a try. | |
Re: Try [icode]System.getProperty("user.dir")[/icode] |
The End.