KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > admin > common > ContactTerracottaAction


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.admin.common;
5
6 import java.awt.event.ActionEvent JavaDoc;
7
8 public class ContactTerracottaAction extends XAbstractAction {
9   private String JavaDoc m_url;
10   
11   public ContactTerracottaAction(String JavaDoc label, String JavaDoc url) {
12     super(label);
13     m_url = url;
14   }
15   
16   public void actionPerformed(ActionEvent JavaDoc e) {
17     BrowserLauncher.openURL(m_url);
18   }
19 }
20
21
Popular Tags