Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: clcoulte

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    I should've tried this before, but after completely removing setProgress(), everything works fine.

    So I then moved the setProgress out of the inner for loop so it just checks with the width to...
  2. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    Yeah.... From what I can see.... I think setProgress(100 or 101) calls done() for some reason... I think thats at least one of my problems.... The math.min helped a little too...

    Thanks for...
  3. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    This is from the SSCE:

    Dimensions: 200, 198 (and down)
    (incorrect)


    getData start
    0
    1
    2
  4. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    I really appreciate the help. Sorry if I'm being dense
  5. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    I'm sorry, I really wish I could understand whats going on. Are you implying that there is something going wrong when I calculate the progress? Like imprecision between ints and doubles?

    I think...
  6. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    I might just try using a single dimension int instead of the two dimensional and see if that gets me anywhere...
  7. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    I get more weird output when I set WIDTH = 100 or 150 with HEIGHT = 200
    Task only reports 50% and 75% respectively....
    Im going to check the debugger with these cases....
  8. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    Sorry for sounding cross, I just see absolutely no reason why this should happen...
  9. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    Heres an SSCCE though it may not be the simplest.
    You may need to run it to see what I mean.


    import java.awt.BorderLayout;
    import java.awt.Cursor;
    import java.awt.Insets;
    import...
  10. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    http://forums.oracle.com/forums/thread.jspa?threadID=1348164&start=15&tstart=0

    post on top of page seems to have a similar problem.... BUT THE THREAD WAS LOCKED GODDAMNIT!
  11. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    Even using the solution at the bottom of this page doesn't help:

    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6826514

    This bug is so freaking weird! There seems to be a pattern to it, BUT...
  12. Replies
    18
    Views
    3,553

    Re: Weird SwingWorker Bug HELP!

    It seems as though it never hits the return statement for the doInBackground() method and goes straight to done() even though its not canceled whatsoever (isCanceled() == false)

    WHY WOULD IT DO...
  13. Replies
    18
    Views
    3,553

    Weird SwingWorker Bug HELP!

    I have a SwingWorker which generates an int[][] into a variable local to the SwingWorker object in its doInBackground() method.

    The done() method then assigns that int[][] to another variable.
    ...
Results 1 to 13 of 13


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center