Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Correct it for what? You need to post specific questions or errors.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Trivium - "Washing Away Me In The Tides"

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Try it with your code base one level higher, like this

<html>
<applet code="Sorter"
        width="800" height="300"
        [B]CODEBASE="C:\Documents and Settings\Paul\My Documents\NetBeansProjects\Sort2\build\classes">[/B]
</applet>
</html>

It looks like you had the package directory in the previous code base.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You're probably going to have to dig into the event processing code of the combo and forward the appropriate events along to the checkbox that is being selected.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>How do I solve this problem?
You solve it by actually caring about coding the solution.

That is how code gets finished. If you really don't care about the project you've decided to piddle around with, you're not going to put in the time, thought, and effort to see it completed. For school or real-world work projects, this decision is made for you - you don't have the option of shrugging your shoulders and saying "I don't have much of a heart to finish the program".

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

is this is the daniewb's offician spam thread ?

No, so the rest of your message and the one after that are irrelevant. If you had actually read the thread, you would know this.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Diecast - Fade Away

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You'll have to add the UserId column to whatever table has the plan data and save it along with the rest.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Oh, I doubt Dani wants to open the gates to hordes of pubescent leet gankers, pwning this and roflcoperting that and generally epeeing about the place.

darkagn commented: lol :) +4
jbennet commented: lol +36
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I just need a basic php code so that I can edit it. Thanks.

If it's simple, why can't you write it? And if you can't write it, what makes you think you can edit it?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Might wanna repost in programming...

Perhaps not, four years later...

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You can use the following query to get a list of the non-system tables

select name from MSysObjects where type=1 and flags=0
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Listening to Alex Jones :)

www.nfowars.net

Who is taking over the world this week? I missed the last broadcast.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I really couldn't say because it would depend on how/what you set up there. Things do sometimes look different from the design preview at runtime and it just takes some fiddling around if that is the case. All part of the fun :P

BestJewSinceJC commented: Netbeans is pretty cool. Thanks! +2
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You could run the app :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You could, however, just consider his advice as generic in nature.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Ouch :(

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Just use a throwaway email address and it won't matter :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Hope you aren't low on time or disk space ;)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You need to save a UserId with the plan data in that table.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Does it really matter?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

This took about 2 minutes to create:

(It actually took longer to screen shot it and get the attachment posted than it did to create it)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Why not just create the GUI itself with Netbeans (or some other GUI tool) and a little bit of dummy data? You don't have to actually wire it up at this point.

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

Use a DOM api like JAXP or JDOM.

Killer_Typo commented: agreed, no reason to not use the API. +7
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

In addition to this prominent Announcment at the top of the forum, it's also a watermark in all of the post editing boxes and there are buttons on the editor to even put them in for you.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

^ this.
I hadn't seen that particular post until you pulled it up. Thanks for sharing.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

By 23 posts, you should be familiar with [code] [/code] tags. Please use them.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Perhaps

<team name="indianaTux">
    <player>
        <Name>Default Player</Name>
        <Score>0</Score>
        <Time>null minutes null seconds</Time>
    </player>
    <player>
        <Name>Another Player</Name>
        <Score>0</Score>
        <Time>null minutes null seconds</Time>
    </player>
</team>
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Is there a reason you're not working with the file as an xml document though a DOM api?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

And have you contacted ubi.com? What do you expect anyone here to be able to do to "rectify it"?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I just fixed the behavior that he was unhappy with, but yes, it is a bit more efficient. He was re-processing the entire content of the document when he only needed to re-process up to the current insertion point for the highlighting.

sciwizeh commented: Very good information, thanks +1
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Since you have already rejoined under this new name, why not just post under this name and start with a clear slate?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
verruckt24 commented: Your answer stands out amongst all. Not to mention it the most elegant +3
stephen84s commented: Agree with verruckt +7
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Your caret is going to the end of the document because you're removing and re-inserting the entire content. The caret is just staying at the position of the last insert. You can fix that by changing these two lines in your SyntaxDocument2.insertString() method

String str2 = super.getText( 0, super.getLength() );
        
        super.remove( 0, super.getLength() );

slightly to get only the "upstream" portion of the document plus the string you are entering

String str2 = super.getText( 0, [B]offs+str.length()[/B] );

        super.remove( 0, [B]str2.length()[/B] );

That way you are only operating on the portion up to and including your current insert position and the caret stays at that position.

There is probably an easier way to do that with a DocumentFilter that doesn't require removing and re-inserting all of that content, but I've never used styled documents much so I can't say exactly without playing around with it more. You might take a look at them and see if it could save you all that insert, remove, and re-insert overhead.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Third. It was posted twice just today. Try counting again.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Duncan, yours is the third posting of that URL. I believe the point has been made.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I agree with the others above: enough with this public crush thing you have going on. At best, it's disrespectful and you should be old enough to realize that.

mitrmkar commented: Well said. +7
William Hemsworth commented: :) +7
Comatose commented: Pwnage! +12
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

"Two Weeks" - All That Remains
http://www.youtube.com/watch?v=n9z2j8JML8M

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Here is a good place to start: http://lmgtfy.com/?q=java+open+source+projects

The best thing you can learn for programming is how to think for yourself.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Don't try to cast a JasperReport object, which is apparently returned by that method call, to a String. The error is pretty clear.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You can use Apache POI to create Excel sheets. OpenOffice might be another option for you.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Ok, just for some things to think on:
- You need a "bin" to keep track of how many times you encountered each character. An array would work really well for that.
- Each letter, as a char, has an offset from 'a' that can be easily calculated.
- You need a zero-based index to access/increment the correct "bin" (element) for each letter's count.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

such individuals logic is non-existent/faulty. An omnipotent being can manipulate the universe and adjust the laws and principles (of physics, of mathematics or even of existence itself) of that universe ... or to paraphrase "through God all things are possible"

Ah, well at least there isn't anything wrong with this logic. :icon_rolleyes:

jasimp commented: I don't see anything wrong with his logic. A being that can control every facet of existence is very logical ;) +9
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Ok, so now you just need to post the code you have so far and specific questions about it.

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

You may need to set the viewport view of your scrollpane to the new table, since you have re-assigned that reference to a new instance. Try calling JScrollPane.setViewportView(java.awt.Component) on your scroll pane with the new table component.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

And did you read the tutorial that I posted above?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Ok, I have to head out for the evening, so just in case my hints are too vague I don't want to leave you scratching your head all weekend.

If your loop encounters a word longer than SPACES , take a look at where 'leftEdge' and 'rightEdge' end up and what that does to the rest of your processing loop. You'll have to decide how you want to break the line if that occurs.