ToolTip location with different JRE's

Hi,
I am trying to set the location of the tooltip for a JButton. I am able to do so with jre 1.5, but when I run the app on jre 1.4.2_03 or 1.4.2_06, the tooltip appears in a different location. I would like to have the tooltip appear just to the right of the button, on the right outside edge of the window. With 1.4.2_0X, the tooltip appears inside of the window, and the tooltip area will not draw outside of the window. Below is the code, any help would be greatly appreciated!
public class ToolTipTester extends JFrame implements ActionListener
    private JPanel mainPanel;
    private Timer refresher;
    private JButton tempButton;
    private ArrayList myButtons;
    private int numButtons = 10;
    public ToolTipTester()
        initializeDisplay();
        initializeButtons(); 
        updateDisplay();
        setVisible(true);
        refresher = new Timer(1000,this);
        refresher.start();
    public static void main(String[] args)
        ToolTipTester ttt = new ToolTipTester();
    private void initializeButtons()
        myButtons = new ArrayList(numButtons);    
        for(int i = 0; i < numButtons; i++)
            tempButton = new JButton("Button#"+i) {
                public Point getToolTipLocation(MouseEvent event) {
                    return new Point(getWidth(),0);
            tempButton.setToolTipText("ToolTipText");
            myButtons.add(i, tempButton);           
    private void initializeDisplay()
        setResizable(false);
        setTitle("ToolTipTester");
        mainPanel = (JPanel)getContentPane();
        mainPanel.setLayout( new GridLayout(numButtons,1) );  
        String lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
        try {
            UIManager.setLookAndFeel(lookAndFeel);
        } catch (Exception e) { }
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        ToolTipManager.sharedInstance().setInitialDelay(0);
        ToolTipManager.sharedInstance().setDismissDelay(Integer.MAX_VALUE);
    private void updateDisplay()
        mainPanel.removeAll();  
        for( int i = 0; i < numButtons; i++ )
            tempButton = (JButton)myButtons.get(i);
            mainPanel.add(tempButton);  
            tempButton.repaint();
        pack();
    public void actionPerformed ( ActionEvent e )
          if( e.getSource() == refresher)
              updateDisplay();
}

Serialization is not guaranteed to be compatible between versions. The API for the specific case should have some information about this - check the later version docs.
One solution is to recompile with the new version.

Similar Messages

  • How do I set up different network locations with different wifi?

    I am having an issue setting up different network locations with different wifi profiles on each. I want to do this to enable fast switching of wireless networks. In my house I have two wireless networks, my own personal one and one that is created by using a wifi modem supplied by my company. If I use the company wifi network then I can get into all my work applications without having to enable VPN access separately. It is also faster. However, they also block many applications including sending email from my personal email account, dropbox, etc. So throughout the day I need to switch wireless networks back and forth.
    I was looking for a faster way to switch and thought I would try network locations. Was able to set up a new network location without issue. However it seems that whatever wireless preferences, changes, or wifi network order I put into my "Work" location it carries over to my other location which is the standard "Automatic".
    What I would like it to have my "Work" location only to be able to connect to my work wifi and my other network (Automatic) to just connect to my home wifi only. That way I can enable faster wifi switching and can even use my launcher program (Alfred) to provide shortcuts.
    Anyway to do this?
    Thanks in advance for any help or advice.

    Just thought I would bump this up in the conversation. Doing a further search I came across this discussion which is similar: Connecting to a wireless network via applescript?
    However, I tried to build the Automator application as discussed and cannot get it to work. Very much a novice at Applescript and Shell Script but have created customized Automator services before. All I get now is "Shell Script command encountered an error". No more detail. I copied and pasted the script as shown in the email thread. Is there any other line or command I need to place in front of it?
    Thanks again for any help

  • Invoking java methods from C/C++ on the machine with different JREs

    I implemented Windows NT Service instantiating JVM and invoking several java methods. Everything works but I have an issue with running the service on the machine where multiple different versions of JRE have been installed. The service is calling java methods that require JRE 1.3 or later so I wrote the code that is setting system PATH from within the service based on the configuration stored in the external file. The problem is that the service requires jvm.dll to be in the PATH prior lunching it since this library is instantiated through the implicit linking. When I put jvm.dll in the same path as the service binary I can lunch it but JNI_CreateJavaVM fails and returns -1. This happens even if JRE 1.3 is in the system PATH prior lunching the service.
    Everything works if the system PATH contains references to JRE 1.3 and jvm.dll is removed from the service's directory.
    I am looking for an advice on what is the proper way to deal with invoking java methods from the C/C++ executable in the environment with different versions of JRE.
    Thanks, Kris.

    Here's a way I have done what you are asking about:
    What you want to do is make all of your linking happen at runtime, rather than at compile time. This way, you can edit the PATH variable before the jvm.dll gets loaded.
    Following is some code that I used to handle a dll of my own in this manner. You can decide if you want to write a "wrapper" dll, or if you find it simpler to approach the jvm.dll in this way.
    // Define pointer type for DLL entry point.
         typedef void JREPDLL_API (*EXECUTEREQUEST)(char*, Arguments&);
    // Set up path, load dll, and pass everything off to it.
    HINSTANCE javaServer = javaServer = LoadLibrary("jrepdll.dll");
    if (javaServer != NULL) {
    EXECUTEREQUEST executeRequest = (EXECUTEREQUEST)GetProcAddress(javaServer, "ExecuteRequest");
    if (executeRequest != NULL) {
    if (argc == 1)
         // Execute the request.
         executeRequest("-run", args);
    else
         // Execute the request.
         executeRequest("-console", args);
    Here's some code for how to edit the PATH:
              // Edit the PATH environment variable so that we use our private java.
    char *appendPt;
    char *newPath;
    char *path;
              char tmp[_MAX_PATH];
              // Get the current PATH variable setting.
    path = getenv("PATH");
              // Allocate space for an edited path setting.
              if (path != NULL)
                   newPath = (char*)malloc((_MAX_PATH * 2) + strlen(path));
              else
                   newPath = (char*)malloc((_MAX_PATH * 2));
              // Get upper part of path to desired directories.
              strcpy(tmp, filepath);
              appendPt = strstr(tmp, "dbin\\jreplicator");
              appendPt[0] = '\0';
    sprintf(newPath, "PATH=%sjava\\jre1.2.2\\bin;%sjava\\jre1.2.2\\bin\\classic", tmp, tmp);
    // Append the value of the existing PATH environment variable.
    // If there is anything, append it.
    if (path != NULL) {
         strcat(newPath, ";");
         strncat(newPath, path, (sizeof(newPath) - strlen(newPath) - 2));
    // Set new PATH value.
    _putenv(newPath);
              free(newPath);

  • How can I include beans with different JREs as activeX components

    Hallo,
    I have to integrate two java applications via activeX in one VB Application.
    The first application requieres JRE 1.3.1_09, the second needs JRE 1.4.2,
    which means that they need different activex bridges.
    Both should be intergated in the same vb application. How can I do this?

    The best recomendation I have is to try the bean that requires 1.3.1_09 and see if it will run in 1.4.2 and if not update it.

  • Perdiem calculations for multiple locations with different statutory types

    Dear Experts,
    As part of the perdiem calculations, when an employee selected different statutory trip types for different dates in a trip duration,perdiem to be calculated differently.But i am failing to calculate to such type of perdiems.
    For Example :
    Trip duration is, say from 01.05.2014 to 10.05.2014
    Statutory trip types X with amount 200/day, Y with amount 300/day
    When employee select the statutory trip type for  01.05.2014 to 05.05.2014 as X
    and for 06.05.2014 to 10.05.2014 as Y
    As per the scenario
    01.05.2014 to 05.05.2014 (5 days *200) =1000
    06.05.2014 to 10.05.2014 (5 days *300) =1500
    total perdiem amount to be 2500 for the total trip duration
    But my system considering last statutory trip type in calculating total perdiem as 3000 for the entire trip.
    Please provide your suggestions to meet the requirement mentioned above
    Thanks & Regards,
    Y.V.P.Deepak

    Hi Deepak
    Kindly mark correct  if  your question has been solved .
    For your next query , you can post it another post.
    To  post in Fi with amount split , you can work on another badi: TRIP_POST_FI
    There  you can make lot of changes before you post in FI
    Thanks
    Anwar Hossain

  • "Table" changes locations with different browsers

    The the body of my website is a JPEG, and I have a table that contains a form. I am trying to line up the form with the text that is in the background, but when I get it right looking in one browser, it is completely wrong in another.
    Any advice on how to fix this would be greatly appreciated! The specific website is: http://www.high-road.org/contact.html
    Here is my code..
    <meta name="description" content="High Road is a Christian Celtic Music Group based in Memphis, TN.">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    .style1 { font-size: 20px;
    font-family: "Times New Roman", Times, serif;
    .style5 {font-size: 20px}
    .style9 {font-size: 28px}
    -->
    </style>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body onLoad="MM_preloadImages('IMAGES/menubarroll_2.jpg','IMAGES/menubarroll_3.jpg','IMAGES/me nubarroll_4.jpg','IMAGES/menubarroll_5.jpg','IMAGES/menubarroll_6.jpg','IMAGES/menubarroll _7.jpg')">
    <table width="800" height="1293" border="0" align="center">
      <tr>
        <td height="1289" valign="top" background="IMAGES/contactmain.jpg" bgcolor="#E8E8E8"><p><img src="IMAGES/header.jpg" width="800" height="365"><br>
          <img src="IMAGES/menubar_1.jpg" width="64" height="50"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Menu_Home','','IMAGES/menubarroll_2.jpg',1)"><img src="IMAGES/menubar_2.jpg" name="Menu_Home" width="105" height="50" border="0"></a><a href="about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Menu_About','','IMAGES/menubarroll_3.jpg',1)"><img src="IMAGES/menubar_3.jpg" name="Menu_About" width="104" height="50" border="0"></a><a href="media.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Menu_Media','','IMAGES/menubarroll_4.jpg',1)"><img src="IMAGES/menubar_4.jpg" name="Menu_Media" width="105" height="50" border="0"></a><a href="schedule.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Menu_Schedule','','IMAGES/menubarroll_5.jpg',1)"><img src="IMAGES/menubar_5.jpg" name="Menu_Schedule" width="140" height="50" border="0"></a><a href="contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Menu_Contact','','IMAGES/menubarroll_6.jpg',1)"><img src="IMAGES/menubar_6.jpg" name="Menu_Contact" width="126" height="50" border="0"></a><a href="store.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Menu_Store','','IMAGES/menubarroll_7.jpg',1)"><img src="IMAGES/menubar_7.jpg" name="Menu_Store" width="86" height="50" border="0"></a><img src="IMAGES/menubar_8.jpg" width="68" height="50"><br>
        </p>
          <p> </p>
          <p> </p>
          <p> </p>
          <p><br>
            <br>
            <br>
          </p>
          <table width="85%"  border="0">
            <tr>
              <td width="676" align="right" valign="top"><div align="right">
                <p><br>
                </p>
                <form action="process.php" method="post" enctype="multipart/form-data" name="" id="">
                  <p>
                    <input name='Name' type=text class="style1" id="Name" size="30">
                    <br>
                    <br>
    </p>
                  <p>
                    <input name='Email' type=text class="style1" id="Email" size="30">
                  </p><p align="right"><br>
                    <br>
                    <textarea name="Comments" cols="28" rows="8" class="style1" id="Comments"></textarea>
                      <br>
                      <br>
                      <br>
                  </p>
                  <p>                  <input name='Location' type=text class="style1" id="Location" size="30">
                  </p>
                  <p>                  <input type=submit class="style5" value='Submit Form'>
                    </p>
                </form>
                </div></td>
            </tr>
          </table>     
          <br>
          <p> </p>
        </td>
      </tr>
    </table>
    </body>
    </html>

    I'm afraid that it's never going to work. What you're attempting is akin to nailing jelly to a wall.
    Just focus on creating a simple functional form and style it with CSS.
    Other comments:
    Do you realize that you're doing the website a disservice by making all the text of the website part of a huge (300KB+) JPG?
    The top photo with the people looks great but the entire website will be slow and invisible to search engines due to the background JPG e.g. there's no text content on the pages.
    I understand the intent of the design in trying to convey Celtic colours and fonts but it's not the best approach for a website which Google can see and potential visitors can find online. In addition, it's inaccessible to vision impaired users who cannot change colours or resize text due to the JPG and maintenance will be tough since you have to recreate the images every time.
    Use a DW template, keep the colour theme and group photo, drop the background JPG with embedded Celtic font and use CSS-styled text wherever possible.

  • Compile with different JRE Version

    Hello!
    Exists some problem compile application using JRE 1.5.0_8 and run with JRE 1.5.0_11?
    Thanks a lot
    Andrew

    Try it and see, I've ran earlier version bytecode on new releases and also compiled old source on new JDK's without any problems before, but then your app is not my app and you may have used something or combinations of somethings that nobody else ever has and it yacks on you.
    Never know until you try it.
    BTW: I'm still running some of my 1.5, 1.4, 1.3, and 1.2 code on 1.6 no problems, but then not all of it is rocket science either.

  • IPad 2 suddenly showing "no service" but seems to be working fine otherwise. Any need for concern? Hard close didn't help. Changing locations with different wi if servers didn't help.

    iPad 2 suddenly showing "no service" but seems to be working fine otherwise. Any cause for concern? Time to get a new iPad?

    It is not picking up the wifi - though it says it is connected . All other devices are connecting fine to the same network

  • Implementing 2 WebViews for different locations with different VC's

    I am trying to implement 2 Web views using the storyboard, both linked to another online webpage.
    For some reason I don't get any errors, but only the PricesViewController works.
    The other one only shows a white page......All help is really apreciated.
    I am using these 4 files:
    PricesViewcontroller.h
    #import <UIKit/UIKit.h>
    @interface PricesViewController : UIViewController
        IBOutlet UIWebView *WebView;
    @property (nonatomic, retain) UIWebView *WebView;
    @end
    PricesViewController.m
    #import "PricesViewController.h"
    @interface PricesViewController ()
    @end
    @implementation PricesViewController
    @synthesize WebView;
    - (void)viewDidLoad
        [WebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.domain.com/price.pdf"]]];
    [super viewDidLoad];
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
        return self;
    - (void)didReceiveMemoryWarning
        [super didReceiveMemoryWarning];
    @end
    ReservationsViewController.h
    #import <UIKit/UIKit.h>
    @interface ReservationsViewController : UIViewController
        IBOutlet UIWebView *WebView2;
    @property (nonatomic, retain) UIWebView *WebView2;
    @end
    ReservationsViewController.m
    #import "ReservationsViewController.h"
    @interface ReservationsViewController ()
    @end
    @implementation ReservationsViewController
    @synthesize WebView2;
    - (void)viewDidLoad
        [WebView2 loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.be"]]];
        [super viewDidLoad];
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
        return self;
    - (void)didReceiveMemoryWarning
        [super didReceiveMemoryWarning];
    @end

    I am trying to implement 2 Web views using the storyboard, both linked to another online webpage.
    For some reason I don't get any errors, but only the PricesViewController works.
    The other one only shows a white page......All help is really apreciated.
    I am using these 4 files:
    PricesViewcontroller.h
    #import <UIKit/UIKit.h>
    @interface PricesViewController : UIViewController
        IBOutlet UIWebView *WebView;
    @property (nonatomic, retain) UIWebView *WebView;
    @end
    PricesViewController.m
    #import "PricesViewController.h"
    @interface PricesViewController ()
    @end
    @implementation PricesViewController
    @synthesize WebView;
    - (void)viewDidLoad
        [WebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.domain.com/price.pdf"]]];
    [super viewDidLoad];
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
        return self;
    - (void)didReceiveMemoryWarning
        [super didReceiveMemoryWarning];
    @end
    ReservationsViewController.h
    #import <UIKit/UIKit.h>
    @interface ReservationsViewController : UIViewController
        IBOutlet UIWebView *WebView2;
    @property (nonatomic, retain) UIWebView *WebView2;
    @end
    ReservationsViewController.m
    #import "ReservationsViewController.h"
    @interface ReservationsViewController ()
    @end
    @implementation ReservationsViewController
    @synthesize WebView2;
    - (void)viewDidLoad
        [WebView2 loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.be"]]];
        [super viewDidLoad];
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
        return self;
    - (void)didReceiveMemoryWarning
        [super didReceiveMemoryWarning];
    @end

  • IPhone Sync everything an different locations with different macs

    Hello,
    i can´t find a really working solution to run my iPhone and sync everything for all of my macs.
    Is there a how-to for syncing everything in both directions?
    Most discussions ending like: don´t waste any time to it, it will never work...
    I won´t accept that it didn´t work.
    And: Sorry for my english...

    Define "everything". The iPhone is designed to sync to _one and only one_ iTunes Library for media content (music, videos, photos, etc.). For contacts, calendars, bookmarks, you can sync to multiple computers. So, if your 'everything' includes music, etc., then start accepting - Apple has limited the iPhone to one computer for that type of content (and connecting to another computer results in the deletion of the content currently on the iPhone).

  • I've set up email on my iPad (talk mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this

    I've set up email on my iPad (talktalk.net) and can send and receive mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this?

    I've set up email on my iPad (talktalk.net) and can send and receive mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this?

  • Uploaded music to iCloud and it broke up my albums, I now have the same albums in different location with 2 or 3 songs on each one, can I make them whole albums again and how do I keep it from happening again?

    uploaded music to iCloud and it broke up my albums, I now have the same albums in different location with 2 or 3 songs on each one, can I make them whole albums again and how do I keep it from happening again?

    The iTunes Match forum is here: https://discussions.apple.com/community/itunes/itunes_match

  • HT4865 I need help findin my sons iPod n I set up with different iCloud account n never installed find my device n location map is off how do I locate device

    I need help findin my sons iPod n I set up with different iCloud account n never installed find my device n location map is off how do I locate device

    Jenniferp27.jp wrote:
    ...n never installed find my device n location map is off how do I locate device
    Then you cannot locate it electronically.
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668

  • How can I switch different JRE in one PC

    I am sorry to post it in this forum because I post almost the same in JRE forum but I don't get any help there for 2 days.
    My problem is that I have two systems to be used in different JRE enviroment.A system can only run in JRE 1.3 and B system can only run in JRE 1.5 enviroment.But I have to run both in one desktop(which use WinXP SP2),how can I do it . I tried some methods like below:
    Method 1:
    I Edited the registry using the cmd of regedit , edited some like these.But it did not work .
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}\InprocServer32]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaPlugin\CLSID]
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit]CurrentVersion="1.X"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] CurrentVersion="1.X"
    Method 2:This method is post in http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html#java as belows:
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    I tried this method but it did not work either.
    By the way , the method I use to check whether the switch of JRE versions is work correctly is this :
    1.Create a html file which contains OBJECT tag
    2.Double click the html file and then check the information in the java console in the window's taskbar.
    3.What the java console says is the JRE version I am using now
    Is this check method right?
    I found that many people confronted the same problem like me but they resolved it by the method of changing control panel, so I am doubt about the check method.
    Can anybody give me some help?
    Thanks a lot in advantage.

    Some additional information:
    I tried the method of changing control panel by JRE1.3's control panel to change current JRE enviroment to JRE1.3 (see http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html#java), and I found that in the IE->Tool->Intenet Option->Detail Setting Panel the JRE version used in IE had been changed to JRE1.3 really.But when I connect System A(which use JRE1.3) use IE,the started java console is still JRE1.5 and some applets can't run in the enviroment.

  • Help:The way to switch different JRE enviroment in the same desktop??

    I am sorry to post it in this forum because I post almost the same in JRE forum but I don't get any help there for 2 days.
    My problem is that I have two systems to be used in different JRE enviroment.A system can only run in JRE 1.3 and B system can only run in JRE 1.5 enviroment.But I have to run both in one desktop(which use WinXP SP2),how can I do it . I tried some methods like below:
    Method 1:
    I Edited the registry using the cmd of regedit , edited some like these.But it did not work .
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8AD9C840-044E-11D1-B3E9-00805F499D93}\InprocServer32]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaPlugin\CLSID]
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit]CurrentVersion="1.X"
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] CurrentVersion="1.X"
    Method 2:This method is post in http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html#java as belows:
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    I tried this method but it did not work either.
    By the way , the method I use to check whether the switch of JRE versions is work correctly is this :
    1.Create a html file which contains OBJECT tag
    2.Double click the html file and then check the information in the java console in the window's taskbar.
    3.What the java console says is the JRE version I am using now
    Is this check method right?
    I found that many people confronted the same problem like me but they resolved it by the method of changing control panel, so I am doubt about the check method.
    Can anybody give me some help?
    Thanks a lot in advantage.

    Some additional information:
    I tried the method of changing control panel by JRE1.3's control panel to change current JRE enviroment to JRE1.3 (see http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html#java), and I found that in the IE->Tool->Intenet Option->Detail Setting Panel the JRE version used in IE had been changed to JRE1.3 really.But when I connect System A(which use JRE1.3) use IE,the started java console is still JRE1.5 and some applets can't run in the enviroment.

Maybe you are looking for

  • How do i use cd's of downloaded pics from a pc on my mac?

    i switched from a dell pc and have pics backed up on cd's and when I load them into my iMac, nothing happens.....I also need to upload info from my removable hp simplesave and it's not uploading....help!

  • Import photos from iphone to computer

    After upgrading to IOS 7.2 I have been unable to import my photos from my phone to my computer. iCloud is installed on my computer. When I go to Computer to find my iPhone (where it used to be when I opened Computer), all I find is iCloud. Does anyon

  • User mailbox exceeds size limit on database

    Exchange 2010 sp3, Outlook 2013 i have a mb database with maximum limit of 10GB. i found a user whose mb size is 15GB!! how is that possible? should i run some maintenance script from EMS?

  • Still having errors in Backup but this time less.

    Still having errors in Backup but this time less. RMAN> backup database; Starting backup at 17-SEP-13 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=26 device type=DISK channel ORA_DISK_1: starting full datafile backup set channel ORA_DISK_1:

  • USB2serial on Mac OS 10.8.5?

    Hi, Is there a possibility to connect an old pen-Plotter (Mutoh XP 500 series) via USB to serial port from an iMac (MacOS 10.8.5)? I am desperate to find a solution.