Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

"Mary Jane" Megadeth

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

@SgtMe: Ouch, bummer.

"Good Mourning/Black Friday" Megadeth
Ah, the good old stuff!

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

Ok, so if Airshow answered your technical question, please mark this thread solved.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

mark > target

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

This is a good place to start: http://www.jeffheaton.com/ai/

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

677

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

rock > metal

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

669

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

In the move() method? You don't reset upperLeftY to 0, you test if it is zero and if it is, then you need to move it back to it's starting value in your base.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

I've healed and learned to go on with other forms of jokes. It's not so bleak as it might seem.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

I lost a good friend to a knock-knock start gone bad back in '78. I just can't relive that. Sorry.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

A painted mackrel with wheels stuck on its sides?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663
A stick. :P (You or someone else posted that somewhere on here before)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

Yeah, okay, it's your herring to do with as you please.
I'm just saying... most seem to prefer them green.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663
According to Google results, most of them are green.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

Paint it blue instead, please.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

<flounder> 663 </flounder>

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, and the default return of toString() for an object is

getClass().getName() + '@' + Integer.toHexString(hashCode())

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

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Did you bother to read the link I posted?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

field > cows

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I'm not sure, but you would need to post it in the Business Exchange forums, because negotiations for works for hire are not permitted within the tech forums.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Nope. It doesn't go inside the parenthesis at all.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If you feel like changing the layout of your frame, you can clear up the disappearing message issue. You could use that GridLayout(0,1) for the frame content pane and add the checkboxes directly to the frame instead of the panel. It all lines up nicely that way.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Your first version of makeCheckBox was pretty close. You want to add the checkboxes to 'checkPanel' and then add 'checkPanel' to the frame. So for a single check box

JCheckBox firstCheck = new JCheckBox(this.firstCheck);

        JPanel checkPanel = new JPanel (new GridLayout(0, 1));
        checkPanel.add(firstCheck);

        frame.add(checkPanel);
        frame.pack();
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

665

Or just play games :P

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

GridLayout or GridBagLayout

GridLayout is much simpler, but not nearly as functional as GridBagLayout. It just depends on your needs.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

665

>Work, or play? What do you think?
Work will be there tomorrow.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

vuvuzela > horn

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

If you can hold one element, you can just as easily hold the next. Which value do you need to keep from overwriting? Hold that one.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You didn't really rearrange - just just dropped the JPanel portion. Re-read what I posted and try to actually perform those steps.
Make checkbox >> make panel >> put panel in frame.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

socialism > Venezuela

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You are already doing most of those things. You just aren't doing them in the correct order as I outlined above.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

control > facism

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

numbers > crowd

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

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

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I can't say for certain what's blocking your UI update, but you could try executing the two statements that update the text fields in a task on the event queue like so

SwingUtilities.invokeLater(new Runnable() {
    public void run() {
        chatLog.append(forLog);
        messageField.setText("AWDAW");
    }
});

That will make sure the GUI update is invoked on the event queue. What it won't do is ensure that the event queue is not blocked waiting on something else. I could be overlooking something obvious, but without being able to run the app I'm not sure what else to suggest.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You need to set the alignment on the label. It's filling the scrollpane by default.

label.setVerticalAlignment(SwingConstants.TOP);
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

663

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Try

jScrollPane1.setViewportView(new JLabel("Connecting to the database. Please wait...")

and when the table is ready

jScrollPane1.setViewportView(table);