Early binding in Java

I need to find two kinds of method calls that use early binding in Java.
I would like to know if my ideas are correct:
I think overloaded functions uses early binding, because the compiler looks at the types of the parameter variables.
I think static functions uses early binding because they are outside of a class.
I think functions define as final uses early binding because they do not change.
Does that make sense? Are those correct method calls that uses early binding please?
Thank you for your help.

a. What is the difference between design patterens and frameworkA design pattern is what you see in a lace curtain and a framework is usally made of wood and used as a support structure (as for a house).
b. What is the difference bewteen composition and generalizationcomposition is a part of decomposition (like with the trash heap in the backyard) and generalization is streotyping
c. Hash map and Hash tableEating hashbrowns at the table or (for whatever odd reason) sitting on a map
d. What are virtual functionsThese are what supervisor's and manager's have (as they have no real function)
e. How do we do late binding and early binding in javaDepends on when you do your coding, morning or evening
P.S.
Sorry for the joke on your behalf, but after dizzy's post I just had to do the same in a sarcastic manner. ;-)

Similar Messages

  • How to solve the "type mismatch" error in jCOM early binding program?

    I got a "type mismatch" error jCOM early binding program.
    I use the VB as the jCOM client to access the EJB deployed on WLS7. While using the
    object parameter like "java.lang.Integer" in EJB method call, I got that error message
    and my VB client had to be stopped?
    The same situation, the VB program work perfect when using the "int" as the parameter.
    And I try to instance the "myTLB.JavaLangInteger" in my VB program, but how ? The
    "New", "CreateObject" and "GetObject" all failure, I don't know what to do next ???

    Hi,
    This problem Could happen when you referesh quality or test system.
    Your delta setup for the related master and transaction data needs to be reinit.
    What happens is when you init. the delta and subsequent delta is all maintained in your source system
    please check Notes 852443,424848,834229
    Hope this helps
    Thanks
    Teja
    Message was edited by:
            Teja badugu

  • [svn:fx-trunk] 11535: Don't early bind lexical references in a with block.

    Revision: 11535
    Author:   [email protected]
    Date:     2009-11-06 13:50:52 -0800 (Fri, 06 Nov 2009)
    Log Message:
    Don't early bind lexical references in a with block. It causes
    outer locals to shadow properties on the with object.
    (bug ASC-2257; r=peted)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/ASC-2257
    Modified Paths:
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/FlowAnalyzer.java

    This line:
    Jul 30 18:34:00 sleepy dhclient: wmaster0: unknown hardware address type 801
    According to your kernel log, your wireless card is wlan0.  I'm not sure what wmaster0 is, but I'm pretty sure that's the network device causing the issue here; NetworkManager can be pretty finicky when your network configuration is not correct.

  • Achieving early binding

    There have been some messages here about the problem of getting early binding for packaged beans.
    I have found a way to achieve that for an individual bean. The solution is to include an explicit BeanInfo class, and not to rely on automatic bean info being obtained by reflection.
    I included a BeanInfo class with the following method:
    public MethodDescriptor[] getMethodDescriptors()
        Method[] classMethods = beanClass.getMethods();
        Vector publicMethods = new Vector();
        for (int i = 0; i < classMethods.length; i++)
            int modifiers = classMethods.getModifiers();
    if (Modifier.isPublic(modifiers))
    publicMethods.add(new MethodDescriptor(classMethods[i]));
    int count = publicMethods.size();
    MethodDescriptor[] methods = new MethodDescriptor[count];
    publicMethods.copyInto(methods);
    return methods;
    Package the bean, making sure the BeanInfo class is in the jar file with the bean.
    Install and register the dll.
    In VB, add the dll to the project references.
    Now you can instantiate the bean with the standard
    Set beaninstance = New BeanLib.BeanClassand have early binding for the beans methods.
    Regards,
    Maarten

    I would love to help you get it to work properly, however while trying to build a more complete example today, it seems that it stopped working on my machine.
    Even my previous project, which has early binding working, now refuses to run.
    I must say that finding this method was more of a side-effect of creating a larger-scale Java-com integration.
    My final solution does not rely on the bridge to provide early binding. Instead it automatically generates VB classes that wrap all exported java classes. These classes are compiled into a DLL which then provides early binding to VB projects, including strongly typed object return types. Internally the wrapper classes use late binding.
    Unfortunately I am unable to provide the wrapper generator, as it is owned by my current employer. If anybody is interested in writing one, I suggest using a javadoc Doclet as the base technology. That will take care of all the parsing and referencing of the java classes, and unlike reflection, it lets you use the actual parameter names in your wrappers.
    If I ever find a consistenly working way to achieve early binding with just the sun bridge, I'll be sure to let you guys know.
    Kind regards,
    Maarten

  • How to avoid "The application requires an earlier version of Java. "?

    Hello, I deployed a Java applet built like this
    javac -source 1.4 -target 1.4 foobar.javaThe reason why I do it this way, is that many public libraries, have computers that only have Java 1.4 installed (and I found one case with 1.3 but decided not to go that far), and the users have no way to upgrade them. Hence if I want to deploy an app that can be used by most everybody, which is the whole idea of Java, then I have to use 1.4, no choice.
    OK, now I also have users who have the latest Vista and Firefox. On those computers, they see the following warning when my applet tries to run:
    "The application requires an earlier version of Java. Do you want to continue? Run or Cancel The required version of Java, 1.6.0-oem, is not the latest and may not contain the latest security ..."
    Of course, after seeing this kind of warning, I am losing a lot of those users immediately. (and by the way, I am built with 1.4, not 1.6-whatever)
    This message is widely reported on the Internet and the solution is always similar - some variation of "uninstall and reinstall the latest Java".
    This of course is a NON_STARTER. I cannot request my users, to reinstall Java. they won't bother. The whole idea of Java applets, again, is that I write an applet and the user sees it without having to tweak around with their computer.
    So I guess my question is: what can I do in my applet, to prevent these messages from happening on Vista, and at the same time be accessible to public lib computers with Java 1.4?
    And second rhetorical question: why can't Sun get their act together and deploy a platform where I can just write my code according to their specs and it will run according to their specs, without any warnings to scare away half of my users??? Please Sun tell me.
    Mark
    Edited by: Mark_Galeck on Apr 18, 2009 10:33 PM

    Mark.
    [1.4 is EOL|http://java.sun.com/j2se/1.4.2/] so I suggest you target 1.5.
    Youe contention that world should not change because a small proption of near-sighted troglodites insist on wearing frilly collars is complete bunkum. Get over it. Fast.
    If ever I get the chance, I shall tell Sun to continue doing exactly what they are doing with regards to developing the core Java language. Hire the best engineers; go forth and prosper; insist on backwards compatability; and never mind the bollocks (here's the sex pistols).
    ... or maybe one would prefer the MS .NET platform, where no version is at all backwards compatible with any previous one; is supported for just three years; with each CLR occupying a full third of ones modest laptop hard disk?
    Be careful what you wish for. You just might get it.
    ~~ anonCheers. Keith.
    Edited by: corlettk on 19/04/2009 16:27 ~~ Typoes!

  • Wat is early binding and late binding

    1)Class A {
    Public void amethod(){
    System.out.println(�amethod�);
    class B extends A{
    public static void main(String args[]){
    B b = new B();
    b.amethod();
    if I run amethod will be printed on the console;
    in the class A if i replace public class with private modifier;then I don�t compile class B and I run directly what will happen?
    What is late binding and early binding?

    What is late binding and early binding?Suppose you have two objects iA and sB, where iA is an Integer object and sB is a String object. If you were to assign them to one another, this would result in a compile time error. This is because the compiler checks if the objects 'bind' with each other. This is early binding.
    Take another case where you have two custom objects (A & B) implementing the same interface. you pass an one of the objects (say A) to a method which accepts the implemented interface as a parameter and try to work with it as if it were to be the other (ie B) the compiler passes this since syntactically this is correct. But when it comes to runtime, the runtime env will get to know that this is illegal and throws an exception. This is a typical case of late binding.

  • Com2java. early binding and JCOM WLS7

    All,
    I have been looking at the use of JCOM with WLS 7. Based around supplied examples,
    the com-to-java using zero client or late binding appears simple and worked reliably
    using entity and session beans, however I have been unable to produce an early bound
    com-to-java example or a java-to-com example. In the former case the VB client produces
    a GPF (General Protection Fault) when attempting retrieve the home interface of
    the targeted EJB and in the latter case com2java produced code which would not compile
    (even after following the note 076584 regarding the jintegra code). I am beginning
    to doubt the current release. Has anybody succeeded in building an early bound example
    or used com2java succesfully.
    Regards
    Chris

  • [ANNOUNCEMENT] Hetman 1.0 Early Access  - powerful Java file manager

    SoftAge has launched the Early Access Program for Hetman 1.0.
    Handy Java desktop application Hetman is a dual-panel file manager for the huge Java community.
    Hetman is powered by Fusion framework (based on SWT), it has a decent responsive cross platform GUI and impressive overall performance.
    Tabbed rich design interface, native cross platform widgets implementation, powerful text editor, advanced console and much more make Hetman the indispensable and full-featured programmer�s tool.
    The following features are currently almost complete:
    - two panel file management UI
    - powerful incremental file navigation
    - built-in text editor with syntax highlight
    - advanced console
    - Windows networking support
    - Zip archives
    - FTP
    - Open API
    Planned features:
    - Linux and Mac OS X implementations
    - Enhancements for Java developers
    - just ask � and we'll do it :)
    The most important keys to start:
    Alt-F1, Alt-F2 � change drive
    Ctrl-T � open new file tab
    Ctrl-O � open new console
    F4 � edit file under cursor
    Ctrl-W � close tab
    <any symbol in file panel> � start incremental search
    Ctrl-F � start incremental search in editor and console output
    Alt-Up, Alt-Down � go to next/previous item in selection, search results etc.
    Alt-Left, Alt-Right � go to next/previous tab
    You can use Button Bar at the bottom to figure out the most important key combinations yourself. It automatically changes state according to current location and modifier key pressed (Ctrl, Alt, Ctrl+Alt),
    Hetman�s Open API has been designed to enable adding features easily and quickly. You can develop your own implementation of the file system that will be fully supported by Hetman.
    We are focused to bring Java applications to desktop. Hetman is our first attempt in this direction. We invite you to download EAP (Early Access Program) Hetman�s version for testing and evaluation. Your opinion is what matters most to us.
    You can read more about Hetman at http://www.myhetman.com.
    Early Acess Program page: http://www.myhetman.com/download/eap.html
    Should you have any questions or comments, please don�t hesitate to contact us at [email protected].
    Best regards,
    Hetman Team

    You know, I think I'll make it a personal policy to never look at anything that someone dumps an ad for in the formums.

  • How to bind the java client stub and the C++ server's skeleton?

    hi, i'm currently working on a project which a java client invoke a C++ object.
    i've wrote the idl and compile it using idl2cpp and a object is created.
    then i try to compile my java client using vbjc Client. it was done without errors.
    but when i try to run the client (after i run the smart agent and the C++ server) using vbj Client, it promts error which fail to load the class Client.java
    and i've try to run my java client using jre (java Client), the program throws exception --> org.omg.CORBA.BAD_PARAM: minor code: 0 completed: No
    so, wat's wrong with my codes actually??
    it's urgent and i really need you all's help...
    thanks a lot...

    below is my code:
    TimeObject.cpp (C++ server)
    #include "TimeImpl.h"
    // USE_STD_NS is a define setup by VisiBroker to use the std namespace
    USE_STD_NS
    int main(int argc, char* const* argv)
    try {
    // Initialize the ORB.
    CORBA::ORB_ptr orb = CORBA::ORB_init(argc, argv);
    /* // Initialize the BOA
    CORBA::BOA_ptr boa = orb->BOA_init(argc, argv);
    // Create the Time object
    POA_Time::TimeSetting timesetting = new TimeSettingImpl("My TimeSetting");
    // Export the newly created object
    boa->obj_is_ready(timesetting);
    // Ready to service requests
    boa->impl_is_ready(); */
    // get a reference to the root POA
    CORBA::Object_var obj = orb->resolve_initial_references("RootPOA");
    PortableServer::POA_var rootPOA = PortableServer::POA::_narrow(obj);
    CORBA::PolicyList policies;
    policies.length(1);
    policies[(CORBA::ULong)0] = rootPOA->create_lifespan_policy(
    PortableServer::PERSISTENT);
    // get the POA Manager
    PortableServer::POAManager_var poa_manager = rootPOA->the_POAManager();
    // Create myPOA with the right policies
    PortableServer::POA_var myPOA = rootPOA->create_POA("sntp_poa",
    poa_manager,
    policies);
    // Create the servant
    TimeSettingImpl timeServant;
    // Decide on the ID for the servant
    PortableServer::ObjectId_var managerId =
    PortableServer::string_to_ObjectId("TimeManager");
    // Activate the servant with the ID on myPOA
    myPOA->activate_object_with_id(managerId, &timeServant);
    // Activate the POA Manager
    poa_manager->activate();
    CORBA::Object_var reference = myPOA->servant_to_reference(&timeServant);
    cout << reference << " is ready" << endl;
    // Wait for incoming requests
    orb->run();
    catch(const CORBA::Exception& e) {
    cerr << e << endl;
    return 1;
    return 0;
    Client.java:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class Client
         public static void main(String args[]) throws IOException, InterruptedException
              try
                   // Initialize the ORB
                   System.out.println("Initializing the ORB");
                   org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null);
                   // Get the manager Id
                   byte[] managerId = "TimeManager".getBytes();
                   System.out.println("get the manager id");
                   // Locate an account manager. Give the full POA name and the servant ID.
                   Time.TimeSetting time =
                   Time.TimeSettingHelper.bind(orb, "/sntp_poa", managerId);
                   System.out.println("bind the object");
                   // Bind to the TimeSetting Object
                   //System.out.println("Binding to TimeSetting Object");
                   //Time.TimeSetting time = Time.TimeSettingHelper.bind(orb, "My TimeSetting");
                   SntpClient client = new SntpClient();
                   long Offset = client.synchronizeTime();
                   // Set offset
                   System.out.println("Setting offset to" + Offset);
                   time.offset((long)Offset);
                   // Set the system time
                   System.out.println("Setting system time");
                   time.SetTime();
              } catch (org.omg.CORBA.SystemException e)
                   System.out.println("System Exception");
                   System.err.println(e);

  • 10g JTree binding causes java.lang.nullpointerexception

    I would create an explorer desktop application that use a Jtree for navigation. I have created a java application containing a frame, a splitpane, a scrollpane and put a jtree data control from the data control palette. I have setted some new rules with the property inspector to set the tree correctly. All seem ok but when i run the application i got an java.lang.nullpointerexception. my build is 1547.
    java.lang.NullPointerException
         at oracle.jbo.uicli.jui.JUPanelBinding.bindUIControl(JUPanelBinding.java:799)
         at FinancingBillExplorer.FBDesktopFrame.jbInit(FBDesktopFrame.java:113)
         at FinancingBillExplorer.FBDesktopFrame.<init>(FBDesktopFrame.java:57)
         at FinancingBillExplorer.FinancingBillDesktopApplication.<init>(FinancingBillDesktopApplication.java:13)
         at FinancingBillExplorer.FinancingBillDesktopApplication.main(FinancingBillDesktopApplication.java:50)
    Process exited with exit code 0.

    FBYearTreeView1 is the tree data control representation of the view object. See code below.
    <DCContainer
    id="FBDesktopFrameUIModel"
    xmlns="http://xmlns.oracle.com/adfm"
    Package="FinancingBillExplorer"
    FindMode="false"
    EnableTokenValidation="true" >
    <Contents >
    <DCIterator
    id="FBYearTreeView1Iterator"
    Binds="AppModuleFinancingBillTreeDataControl.FBYearTreeView1"
    RangeSize="10" >
    </DCIterator>
    <DCControl
    id="FBYearTreeView1"
    DefClass="oracle.jbo.uicli.jui.JUTreeDef"
    SubType="DCTree"
    IterBinding="FBYearTreeView1Iterator"
    ApplyValidation="false"
    isDynamic="false"
    ShowsRootHandles="false" >
    <AttrNames>
    <Item Value="Fbyear" />
    </AttrNames>
    <JUCtrlHierTypeBinding
    DefClass="oracle.jbo.uicli.binding.JUCtrlHierTypeBinding"
    SubType="DCTree"
    ApplyValidation="false"
    isDynamic="false"
    DefName="e_Asylum.model.FBYearTreeView"
    DTViewInstanceName="AppModuleFinancingBillTreeDataControl.FBYearTreeView1" >
    <Contents >
    <Accessors>
    </Accessors>
    </Contents>
    <AttrNames>
    <Item Value="Fbyear" />
    </AttrNames>
    </JUCtrlHierTypeBinding>
    </DCControl>
    </Contents>
    </DCContainer>

  • Early problems with Java on my Macbook.

    Hi, I am a former high school computer science student and I'm having problems with Java as I've recently moved from Windows to a Mac. The following is a letter I wrote to my prior computer science teacher but he does not seem to be responding. I think all you need to know is that DrawHouse and JumpingJacks are simple Java programs we made in class that utilize an object called DrawingTool (which is a graphics environment). DrawingTool is contained in gpdraw.jar and also was contained in our class' apcslib.jar. Also, FileInput is a class contained in apcslib.jar.
    I basically transferred all my JAR files (apcslib.jar, etc.) from my Windows computer to my Mac. I didn't think anything was wrong or corrupted with them because they're the same JAR files that I used for my Java programs on my Windows comp in high school and when I run those Java programs now, they still work. But for some reason if I try to run, say, DrawHouse or JumpingJacks with those same programs on my Macbook, it gives me the following errors on runtime (it compiles fine).
    Exception in thread "main" java.lang.NullPointerException
         at apcslib.DrawingTool.move( DrawingTool.java:456)
         at java.awt.Component.setLocation( Component.java:1705)
         at java.awt.Window.init( Window.java:289)
         at java.awt.Window.<init>( Window.java:318)
         at java.awt.Frame.<init>( Frame.java:419)
         at java.awt.Frame.<init>( Frame.java:384)
         at javax.swing.JFrame.<init>( JFrame.java:150)
         at apcslib.DrawingTool.<init>( DrawingTool.java:45)
         at apcslib.DrawingTool.<init>( DrawingTool.java:106)
         at JumpingJacks.main( JumpingJacks.java:35)
    So I thought, maybe I'm not importing the JAR files correctly. But if I import gsdraw.jar or a different apcslib.jar that I downloaded from some random teacher's website on the internet (and that also happens to have DrawingTool in it) then it compiles and runs fine. So I thought, ok, maybe it's a problem with this one particular apcslib.jar that I transferred from my Windows computer. But like I said, DrawHouse and JumpingJacks run fine on my windows comp, and most ridiculous of all, I tried running Tasmania on my Macbook (which uses the FileInput class from your apcslib.jar) and THAT works fine! So to recap, I'm not importing the JAR files wrong and at times there doesn't seem to be anything wrong with the apcslib.jar you gave us and probably not anything wrong with my IDE, seeing that importing of other JAR files works fine (I'm using eclipse and/or xcode, and the same problem occurs with both). Now of course, I could just go ahead and use the apcslib that I downloaded from the internet, but it's very inconvenient since it doesn't match your own apcslib's contents (for example, it doesn't have FileInput). By the way, I've also tried adding the JARS directly to the Java Extensions instead of importing them as external JARS, but that doesn't solve the problem. I've also attached the apcslib.jar in case you think that it's somehow corrupted or something....
    Do you have any idea about what could be wrong or where I should go from here?
    Thanks for all your help!
    Bryan Huh

    Thanks for the reply, but if it is a problem with how
    I'm using DrawingTool, then shouldn't it run with
    errors on my Windows comp too?Maybe, maybe not. If you're doing something that's correct on one but not the other - using file names for Windows on Linux Mac), for instance.
    The same EXACT source
    code will compile and run fine on my Windows comp,
    but run with errors on my Macbook. And if it's a bug
    with DrawingTool, then shouldn't my Windows comp also
    encounter the problem and run with errors?No. the DT programmer could have done the same thing, using code that's correct on Windows but not on Linux. Or there could be a difference in the Java versions on the couputers and code that's valid in the later version is failing in the earlier, or vice versa.

  • Early sat. morning java enabled a new update internally. now I can't get on BNSF website , it says not verified by a trusted source. Is there a patch or fix for this for mac lion system

    BNSF help desk says it was an internal update by java and mac users won't be able to use firefox to log on. The update changed things for mac users. The window that popped up said sun.security validator exception. MD2 with RSA disabled. Cannot be verified by trusted source. I really need this web site for my work. I'm also computer illiterate. Is there some kind of patch or fix for mac lion. HELP.

    That file could be set as a Launch Agent or Daemon in your ~/Library or /Library, You could try to look for it or Safeboot your computer and then empty the trash. Safebooting disables Launch Agents/Daemon and Third Party Kernal extensions. Here's the article to Safeboot OS X: What is Safe Boot, Safe Mode? - Apple Support

  • JAXB External Binding to java.util.Collection

    Hi,
    By default jaxb converts xsd:sequence to java.util.List. Is there any way to specify that during compilation it will use java.util.Collection instead of List?
    TIA,
    Herculeus
    Edited by: herculeus on May 19, 2009 2:12 PM

    repost

  • Dynamic binding in java

    I have say 2 classes - A and B which has the method doSomething()
    I have an array of objects - Object[] obj wihch has both A and B.
    How can i invoke doSomethin() of the respective class without any hard coding or typechecking inside the loop.

    Reflection is not the way to go (though its the
    answer for the way you framed your question.) The
    proper way is to create an interface and implement
    that interface on both of those objects. Then cast
    to the interface.
    interface Aninterface {
    public void doSomething();
    class A implements Aninterface {
    public void doSomething(){
    //something in A fashion
    class B implements Aninterface {
    public void doSomething(){
    //something in B fashion
    class Mainclass {
    public static void main(String [] params) {
    Aninterface [] objs = getObjects();
    objs[0].doSomething();
    objs[1].doSomething();
    Aninterface [] getObjects() {
    Classloader cl = new URLClassloader(new []
    URL{new URL("path.to.jar.with.classes")};
    Class a = cl.loadclass("A");
    Class b = cl.loadclass("B");
    return new Aninterface [] {(Aninterface
    )a.newInstance(),(Aninterface )b.newInstance()};
    }This is the proper way of handling dynamic class
    loading in Java. The getObjects method would load
    those classes dynamically as needed. It only knows
    the classes by their interface Aninterface. The
    actual classes A and B are never imported into the
    main program and are not on the classpath at compile
    time.why is that more 'proper' than using reflection? it's the better solution, if you're in a position to do so, but we can't always dictate that classes will implement a particular interface, especially if we're working with third-party code

  • Dynamic Class Binding in Java

    Hi,
    I have a pecular problem, that needs a solution.
    I have client (rajah.chandan.Client), once loded connects to a server and compares it version infor mation with that of the server. If there is a version mismatch, my client gets the latest .jar file.
    Now, the problem:
    My, requirements is that once I get the .jar file, I have to load the new version of rajah.chandan.Client. How do I do this? Can I retain the current state of rajah.chandan.Client? How do I use the Java class loader to do this?
    Cheers,
    --- Chandan !!!!!!!!!!!!!1

    You can't load a new version of the class which is the main class, i.e you invoked it as java <main class>.
    So your rajah.chandan.Client cannot be the one with the main() function.
    The main should be in another class, say ClientMain.
    From the ClientMain class, you can load multiple versions of rajah.chandan.Client. Check out URLClassLoader to load new versions of classes.

Maybe you are looking for

  • Row Level Security - Data filter - Roles Variable Not working in OBIEE 11.1.1.7.1

    Hi all, Previously, we were using OBIEE 11.1.1.5.0 and we were able to assign users to application roles by using the initialization block to assign the ROLES session variables. 1. My USER_SECURITY table in Oracle database: USER_NAME | USER_ID | ROL

  • Provide Multi Language Content in Knowledge Management blank page

    Hi Team, I have followed the document above from Thomas Kuri, but the result was an empty page with "jj" as text without errors. My case (SAP NetWeaver Portal 7.0): 1) I have two folders: "/documents/myCompany/de" with documents written in German and

  • BC4J;DataTags;Multiple Records

    Hi All! Can anyone suggest me how can I insert multiple records to a database if i am using a insert form with input data tags. Can i have a workaround to the problem of having a default empty row to create a insert JSP page using datatags. null

  • I am not able to deauthorize my windows box

    I have Itunes 7.02 on two windows XP machines and I want to deauthorize one of them. However, every time that I do so I am told that I am using the wrong user ID or password. I have tried this on both machines and I get the same result. I even went a

  • Help! How do I get a JLabel's location?

    Hi! I need to get a JLabel's location to correctly position a rectangle at that position. Doing a getLocation() or a getBounds.getX() returns only a 0. Thank you Priya