Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Regular Coder jfreak53's Avatar
    Join Date
    May 2004
    Location
    Guatemala
    Posts
    477
    Thanks
    19
    Thanked 10 Times in 10 Posts
    Ok, I got the MySQL error gone, it was still trying localhost woops. But now it still won't get past executing file chooser. I change the function for the excelchoose to add some prompts so I know where it's at:

    Code:
    private File chooseExcelFile () {
            JOptionPane.showMessageDialog(null, "Part top");
            JFileChooser chooser = new JFileChooser();
            JOptionPane.showMessageDialog(null, "Part 1");
            chooser.setFileFilter(new XLSFilter());
            JOptionPane.showMessageDialog(null, "Part 2");
    
            int returnVal = chooser.showOpenDialog(this);
            JOptionPane.showMessageDialog(null, "Part 3");
            if (returnVal == JFileChooser.APPROVE_OPTION) {
                JOptionPane.showMessageDialog(null, "Part 4");
                return chooser.getSelectedFile();
            }
            // cancel was clicked
            JOptionPane.showMessageDialog(null, "Part 5");
            return null;
        }
    On my local machine, perfect, even with the domain MySQL connection details, works like a charm.

    But on the web link I sent you, it won't even print part 1. So what did I break now ha ha
    "FORTRAN is not a language. It's a way of turning a multi-million dollar mainframe, into a $50 programmable scientific calculator."
    http://www.microfastcat.com -- FastCat Software, the fastest software on the NET!
    http://www.microthosting.com -- Free reseller web hosting, Hosting, VPS, FREE SMALL HOSTING!!!
    http://www.microtronix-tech.com -- Web design and programming

  2. #17
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Does it get a dialog for the "Part Top"? If it does, it may be throwing an exception assuming it doesn't open the actual dialog.
    Changing the odbc connectivity shouldn't cause any issue with the JFileChooser. I'll have to check out the link after too; actually pretty busy today O.o

  3. #18
    Regular Coder jfreak53's Avatar
    Join Date
    May 2004
    Location
    Guatemala
    Posts
    477
    Thanks
    19
    Thanked 10 Times in 10 Posts
    WOW! First off thanks for the help today, especially since your busy all day. It's no problem, I just fedigled it ha ha

    I'm new to this signing apps junk and I didn't realize that each time I did a clean and build that the accompanying JAR's like the Swing and MySQL Jar's in the lib folder got a new cert. So when I did the build and uploaded to the web site I was only uploading the new main JAR file instead of all 4 of them, lib's included. Since Ubuntu has a crappy Java plugin and it has NO console at all I wasn't realizing what was happening.

    So I booted into my Windows VM through vBox and ran it, come to find out that the older lib jar's on the site had a different cert than the new main jar, so it wasn't running them ha ha, hence an exception that wasn't displaying ha ha ha

    So, I did a new clean and build then I uploaded all NEW files to the site, now it work's like a charm!

    Wow, sometimes the stupidest of thing's clog you down ha ha

    Thanks for help today, it's working finally
    "FORTRAN is not a language. It's a way of turning a multi-million dollar mainframe, into a $50 programmable scientific calculator."
    http://www.microfastcat.com -- FastCat Software, the fastest software on the NET!
    http://www.microthosting.com -- Free reseller web hosting, Hosting, VPS, FREE SMALL HOSTING!!!
    http://www.microtronix-tech.com -- Web design and programming

  4. #19
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Lol win!
    Never thought about needing a new cert, but since the contents have changed along with the date and everything else, I guess that does make sense.


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •