3,927 Posted Topics
Re: Posts can be edited within thirty minutes of posting. After that they will only be deleted if they violate the Daniweb rules or if there is some extenuating circumstance. I do not see such a circumstance in that thread. | |
Re: You already have a thread related to this. Closing this to prevent further mess. Please keep it in this thread: [url]http://www.daniweb.com/forums/thread334608.html[/url] | |
Re: The original question was from 2008 and I doubt he is still working on that code. Mustaffa resurrected and hijacked this old thread with his vague, unrelated question, so I'm just going to close this to avoid further confusion. | |
Re: [QUOTE=justinperumalil;1077635]i want source code for online banking using php[/QUOTE] Then you're just out of luck I suppose, because this isn't "Codes R Us" and you didn't even manage to find the correct language section - this is Java, not PHP. | |
Re: No, it would go in an Employee class, which would contain all of the data pertaining to a particular employee. The payroll program works [U]with[/U] employees, but is not itself an employee. Class design is an exercise in separation of responsibilities. | |
Re: So post some code and ask specific questions. Show a little effort on your homework if you want anyone to offer any assistance. | |
Re: This thread is a duplicate of [url]http://www.daniweb.com/forums/post1418644.html#post1418644[/url]. Closing this one. Please direct any further discussion to the other thread. | |
Re: Um, you do it exactly like you have indicated in your link. I'm not certain what your question is exactly. Are you unsure how to build the link string? Unsure how to retrieve the value in the target page? Please elaborate a bit. | |
Re: Short answer: you can't. There is a 30 minute window to edit posts and after that they are part of the great public archive that is the internet. | |
Re: Perhaps shouting that you need something ASAP with multiple exclamation points puts off some who might answer. Something to consider. | |
Re: [B]> if you drive. [/B] Is the point. | |
Re: Yes, a for loop is appropriate. Post what you have so far and ask specific questions about the troubles you are having. | |
Re: I think all of it was accumulated in the days where rep counted in the lounge as well. | |
Re: What are you talking about? There are no URLs anywhere in this thread. | |
Re: Also, do not send PMs to plead for project topics. | |
Re: [quote=hbk619;423507]I know someone has said single = not married but in my mind single = one. So plenty of people here might not be single but not married. Anywho, not married myself (duh). Don't want to be. It's nothing more than a piece of paper to me. You love someone … | |
Re: You are pretty close. The errors are because you still have mismatched braces on the loop blocks. You left the do() statement in, which is messing up your while() block. Walk through the flow of that while() block and you'll see that you need to prompt for another customer name … | |
Re: You can [iCODE]setUndecorated(true);[/iCODE], but that also removes the entire frame and close button, so you would need to add your own border. The only other way I can think of is to add a component listener like[CODE]addComponentListener(new ComponentAdapter() { @Override public void componentMoved(ComponentEvent e) { setLocation(100, 100); } });[/CODE]But that … | |
Re: What have you started? What are your thoughts about how to proceed? Post your code. Ask specific questions and show that you have made some effort with this. | |
Re: Show some effort. Ask specific questions. No one here will complete your homework for you. | |
Re: Well, you didn't post the relevant part of your QueryTableModel class: [iCODE]tableModel.setQuery()[/iCODE], but it looks like your default row sorter isn't very happy about an empty data vector. I don't think you're handling an empty result set quite right in your model. | |
Re: Look at your declaration of the panel[CODE]JPanel Guess = new JPanel();[/CODE]You have declared a plain JPanel here named "Guess" and added it to your frame. You actually need to declare an instance of your "Guess" class and add [I]that[/I] to the frame[CODE]Guess guessPanel = new Guess(); myFrame.add(guessPanel);[/CODE] | |
Re: GridBagLayout will certainly do that. Perhaps you can post the code? Basically you'll want something like the text area panel at [iCODE]x=0, fill=both, weightx=1, weighty=1[/iCODE]and the button panel at [iCODE]x=1, fill=none, weightx=0, weighty=1[/iCODE] | |
Re: You can be offended all you want, but Ancient Dragon is correct. MS Access is not good for large databases. Just because you don't want to move beyond what you already know and are comfortable with doesn't make it a good solution. | |
Re: Option 1 in zetlin's post isn't quite correct either. Default (also known as package-protected) or protected access would allow the subclass to use the variable as well. It isn't necessary to make them public. | |
Re: No one is going to do your homework, so either ask some specific questions and show some effort or stop cluttering up the forum with your assignments. | |
Re: [quote]You are very close, it wasn't a homework assignment, but the question was asked by my teacher in my Civics class... she asked what we thought about it and then she told us what she thought. She said that democracy isn't the best form of government, but it is better … | |
Re: You need single quotes around the string value in your where clause, so that would be [iCODE]description='"+courseName+"'"[/iCODE] A better way would be to use a PreparedStatement, which can re-used if you need to look up other course names [CODE]java.sql.PreparedStatement prepStmt = dbCon.prepareStatement("select * from emp where description=?"); prepStmt.setString(1, courseName); ResultSet … | |
Re: Separate them based on what data is completely intrinsic to each. What information about the customer applies to them whether they are on or off of a plane? Similarly, what data about the flight would apply even if there were no passengers on it? | |
Re: [B]> Is there any way around this (without moving the corner points a pixel or two to hide the gap) ??[/B] Not that I am aware of, short of declaring a general path that describes the outline of both polygons as a single entity. | |
Re: I'd try to give an answer, but as a "beginner here at this ho-dunk little forum" I doubt I can offer any insight on the complexities of "REAL Java programming like the pros"... (Is Princeton giving credit for Maryland State AP coursework now?) | |
Re: This is a good place to start: [url]http://www.jeffheaton.com/ai/[/url] | |
Re: Help with what? How to use code tags maybe? Select your code and click the button on the editor that says [noparse][code][/noparse] How to properly post a question? Use a descriptive title, not just "help" or "urgent" (trust me, it's not urgent to anyone else). Describe the problem. Post specific … | |
Re: No one is going to just hand you this project. Ask specific questions and show some effort on this if you wish to receive help. | |
Re: Your question is not clear at all. You want someone to write this for you in another language? | |
Re: Here is one example that may help: [url]http://www.exampledepot.com/egs/javax.swing.text/style_HiliteWords.html[/url] and you may want to look at this one as well: [url]http://www.exampledepot.com/egs/javax.swing.text/style_HiliteWords2.html[/url] | |
Re: Just glancing real quick, if upperLeftY reaches 0 you hit the top and can reset to the starting Y position? | |
Re: Perhaps if you indicated which language you are working in, this thread could be moved to the proper forum where someone may be able to assist you. | |
Re: How about you post your own observations and others can comment on them. Otherwise, this reads as "Do my assignment for me and send the results". | |
Re: That is not how things work here. If you want to post a job offer, do so in the Business Exchange area. If you wish to ask questions, ask them here. Post code if it's relevant. Do not post asking for help through PM or email. | |
Re: Yes, I have an idea that I would Google it before asking others about it on a forum. In fact, I did Google it and found a lot of results. Give it a try. | |
Re: Retrieve the file locally and use [iCODE]Desktop.open()[/iCODE] would probably be the easiest option. | |
Re: Yes, and the default return of toString() for an object is [CODE]getClass().getName() + '@' + Integer.toHexString(hashCode())[/CODE]If you want to see all of the values in the array you will need to iterate them and print each individually or use Arrays.toString(). | |
Re: [URL="http://download.oracle.com/javase/tutorial/uiswing/layout/grid.html"]GridLayout[/URL] or [URL="http://download.oracle.com/javase/tutorial/uiswing/layout/gridbag.html"]GridBagLayout[/URL] GridLayout is much simpler, but not nearly as functional as GridBagLayout. It just depends on your needs. | |
Re: This portion of the JavaDB tutorial they link to describes how to start the db server: [url]http://db.apache.org/derby/docs/dev/getstart/twwdactivity2.html[/url] | |
Re: The "not" operator is in the wrong location. You don't want to write "equals not q", you want to write "not equals q". Try to figure out where to put the "!" based on that. | |
Re: You should construct all the boxes, add them to the "checkPanel", add "checkPanel" to the frame and then set it visible. | |
Re: Write down your replacement progression through the loop on paper. I believe you'll see that you are holding the wrong value if you loop proceeds in a positive direction. Of course, you don't necessarily have to loop in a positive direction either. | |
Re: Whatever you tried to write on line 165 in kttUpdate() upset your socket. Start looking there to determine what might have made it angry. |
The End.