How to reach com.ultraswing.StatusBar class

I found this structure below on the internet. It indicates that there is a package
calles StatusBar in com.ultraswing package. But I don't know how to reach
and include it in my program. Does anybody know?
Thanks
Hakan
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ultraswing.StatusBar

what ever website you saw this code on must have the jar file available if they expect you to be able to run the application.
Down this .jar file to your local hard drive and add the path+jarFileName to your classpath. This allows you to see all classes which are contained within the jar file.
When you do find the jar file, you can also open it with winzip to see what classes are in it. A jar is just a convient way to store and deploy .class files

Similar Messages

  • How to reach a method of an object from within another class

    I am stuck in a situation with my program. The current situation is as follows:
    1- There is a class in which I draw images. This class is an extension of JPanel
    2- And there is a main class (the one that has main method) which is an extension of JFrame
    3- In the main class a create an instance(object) of StatusBar class and add it to the main class
    4- I also add to the main class an instance of image drawing class I mentioned in item 1 above.
    5- In the image drawing class i define mousemove method and as the mouse
    moves over the image, i want to display some info on the status bar
    6- How can do it?
    7- Thanks!

    It would make sense that the panel not be forced to understand its context (in this case a JFrame, but perhaps an applet or something else later on) but offer a means of tracking.
    class DrawingPanel extends JPanel {
      HashSet listeners = new HashSet();
      public void addDrawingListener(DrawingListener l) {
         listeners.add(l);
      protected void fireMouseMove(MouseEvent me) {
         Iterator i = listeners.iterator();
         while (i.hasNext()) {
            ((DrawingListener) i.next()).mouseMoved(me.getX(),me.getY());
    class Main implements DrawingListener {
      JFrame frame;
      JLabel status;
      DrawingPanel panel;
      private void init() {
         panel.addDrawingListener(this);
      public void mouseMoved(int x,int y) {
         status.setText("x : " + x + " y: " + y);
    public interface DrawingListener {
      void mouseMoved(int x,int y);
    }Of course you could always just have the Main class add a MouseMotionListener to the DrawingPanel, but if the DrawingPanel has a scale or gets embedded in a scroll pane and there is some virtual coordinate transformation (not using screen coordinates) then the Main class would have to know about how to do the transformation. This way, the DrawingPanel can encapsulate that knowledge and the Main class simply provides a means to listen to the DrawingPanel. By using a DrawingListener, you could add other methods as well (versus using only a MouseMotionListener).
    Obviously, lots of code is missing above. In general, its not a good idea to extend JFrame unless you really are changing the JFrames behavior by overrding methods, etc. Extending JPanel is okay, as you are presumably modifiying the drawing code, but you'd be better off extending JComponent.

  • How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    Please advise...
    VJ

    cross posted
    http://forum.java.sun.com/thread.jsp?thread=299137&forum=31&message=1184025

  • How to remove the rule or class function in CS5

    i need to know how to remove the rule or class function in CS5  at the bottom of the screen there are two options for formating HTML and Css when i click the HTML it only allows me to change the bold or italics or link something but when i click CSS it allows me to format how i want the paragraph aligned and the text size and font when i click on lets say changing the font size a box comes up asking me to name a rule so it applies it to everything else i type i want to know how to stop tht like edit everything on my own and if i use CS5 here will it be compatible with CS4 or CS3 at my skool plzz help ive been frustrated with this

    If I use CS5 here will it be compatible with CS4 or CS3 at my skool plzz help ive been frustrated with this
    Code is code.   It doesn't matter which product you use.
    i need to know how to remove the rule or class function in CS5
    You can't.  DW encourages you to use good coding methods, which means using CSS classes and to keep content (HTML) separate from styles (CSS).  For example, if you change font-size on p tags like so:
         p {font-size: 38px}
    Every paragraph will have 38px sized text.
    If you want to apply a special style to just a portion of your text, you must define a CSS class name like so:
    .foo {
    font-size: 38px;
    color: red;
    HTML:
    <p>This is normal paragraph text <span class="foo"> And this is very big and red.</span></p>
    This is normal paragraph text And this is very big and red. 
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    Message was edited by: Nancy O.  -- unfortunately, this forum doesn't support Raw HTML with inline styles. You'll need to paste my code examples into your DW page to see the effect.

  • URGENT PLEASE:How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server? Can I run through an Applet?
    How can I set Environment variables in Windows2000 Professional Environment?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    The code is here
    import java.sql.*;
    public class RecordShow {
    public static void main(String args[]) {
    String url = "jdbc:mysql://localhost/myhost";
    Connection con;
    String query = "select mytable.column," +
    "from mytable " +
    "where mytable.column = 1";
    Statement stmt;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url,
    "myuser", "mypassword");
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsmd = rs.getMetaData();
    int numberOfColumns = rsmd.getColumnCount();
    int rowCount = 1;
    while (rs.next()) {
    System.out.println("Row " + rowCount + ": ");
    for (int i = 1; i <= numberOfColumns; i++) {
    System.out.print(" Column " + i + ": ");
    System.out.println(rs.getString(i));
    System.out.println("");
    rowCount++;
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.print("SQLException: ");
    System.err.println(ex.getMessage());
    Please advise... THANKS
    VJ

    Ehm, I wasn't referring to you at all... read up,
    there's a comment by jschell saying that CGI might be
    easier/better for his purposes.
    Yep.
    I know PHP/Perl/whatever might be easier for some
    purposes, but only if you happen to know them and want
    to/are able to use them. Ok. But you aren't the one asking the question are you. And the person who asked the question seems to have absolutely no familiarity with Apache or applets.
    So whatever they do they are going to have to learn a lot.
    And that does indeed suggest that in all likelyhood they have not investigated the alternatives.
    And for the vast majority of internet applications, especially with smaller projects (obvious this person is not working with a large team), using perl, or something besides java, is going to be the best business solution. It is simpler, and more secure (probably due to the fact that it is simpler.)
    Since this is a Java forum, I
    answer under the assumption that people have made a
    choice one way or another to use a Java solution to
    their problem, so I try to solve it in Java first, and
    only when that fails (very seldom) do I turn to other
    solutions.You approach problems by arbritrarily deciding to try to solve it in java first and only if you fail do you then look to other solutions?
    My first step is to try to figure out which of the various avenues is going to cost less. (And a secondary, but non-trivial concern, is then to convince the customer that just because they have heard of a buzz word like 'enterprise bean' that it doesn't mean that is a cost effective solution.) We must come from different worlds.

  • I need to check the information i have into the cloud boy i don't know how to reach it.

    I Need to check the information i've in Icloud but i don't know how to reach it.

    Go to http://icloud.com and log in. Whatever is in iCloud that c an be seen, should be able to be seen from there. Other things may need to be restored directly to a device to be seen though.

  • How to reference the WindowListener in "class implements WindowListener"

    i need to remove a WindowListener but i dont know how to
    reference Listeners implented by classes.
    Thanks for any help in advance!
    public class MyClass implements WindowListener{
    public MyClass(){
    frame.addWindowListener(this);
    public static void RemoveIt(){
    frame.removeWindowListener( ??? )
    JFrame frame = new JFrame();
    }

    Looks like im just going to have to implement this
    all much differently -
    and maybe in a less lazy manner, haha.Hi! Sorry for my late reply.
    Let me help you a little;
    ===============================================================
    1.) You can create a class that will be shared by each of your frame.
    ===============================================================
    The shared class will contain the following:
    1.) The number of your alive frame.
    2.) The information of your alive frame. ie. name, if it is the main, etc.
    Then your frame should look at that shared class so that it will know when to
    invoke System.exit(int);
    ===============================================================
    2.) You can use java.util.prefs.Preferences
    ===============================================================
    Use preference to put and get information about your frame.
    ===============================================================
    3.) You can extends my class below.
    ===============================================================
    NOTE: This example may or may not help the OP. I'm sorry.
    * @(#)AbstractExitableJFrame.java     05/06/25
    * 2005 Tunay na pag-aari ni Ronillo Ang.
    package com.yahoo.ronilloang.cswingx;
    import java.awt.GraphicsConfiguration;
    import java.awt.event.WindowEvent;
    import java.awt.event.WindowFocusListener;
    import java.awt.event.WindowListener;
    import java.awt.event.WindowStateListener;
    import javax.swing.JFrame;
    * Use this at your own risks.
    * @version     1.4.2
    * @author     Ronillo Ang
    public abstract class AbstractExitableJFrame extends JFrame implements WindowFocusListener, WindowListener, WindowStateListener{
         private static int frameCount = 0; // how many are we?
          * @see          javax.swing.JFrame constructor.
         public AbstractExitableJFrame(){
              super();
              ++frameCount;
          * @see          javax.swing.JFrame constructor.
         public AbstractExitableJFrame(GraphicsConfiguration gc){
              super(gc);
              ++frameCount;
          * @see          javax.swing.JFrame constructor.
         public AbstractExitableJFrame(String title){
              super(title);
              ++frameCount;
          * @see          javax.swing.JFrame constructor.
         public AbstractExitableJFrame(String title, GraphicsConfiguration gc){
              super(title, gc);
              ++frameCount;
          * Called by the constructors to init the <code>AbstractExitableJFrame</code> properly.
         protected final void frameInit(){
              super.frameInit();
              addWindowFocusListener(this);
              addWindowListener(this);
              addWindowStateListener(this);
         public final void windowGainedFocus(WindowEvent we){
              exitableJFrameGainedFocus(we);
         public final void windowLostFocus(WindowEvent we){
              exitableJFrameLostFocus(we);
         public final void windowActivated(WindowEvent we){
              exitableJFrameActivated(we);
         public final void windowClosed(WindowEvent we){
              exitableJFrameClosed(we);
              --frameCount;
              if(frameCount <= 0 || isMain())
                   System.exit(0);
         public final void windowClosing(WindowEvent we){
              exitableJFrameClosing(we);
         public final void windowDeactivated(WindowEvent we){
              exitableJFrameDeactivated(we);
         public final void windowDeiconified(WindowEvent we){
              exitableJFrameDeiconified(we);
         public final void windowIconified(WindowEvent we){
              exitableJFrameIconified(we);
         public final void windowOpened(WindowEvent we){
              exitableJFrameOpened(we);
         public final void windowStateChanged(WindowEvent we){
              exitableJFrameStateChanged(we);
          * Invoked when {@link #windowGainedFocus(WindowEvent)} is invoked.
         public abstract void exitableJFrameGainedFocus(WindowEvent we);
          * Invoked when {@link #windowLostFocus(WindowEvent)} is invoked.
         public abstract void exitableJFrameLostFocus(WindowEvent we);
          * Invoked when {@link #windowActivated(WindowEvent)} is invoked.
         public abstract void exitableJFrameActivated(WindowEvent we);
          * Invoked when {@link #windowClosed(WindowEvent)} is invoked.
         public abstract void exitableJFrameClosed(WindowEvent we);
          * Invoked when {@link #windowClosing(WindowEvent)} is invoked.
         public abstract void exitableJFrameClosing(WindowEvent we);
          * Invoked when {@link #windowDeactivated(WindowEvent)} is invoked.
         public abstract void exitableJFrameDeactivated(WindowEvent we);
          * Invoked when {@link #windowDeiconified(WindowEvent)} is invoked.
         public abstract void exitableJFrameDeiconified(WindowEvent we);
          * Invoked when {@link #windowIconified(WindowEvent)} is invoked.
         public abstract void exitableJFrameIconified(WindowEvent we);
          * Invoked when {@link #windowOpened(WindowEvent)} is invoked.
         public abstract void exitableJFrameOpened(WindowEvent we);
          * Invoked when {@link #windowStateChanged(WindowEvent)} is invoked.
         public abstract void exitableJFrameStateChanged(WindowEvent we);
          * Tests if this frame is the main frame.
         public abstract boolean isMain();
    Take care and God bless you all. Thank you. -Ronillo

  • What does it mean by Stream and how does it is different from Class?

    What does it mean by Stream and how does it is different from Class?

    www.dictionary.com does
    Stream: An abstraction referring to any flow of data from a source (or sender, producer) to a single sink (or
    receiver, consumer).
    Class:
    The prototype for an object in an
    object-oriented language; analogous to a derived type in a
    procedural language. A class may also be considered to be a
    set of objects which share a common structure and behaviour.
    The structure of a class is determined by the class
    variables which represent the state of an object of that
    class and the behaviour is given by a set of methods
    associated with the class.

  • How do you compile Flex-dependent classes with ASC?

    Hi,
    I've been trying unsuccessfully for most of the evening to compile a .as file that relies on mx.collections.ListCollectionView using asc. I figured I could just import the Flex framework SWCs from the command line with asc, but asc doesn't seem to respect SWCs - it only seems to respect .abc files.
    So, I've spent most of my time trying to compile the Flex framework into a single .abc file that I can import whenever I want to compile a class that relies on Flex. I figured I could make a base .as file with include statements for all of the Flex .as files (copying the approach I saw for files like builtin.as) and compile that, but all I seem to get are compiler errors - mostly "[Compiler] Error #1181: Forward reference to base class (base class name)."
    I have a feeling I'm doing this completely the wrong way. I'd very much appreciate any assistance that anybody can offer me.
    Thanks,
    - max

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>I use MXMLC to compile my .as file projects.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Maxim Porges<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Monday, February 09, 2009 9:22 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> How do you compile Flex-dependent classes with ASC?<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new discussion was started by<br />Maxim Porges in <br><br /><br><br /><b>Developers</b> --<br><br />  How do you compile Flex-dependent classes with ASC?<br><br /><br><br />Hi, <br><br /><br><br />I've been trying unsuccessfully for most of the evening to compile a .as file<br />that relies on mx.collections.ListCollectionView using asc. I figured I could<br />just import the Flex framework SWCs from the command line with asc, but asc<br />doesn't seem to respect SWCs - it only seems to respect .abc files. <br><br /><br><br />So, I've spent most of my time trying to compile the Flex framework into a<br />single .abc file that I can import whenever I want to compile a class that<br />relies on Flex. I figured I could make a base .as file with include statements<br />for all of the Flex .as files (copying the approach I saw for files like<br />builtin.as) and compile that, but all I seem to get are compiler errors -<br />mostly &quot;[Compiler] Error #1181: Forward reference to base class (base<br />class name).&quot; <br><br /><br><br />I have a feeling I'm doing this completely the wrong way. I'd very much<br />appreciate any assistance that anybody can offer me. <br><br /><br><br />Thanks, <br><br /><br><br />- max <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b7d5d2">How do you compile<br />Flex-dependent classes with ASC?</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b7d5d2!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • How is the java.lang.StringBuffer class different from the java.lang.String

    How is the java.lang.StringBuffer class different from the java.lang.String class?....

    Read the API.
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html
    "Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings."
    Although when possible you should use StringBuilder instead of StringBuffer.
    Always read the API at the very least before asking questions in the forums. Ideally you should do some google searching and poke around for an answer too. Otherwise you will get people barking at you.
    Drake

  • How to reach backup data in computer without the iPhone which cannot be operated

    My iphone 4 crashed and cannot be used. Wants to know how to reach the back up data on my computer. Phone was synced with Imac/

    You need third-party software, like this:
    http://www.iphonebackupextractor.com/

  • How can I sign up for classes for the ipad

    How do I sign up for classes on iPad

    Call your nearest Apple Store.
    This will get you started.
    You can download a complete iPad 2 User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad 2 - Guided Tours
    http://www.apple.com/ipad/videos/
    Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • Anyone know how to reach someone in customer service who will not out and out LIE to us?

    Just so frustrated right now... in the near week since my husband's iPhone was stolen, we have spoken to four different reps and three so-called supervisors. Each one has either made the problem worse or actually lied to us. Does anyone know how to reach someone at Verizon who will help us? We have three iPhones with Verizon and are ready to leave for AT&T.
    So far, this is what we've had:
    1. As we were tracking the phone with the police to get it back, Verizon tech support advised us to wipe the phone because we'd still be able to track it. WRONG. Phone lost forever. Verizon clearly does not understand what "wipe" means on MobileMe. What they should have said is, "We don't know for sure, so don't wipe it."
    2. Rep transferring my husband's phone number to a backup handset transferred MY number to that phone, deactivated MY iPhone and reported it as stolen. When they were trying to fix it, we were assured that our unlimited data plan would not be affected. WRONG. Reps are now refusing to give it back. 
    3. Next rep advised us to get insurance on the phones because if anything happens, they are replaced for free. WRONG. $199 deductible, which we found out from the next rep. 
    4. The supervisor we spoke to yesterday said she would pull the tapes from the call center, review them to make sure that IT gave us the wrong information, and then call us back the next day with a discounted rate on a new iPhone. She gave us her name and direct number... both of which were bogus. The number goes to a media specialist at some public school. Subsequent reps have told us that there is no way anyone at Verizon would say that.
    5. We have been promised three times that a supervisor would call us within 24 hours... almost a week later, no calls from anyone. 
    So if anyone has any leads on how to speak to someone who will make this nightmare go away, please, please, let me know. Thank you. 

    feochadan wrote:
    Thanks to this board, my problems were solved! This thread can probably be deleted.
    The point of this board, being a peer to peer forum, is so that people can learn how to resolve issues that others have already gone through. Please let us know how it was resolved so that others in the future with the same issues can be assisted.

  • How to convert the javasource file(*.class) to execute file(*.exe)?

    How to convert the javasource file(*.class) to execute file(*.exe)?
    thank you!

    Although i have seen a few programs (that are platform specific) that will embed a small jvm into an exe with your class file, it is generally excepted that you cannot create an executable file using java. The JAR executable file is probably the closest your going to get
    Pete

  • Who know how to reach Create SO from PO Output (IDOC)

    Hi,  experts,
           I have met a problem that need create SO from PO output using IDOC, anyone knows how to reach it? please give me detail steps, thanks very much!
      we need to create an SO in company code XYZ from the PO output IDOC( Message NEU ) of another company code ABC.
    Im trying to create the SO in the same System and same client , but in a Different Company code.
    Edited by: zheng michael on Mar 14, 2011 3:55 AM

    Hi,
    Take help of ABAPer,
    In my project I had done this with help of ABAPer, but not on basis of output.
    When P.O saved in one company code,system create sales order in another company code.
    Kapil

Maybe you are looking for

  • Snow leopard freezes  but works fine in safe mode

    I have been using snow leoprad and it hangs after  login to the system (from the first one/two minutes). But it works well in safe mode . So far the things I  have tried are - repair the disk permissions, verify the disk , created a  new user account

  • How to loop through report records and update the record

    I have a updateable report. And there is a select LOV in that report. How to loop though the report and save all the changes to the LOV.

  • Will invalid SYS objects cause Oracle 9.2.0.8 thread to crash?

    Hi Experts Here is a brief account of what happened... 1) In Toad, login as sys to modify a function in a user schema 2) Created this function in sys schema by mistake and it was invalid. Error PLS-00201: identifier 'LOT.LINECODE' must be declared an

  • How to access BSP-Parameters in the URL in view "ICCMP_BTSHEAD/BTSHeader"?

    Dear Expert, I have the foloowing links: <Server>:Port/sap/bc/bsp/sap/crm_ui_frame/default.htm?crm-object-type=BT116_SRVTK&crm-object-action=B&crm-object-value=<GUID>&sap-client=200&sap-language=DE. I would like to access the parameter value "crm-obj

  • BEQ connections utilizing high CPU.

    Hi, Oracle version :11.2.02 At a higher load ,i found the following process consuming high CPU.Oracle Server and client are in same unix box During this time other processes were in waiting state. oracleTESTDB (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOC