3,927 Posted Topics
Re: Spamming your own thread won't get you help any sooner - just the opposite I would wager. Also, "plz" is not a word. Read the forum rules regarding use of proper English. This is not a chat room. | |
Re: Plenty for you to research here: [url]http://www.codeguru.com/java/tij/tij0035.shtml[/url] | |
Re: It's not a question of which is more powerful. They are different things. SQL Server is a database system. It stores, manages, and retrieves data. ADO.net is a data access layer that provides an API to interact with data stored in many different formats, including SQL Server, though you could … | |
Re: I assume you are running it in the AppletViewer? I think that close button is part of a window created by the applet viewer itself. Since applets are designed to run in a browser, they don't really have a close button themselves. They have life cycle methods that respond to … | |
Re: If you can use them, key bindings are easier to handle with regards to focus: [url]http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html[/url] but if you can't use those then you could call requestFocusInWindow() on the JApplet (or whatever other container you need to have focus) at the end of your button listener code[code=java]import java.awt.BorderLayout; import java.awt.event.ActionEvent; … | |
Re: If you look at a heap dump taken on the last line of main(), at which you print the memory, you'll see where that extra memory is going: [ATTACH]6896[/ATTACH] There is a lot of stuff on the heap beyond those three objects you are looking at. | |
Re: In the future, please post your question [U]before[/U] the wall of code, so people don't have to scroll past it all before they even know what you are asking about. | |
Re: Not exactly a good way to make a fresh start, I would say. | |
Re: Not exactly sure what you mean by "add collection sort with that". HashMap makes no guarantee to the order of the entries and there is no Collection.sort() method that takes a Map parameter. Perhaps you just need to use a [URL="http://java.sun.com/javase/6/docs/api/java/util/TreeMap.html"]TreeMap[/URL]? | |
Re: [quote=dipali1086;423897]i need the information about project-online share trading in java[/quote] Sounds like you have some research to do then... Google would probably be a good start. | |
Re: [QUOTE=dhanasekar1986;664170]hai friend .. i have seen ur msg.... can u share ur coding on online share trading system.....[/QUOTE] No, "u" must do "ur" own coding. If you turn in someone else's code for your project you deserve to fail. | |
Re: Well, you don't show whatever code "c1.menu1();" is executing, but you can only have one ResultSet open per Statement. You can have multiple Statement objects for a Connection though. Most likely you are re-using the Statement that created "Rmenu". A few other things to note: - This is the Java … | |
Re: You are welcome to post specific questions as you run into problems, but no one is going to complete this for you. | |
Re: TMS [URL="http://findarticles.com/p/articles/mi_qn4182/is_20041221/ai_n10164117"]sold[/URL] everything to [URL="http://www.pegasusimaging.com/"]Pegasus Imaging[/URL] in 2004. You might check with them for a similar product. | |
Re: There is a somewhat convoluted example from the Swing tutorial here: [url]http://java.sun.com/docs/books/tutorial/uiswing/examples/components/DialogDemoProject/src/components/CustomDialog.java[/url] (It's a Java file so you may have to download it) Here is a simpler, more direct example that I slapped together. Perhaps it will help:[code=java] import java.awt.Container; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BoxLayout; import javax.swing.ButtonGroup; … | |
| |
Re: Use JCreator if that is what your instructor has requested. Read [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html"]this[/URL] and [URL="http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html"]this[/URL]. | |
Re: Consider yourself lucky that you can't install it then. :P | |
Re: Why would you not ask your colleague, seeing as he wrote the API? | |
Re: Use a separate panel for the painting, don't paint directly on the JFrame. | |
Re: HTML is not a programming language. | |
Re: Start with the Read Me post stickied at the top of this forum entitled [URL="http://www.daniweb.com/forums/thread99132.html"]Starting Java[/URL]. | |
Re: The only place in which s[] is initialized is within the [icode]if (onClick.getSource() == MenuFrame.cmdSubscribe)[/icode] block, and it eclipses the class level variable with a local declaration. None of the other blocks initialize s[]. That array must be initialized prior to use, whether it be in the action listener blocks … | |
Re: Neat program. I don't have a great deal of time to go through it at the moment, but here are some things to consider from the start. First, you'll want to set up a repeatable test state of the program. In order to get any reliable information on the impact … | |
Re: Perhaps you could develop "a software" that replaces all occurrences of "plz", "u", "ur", "thx", and other text-speak gibberish with their actual English words prior to posting. That would help compliance with the forum rules here. | |
Re: So write it. I doubt you're going to find any "generic" code for that. | |
Re: [QUOTE=selvaganapathy;659568]Can any one tell about the difference between the Abstract Class and Interface?[/QUOTE] Abstract classes can contain implementations of some methods, while interfaces cannot. This allows abstract classes to serve as a base implementation of a class hierarchy that shares some (or much) common code and require that subclasses implement … | |
Re: Post what you have so far if you would like input on it. See the forum policies on homework help. Asking for answers to "compare to yours" is identical to "answer this for me" for all practical purposes. | |
Re: Why do you insist on claiming any credit for these posts? [URL="http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=%22I'd+planned+a+trip+to+Hawaii+next+month+but+this+is+so+easy+and+profitable+that+I+want+to+fix+it+before+it+cures+itself%22"]http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=%22I'd+planned+a+trip+to+Hawaii+next+month+but+this+is+so+easy+and+profitable+that+I+want+to+fix+it+before+it+cures+itself%22[/URL] | |
Re: You have "first" defined as a member of the "path" class, not of the "square" class. Also, you are using the class name, rather than the parameter name, in your on_path() method. | |
Re: Do not hijack threads for completely unrelated (and poorly written) requests for help. Especially not with "urgent plz" in it. | |
Re: If you can't post the code, no one call say what you are doing wrong. Do you think we can read it over your shoulder? | |
Re: Look over his shoulder. | |
Re: You could also purchase the book [URL="http://books.google.com/books?id=5VTBuvfZDyoC&dq=head+first+java&pg=PP1&ots=aojECJ5PtV&sig=Ty3IFx5sCdyu_iY4YeaCvSklHaQ&hl=en&sa=X&oi=book_result&resnum=4&ct=result"][I]Head First Java[/I][/URL] | |
Re: You are not likely to find an open source hospital management system. | |
Re: Please place all posted code inside [noparse][code] [/code] or [code=java] [/code][/noparse] tags. | |
Re: Ok, here is a small example of a multi-threaded server that I was playing around with a little while working on an auto-update launcher for an app here, maybe it will help. "Launcher" is the client portion. Each needs to be run separately on the same machine (since the client … | |
Re: Well, I found this statement about the new features in 6.0 Enterprise: "TypeReader allows users to acquire multiple image files, specify a method of locating and recognizing, specify saving options and saving destination and complete the OCR process without any user intervention." Have you looked into those batch processing features? | |
Just recently the center portion of the User Control Panel has started clipping the right edge from the internal frames: [ATTACH]6764[/ATTACH] This is in Firefox 2.0.0.16, screen res 1280x1024. | |
Re: Nope. You haven't even stated what it is supposed to do and what you are having trouble understanding. Just glancing at it, you've got a ways to go before this is complete. | |
Re: Handing students completed solutions to their projects only enables laziness and incompetence. Limited examples, links to concept tutorials, and answers to specific questions are more appropriate. | |
Re: Some of the info in this bug report might be of use: [url]http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4799903[/url] | |
Re: Well, actually those directions aren't quite correct on the tutorial page. The file they reference has a package declaration[code]package start;[/code]but they do not mention that and the command to run that file won't work as they have it written. Remove that package declaration and re-compile it and it should work … | |
Re: Read the message: You are calling the super() constructor with arguments that do not match any declared constructor in the parent class. | |
Re: Vernon is completely correct. We volunteer our time helping people out as we see fit. Your current posting trend is leading you towards less help, not more. | |
Re: And that stack trace tells you exactly which line it occurs on, so where is it? Have you walked through the execution to see why that variable would still be null when you try to access it? | |
![]() | Re: Two suggestions: 1) Read the forum rules on using proper English - not text-speak - here: [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies#faq_keep_it_clean[/url] This isn't a chat room. 2) Use the search function. There are probably a thousand "Need a project topic" posts for you to peruse. |
Re: This is the Java forum - not Javascript, which has it's own forum in the Web Development section. | |
Re: [QUOTE=Alex Edwards;652892]I really didn't think something like this would be this hard. It's going to take awhile, and a lot of study and practice, but I am going to eventually figure it out.[/QUOTE] You never "finish" learning good design skills. Each project is different in some way (if it wasn't, … |
The End.