Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 191183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:19:10+00:00 2026-05-11T16:19:10+00:00

I am starting on an enhancement to an existing Java applet where I let

  • 0

I am starting on an enhancement to an existing Java applet where I let the user hit a link in a menu item, and open a page in his/her default browser. Some of our deployed code is in Java 1.4, while the majority of it is in Java 5. This prevents me from using the Desktop API in Java 6. It looks like the easiest way to solve the problem is to integrate BrowserLauncher2 into the application.

The wrinkle is that the existing code includes an early version of BrowserLauncher.java (version 1.4b1 (Released June 20, 2001)). Unlike the original, BrowserLauncher2 is more than just one class. It appears to have a ton of enhancements of which I’d like to take advantage.

I think I will use the newer release for my needs, and just drop the references to the old version in the legacy code. I have a pretty good suite of existing unit tests on the old code, and will do some functional testing on the code where I make the swap.

Does anyone who has already been down the upgrade path from older versions of BrowserLauncher have any advice on potential gotchas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:19:11+00:00Added an answer on May 11, 2026 at 4:19 pm

    Well, that’s what you get for asking such an obscure question. Instead of letting an unanswered question sit abandoned, I’ll share what I’ve learned.

    The BrowserLauncher class in BrowserLauncher2 has deprecated the old static openURL(String) method. In addition, while the old method threw an IOException, the new one throws a different set of exceptions.

    It’s therefore necessary to rewrite your catch blocks, and is probably a good idea to convert static calls to openURL(String) into calls to methods on an actual BrowserLauncher object.

    Given the improvements in BrowserLauncher2, however, it’s probably worth it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Starting with a already existing installscript 11.5 installer, we created a update installer (differential
Starting to learn Canvas and have two classes so far (main one to call
Starting with API level 9, there's android:filterTouchesWhenObscured attribute and corresponding setFilterTouchesWhenObscured method on ViewGroup
Starting with a recent new version of ADT, I've noticed this new attribute on
Starting with an empty dataframe, I need to fill the dataframe as follows: A
Starting at http://developer.android.com/training/index.html I selected the [ FIRST CLASS > ] button which takes
Starting from scratch with very little knowledge of .NET, how much ASP.NET should I
Starting with a list of objects containing two parameters notional and currency, how can
Starting a new rails project and we have a well-thought-out color palette, and want
Starting in SQL 2005, VARCHAR(MAX) is no longer limited to 8000 bytes, it instead

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.