Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I only have a moment here before I head out, but two options come to mind:
- Make the combo uneditable? Is the user really needing to edit entries?
- Install a DocumentListener on the combo box editor component that discards the '>'

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Perhaps someone can, but you're going to need to show some effort on your own.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Switching to use keyReleased() instead of keyPressed() and consuming the key event will fix it.

addKeyListener(new KeyAdapter() {

        public void keyReleased(KeyEvent event) {
                fromComboBoxKeyKeyPressed(event);
        }
});
private void fromComboBoxKeyKeyPressed(KeyEvent e) {
        int num = fromComboBox.getItemCount();

        if ((e.getKeyCode() == 51) && (e.isShiftDown())){
                //use # to scroll through From dropdown
                if (fromComboBox.getItemAt(num - 1).equals(fromComboBox.getSelectedItem())) {
                        fromComboBox.setSelectedIndex(0);
                }else{
                        fromComboBox.setSelectedIndex(fromComboBox.getSelectedIndex() + 1);
                }
                // consume here so nothing else processes it
                e.consume();
        }
}

You can see that the '#' is still being appended temporarily by the editor, but the selection on release is setting the selection to the original item, so the appended text is replaced.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Have you Googled it? Looked up any tutorials? Make some effort to educate yourself first, then ask specific question if you need help.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, a high price might be called "theft" colloquially, but it is certainly cannot be defined as such.

You have your ideas and I, mine. I rest easy knowing that plenty of people agree with me despite what you say, because it happens every day.

A lot of people agreeing with completely illogical arguments doesn't make them correct.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Contact hotmail. You won't get any help hacking it here.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

So start studying and working on it. That's why you're in school.

If you have an actual question, come back and post it here. Be sure to include what you have done so far and explain what you are having trouble with.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, Mark, your post advertising your site was deleted per forum rules against such promotion.

With regards to allowing postings about piracy, no, those are not allowed either. Moderators cannot catch every single post which violates a rule and this one managed to slip under the radar back in 2009. As such, I will be closing it now.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

The original question was how to pass an object to a subsequent frame. That presupposes that NewFrame is dependent upon the object, which has already been created. In your example, that does not apply. If you don't have SomeObject you need to pass along, then there is no point in even creating the NewFrame constructor that accepts SomeObject - just use the plain empty constructor.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

edit: Removed. Don't want to feed the flames.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You haven't asked a question.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It can't find your JDBC driver. Have you copied the driver jar file into the "$CATALINA_HOME/common/lib" directory of your tomcat installation?

This link has more info: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Those are compiler errors because you did not correctly import those classes. Look at your "import" statement - you are missing the "%". You need to carefully read those messages and consider what they are telling you.

Also, please do not post in "chat speak" and do not use excessive CAPS.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Well, having a master PO table would alleviate the need altogether, but aside from that, you could use max() instead of 'top'. Top is dependent upon the returned order of the rows, whereas max() is not. i.e.

select max(maxId)+1 from
(select max(Id) as maxId from a 
union 
select max(Id) as maxId from b
union
select max(Id) as maxId from c) as allIds
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>and whats a snipped email?
It means that I edited out the email address as per the forum rules. Keep it on site please :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If he is acting upon the superstitious belief when it's of no inconvenience to do so, he is still assigning significance to the superstition - which itself is an irrational attribution of cause and effect. If he did not believe there was any possibility of correlation, then there would be absolutely zero reason to adhere to it.

If you choose to view that in cost-benefit terms, such actions would fall into the small cost, zero benefit category.

Now, he can say he finds such superstitions unlikely and follows them when it's convenient, but in such a case one cannot claim to "not believe in superstition at all" - which is the statement that was made.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>Although I don't believe in superstition at all, I sometimes follow them if there's nothing at risk.
Then you do believe in them. Your statement is a complete contradiction.

And how many user names are needed to plug gift plants anyway?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>pleassssssssssssssssssssssssssssssssse help meeeeeeeeeeeeeeeeeeeeeeeeeeee!!!!!!!!
Bumping your thread with a post like that is not constructive - it's just annoying and is more likely to discourage people from helping you.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If you expect help, you will need to show what you have done so far, explain what you intend to do, and ask specific questions about what you are having difficulty with.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Agreed. Thread closed.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Read this thread as a starting point: http://www.daniweb.com/forums/thread99132.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>My administrator at school banned programs from running what can i do my security system is macafee

You can speak with the administrator.
And don't hijack old threads here.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Pritaeas is correct. The Website Reviews forum is the correct place for such posts.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It's doubtful. They evidently cannot even follow the most basic of instructions, search on their own for information that is available all over the net, or post detailed information about the problems they are experiencing.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Too many hijacks, spams, and nonsense posts. Closing this threads.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I think he means "Mark As Read" and I agree that it would be helpful to have both of those at the top as well as the bottom.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I don't know what to tell you then. It runs just fine if you put two numbers in the Arguments field, like "3 3" or "12 2.45".

Perhaps you should ditch the IDE and run from the command line.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

The numbers must be parsable as doubles and separated by spaces.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Make sure you are debugging the project, not an individual file. Those are two different options in the IDE and those arguments will only be used with the project.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You posted the same class twice.

But if you intend to graph whatever is chosen in your file chooser class, you will need to provide some method to pass that info into your graphing class. That could be in the constructor or a public method.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It can be found under "Project Properties > Run > Arguments".

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It depends on your IDE, but there should be something in Project Properties or your run configuration that allows you to put in arguments. If you are using Netbeans, it can be found under "Project Properties > Run > Arguments".

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

First, there is a Java forum, which would have been a much more appropriate place than Community Feedback.

Now as far as the index out of bounds - did you supply any command line arguments when you ran this? Because it requires two.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Please direct any further discussion to the thread in Game Development:
http://www.daniweb.com/forums/thread288603.html

Closing this thread to avoid duplication.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I understand what you mean, but subscribing to a thread is the only function I'm aware of that would be close to what you're wanting.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Click the "Subscribe To This Thread" envelope icon at the top of the thread. It will then appear in your Subscribed Threads list in your User Control Panel.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>I cook myself if I have time, usually once a day. So I know what I am eating
So do you grill yourself? Boil yourself?

nav33n commented: :D hehe.. +0
Hani1991 commented: This is irrespective! +0
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Please direct any addition comments to this thread in Website Reviews: http://www.daniweb.com/forums/thread287311.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

> can nay on etell me tht why if i am moving a ball thn my hurdl also moving .
Why should anyone waste their time replying to this lazy gibberish? Perhaps you should take the extra 10 seconds to type a legible question if you want others to take it seriously.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

That method is called when the component itself is resized - which incidentally also occurs when you set the initial size of your panel.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

When the panel is resized, you have to create a new "image" with the new dimensions. That code is creating that new image, copying the current image onto it, and then replacing the current "image" reference with the new one. Essentially it's just re-sizing your buffer image.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Question post more words.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It's mostly the thread listing that forces me to scale the size back in the browser, but the posts themselves still look a bit too big at "normal" size as well.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I'm still really having a hard time with the gray-on-gray quotes with jumbo "Quote" title bar and micro-text quote content. It's virtually unreadable and completely inverts the importance of the quote itself. It's like a trumpet "HERE IS A QUOTE" and then whispering the quote itself.

The font size on it is made worse by the fact that I have to browse the site with the size scaled back one notch. The normal scale looks like one of those senior citizen phone pads or something Fisher-Price would put out for 2-year-olds to play and learn with.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Are you accessing the images as local files or through a relative directory within your web site root? If you are trying to show files from your local hard drive (like 'c:/myPictures/pic1.jpg') I could see it being a bit cranky.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Your easiest option will probably be to install a PHP and MySQL package like WAMP Server or XAMPP. You don't have to use PHP necessarily, but that's probably the most approachable option to get started with.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I don't see ASP listed as available in your host's features. They list PHP, Perl, Python, and Ruby - no ASP. They have MySQL database support, not Access (which I agree, you don't want to use anyway).

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

It won't help, since he somehow managed to drop out the spaces between words when he decided to copy/paste dump his homework on the forums.

Personally, I would just ignore it, unless he decides to clean up the code and show a bit of effort or thought on the matter.