3,927 Posted Topics

Member Avatar for ggs234

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.

Member Avatar for peter_budo
0
171
Member Avatar for bbinais

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]

Member Avatar for Ezzaral
0
246
Member Avatar for ritika_khanna

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.

Member Avatar for Ezzaral
0
197
Member Avatar for swagatikat856

[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.

Member Avatar for zinahun
-5
186
Member Avatar for redflame777

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.

Member Avatar for javaAddict
0
327
Member Avatar for Johnsupertramp

So post some code and ask specific questions. Show a little effort on your homework if you want anyone to offer any assistance.

Member Avatar for Ezzaral
0
194
Member Avatar for khaled_jawaher

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.

Member Avatar for Ezzaral
0
178
Member Avatar for Binary

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.

Member Avatar for almostbob
0
22K
Member Avatar for musikluver4

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.

Member Avatar for Dani
0
187
Member Avatar for scarcella

Perhaps shouting that you need something ASAP with multiple exclamation points puts off some who might answer. Something to consider.

Member Avatar for Ezzaral
0
147
Member Avatar for lucdatuv
Member Avatar for jwmollman

Yes, a for loop is appropriate. Post what you have so far and ask specific questions about the troubles you are having.

Member Avatar for kikovi
0
185
Member Avatar for Dani

I think all of it was accumulated in the days where rep counted in the lounge as well.

Member Avatar for peter_budo
3
675
Member Avatar for invisal
Member Avatar for Ezzaral
0
129
Member Avatar for sweety_sharma
Member Avatar for ~s.o.s~

[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 …

Member Avatar for Borzoi
0
726
Member Avatar for mikev9359

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 …

Member Avatar for jon.kiparsky
0
175
Member Avatar for sciprog1

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 …

Member Avatar for sciprog1
0
79
Member Avatar for adobe1

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.

Member Avatar for adobe1
0
53
Member Avatar for Totaal
Member Avatar for Totaal
0
375
Member Avatar for LianaN

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.

Member Avatar for LianaN
0
281
Member Avatar for bejums

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]

Member Avatar for bejums
0
3K
Member Avatar for Slyvr

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]

Member Avatar for Ezzaral
0
87
Member Avatar for rommelgenlight

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.

Member Avatar for Ancient Dragon
0
362
Member Avatar for kyojin

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.

Member Avatar for Ezzaral
0
183
Member Avatar for shruti1210

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.

Member Avatar for Ezzaral
-2
69
Member Avatar for christina>you

[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 …

Member Avatar for Future_Dictator
0
1K
Member Avatar for newbeejava

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 …

Member Avatar for Ezzaral
0
82
Member Avatar for imanewbie015

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?

Member Avatar for richieking
0
177
Member Avatar for cms271828

[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.

Member Avatar for Ezzaral
0
128
Member Avatar for Chronwin
Member Avatar for Chronwin
0
105
Member Avatar for IMtheBESTatJAVA

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?)

Member Avatar for camcamcam
0
313
Member Avatar for Superstar288
Member Avatar for Superstar288
0
109
Member Avatar for krip_101

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 …

Member Avatar for krip_101
-2
198
Member Avatar for professor123

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.

Member Avatar for professor123
0
128
Member Avatar for zikalkis

Your question is not clear at all. You want someone to write this for you in another language?

Member Avatar for zikalkis
0
112
Member Avatar for jiraiya

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]

Member Avatar for Ezzaral
0
103
Member Avatar for coco24

Just glancing real quick, if upperLeftY reaches 0 you hit the top and can reset to the starting Y position?

Member Avatar for trogador
0
239
Member Avatar for anurag09

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.

Member Avatar for Momerath
-2
127
Member Avatar for selasedaniweb

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".

Member Avatar for Ezzaral
0
111
Member Avatar for the_mia_team

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.

Member Avatar for cossay
0
153
Member Avatar for j_cart007

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.

Member Avatar for jon.kiparsky
0
2K
Member Avatar for LianaN

Retrieve the file locally and use [iCODE]Desktop.open()[/iCODE] would probably be the easiest option.

Member Avatar for LianaN
0
1K
Member Avatar for speedkreature

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().

Member Avatar for Ezzaral
0
338
Member Avatar for LianaN

[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.

Member Avatar for LianaN
0
188
Member Avatar for spring_patel

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]

Member Avatar for Ezzaral
0
163
Member Avatar for asif786

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.

Member Avatar for asif786
0
114
Member Avatar for hwalsh

You should construct all the boxes, add them to the "checkPanel", add "checkPanel" to the frame and then set it visible.

Member Avatar for hwalsh
0
167
Member Avatar for sariberri

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.

Member Avatar for Ezzaral
0
138
Member Avatar for sciprog1

Whatever you tried to write on line 165 in kttUpdate() upset your socket. Start looking there to determine what might have made it angry.

Member Avatar for Ezzaral
0
171

The End.