Help to Compile the B1DE Source Code

Hi Experts,
I downloaded the B1DE 2.1 for 2007A source code. I need a template for SAP Wizard Installer for VS2010, Can you please help me on how to recompile the B1AddOnInstallerNETWizard so that i can have a new template for VS2010 for B1DE. Thanks
Ben

For example, the native methods, for instance,
socketcreate() ,are dependent upon the default socket
implementation. If the system contained more than one
socket implementations, how would I make the javac to
use my required implementation????
OKay, we just seem to be going in circles here.
First of all, please, give up this idea. Even if you make these changes and get it to compile you are not going to be able to redistribute this application. So it's a non-starter.
So let us move on to trying to actually solve your problem. What exact problem are you having? What are these "other" socket implementations that you need/want?
Please give some details about the problem you trying to solve.

Similar Messages

  • Help in understanding the MouseRotate Source code.(Source code attached)

    Hi
    I am trying to understand the code here in the class below. The description says MouseTranslate is a Java3D behavior object that lets users control the
    translation (X, Y) of an object via a mouse drag motion with the third mouse button (alt-click on PC). See MouseRotate for similar usage info I was able to locate the isAltDown() and isMetaDown conditions. But could not figure out where is the condition (evt.getButton() == MouseEvent.Button1) is being checked.
    I have spent too much time on this, any help is greatly appreciated.
    Thanking you
    Venkat
    package com.sun.j3d.utils.behaviors.mouse;
    * MouseTranslate is a Java3D behavior object that lets users control the
    * translation (X, Y) of an object via a mouse drag motion with the third
    * mouse button (alt-click on PC). See MouseRotate for similar usage info.
    public class MouseTranslate extends MouseBehavior {
        double x_factor = .02;
        double y_factor = .02;
        Vector3d translation = new Vector3d();
        private MouseBehaviorCallback callback = null;
         * Creates a mouse translate behavior given the transform group.
         * @param transformGroup The transformGroup to operate on.
        public MouseTranslate(TransformGroup transformGroup) {
         super(transformGroup);
         * Creates a default translate behavior.
        public MouseTranslate(){
         super(0);
         * Creates a translate behavior.
         * Note that this behavior still needs a transform
         * group to work on (use setTransformGroup(tg)) and
         * the transform group must add this behavior.
         * @param flags
        public MouseTranslate(int flags) {
         super(flags);
         * Creates a translate behavior that uses AWT listeners and behavior
         * posts rather than WakeupOnAWTEvent.  The behavior is added to the
         * specified Component. A null component can be passed to specify
         * the behavior should use listeners.  Components can then be added
         * to the behavior with the addListener(Component c) method.
         * @param c The Component to add the MouseListener
         * and MouseMotionListener to.
         * @since Java 3D 1.2.1
        public MouseTranslate(Component c) {
         super(c, 0);
         * Creates a translate behavior that uses AWT listeners and behavior
         * posts rather than WakeupOnAWTEvent.  The behaviors is added to
         * the specified Component and works on the given TransformGroup.
         * A null component can be passed to specify the behavior should use
         * listeners.  Components can then be added to the behavior with the
         * addListener(Component c) method.
         * @param c The Component to add the MouseListener and
         * MouseMotionListener to.
         * @param transformGroup The TransformGroup to operate on.
         * @since Java 3D 1.2.1
        public MouseTranslate(Component c, TransformGroup transformGroup) {
         super(c, transformGroup);
         * Creates a translate behavior that uses AWT listeners and behavior
         * posts rather than WakeupOnAWTEvent.  The behavior is added to the
         * specified Component.  A null component can be passed to specify
         * the behavior should use listeners.  Components can then be added to
         * the behavior with the addListener(Component c) method.
         * Note that this behavior still needs a transform
         * group to work on (use setTransformGroup(tg)) and the transform
         * group must add this behavior.
         * @param flags interesting flags (wakeup conditions).
         * @since Java 3D 1.2.1
        public MouseTranslate(Component c, int flags) {
         super(c, flags);
        }Rest of the code follows in the next post

        public void initialize() {
         super.initialize();
         if ((flags & INVERT_INPUT) == INVERT_INPUT) {
             invert = true;
             x_factor *= -1;
             y_factor *= -1;
         * Return the x-axis movement multipler.
        public double getXFactor() {
         return x_factor;
         * Return the y-axis movement multipler.
        public double getYFactor() {
         return y_factor;
         * Set the x-axis amd y-axis movement multipler with factor.
        public void setFactor( double factor) {
         x_factor = y_factor = factor;
         * Set the x-axis amd y-axis movement multipler with xFactor and yFactor
         * respectively.
        public void setFactor( double xFactor, double yFactor) {
         x_factor = xFactor;
         y_factor = yFactor;   
        public void processStimulus (Enumeration criteria) {
         WakeupCriterion wakeup;
         AWTEvent[] events;
         MouseEvent evt;
    //      int id;
    //      int dx, dy;
         while (criteria.hasMoreElements()) {
             wakeup = (WakeupCriterion) criteria.nextElement();
             if (wakeup instanceof WakeupOnAWTEvent) {
              events = ((WakeupOnAWTEvent)wakeup).getAWTEvent();
              if (events.length > 0) {
                  evt = (MouseEvent) events[events.length-1];
                  doProcess(evt);
             else if (wakeup instanceof WakeupOnBehaviorPost) {
              while (true) {
                  // access to the queue must be synchronized
                  synchronized (mouseq) {
                   if (mouseq.isEmpty()) break;
                   evt = (MouseEvent)mouseq.remove(0);
                   // consolodate MOUSE_DRAG events
                   while ((evt.getID() == MouseEvent.MOUSE_DRAGGED) &&
                          !mouseq.isEmpty() &&
                          (((MouseEvent)mouseq.get(0)).getID() ==
                        MouseEvent.MOUSE_DRAGGED)) {
                       evt = (MouseEvent)mouseq.remove(0);
                  doProcess(evt);
         wakeupOn(mouseCriterion);
        void doProcess(MouseEvent evt) {
         int id;
         int dx, dy;
         processMouseEvent(evt);
         if (((buttonPress)&&((flags & MANUAL_WAKEUP) == 0)) ||
             ((wakeUp)&&((flags & MANUAL_WAKEUP) != 0))){
             id = evt.getID();
    *         if ((id == MouseEvent.MOUSE_DRAGGED) && !evt.isAltDown() && evt.isMetaDown()) { *
              x = evt.getX();
              y = evt.getY();
              dx = x - x_last;
              dy = y - y_last;
              if ((!reset) && ((Math.abs(dy) < 50) && (Math.abs(dx) < 50))) {
                  //System.out.println("dx " + dx + " dy " + dy);
                  transformGroup.getTransform(currXform);
                  translation.x = dx*x_factor;
                  translation.y = -dy*y_factor;
                  transformX.set(translation);
                  if (invert) {
                   currXform.mul(currXform, transformX);
                  } else {
                   currXform.mul(transformX, currXform);
                  transformGroup.setTransform(currXform);
                  transformChanged( currXform );
                  if (callback!=null)
                   callback.transformChanged( MouseBehaviorCallback.TRANSLATE,
                                     currXform );
              else {
                  reset = false;
              x_last = x;
              y_last = y;
             else if (id == MouseEvent.MOUSE_PRESSED) {
              x_last = evt.getX();
              y_last = evt.getY();
         * Users can overload this method  which is called every time
         * the Behavior updates the transform
         * Default implementation does nothing
        public void transformChanged( Transform3D transform ) {
         * The transformChanged method in the callback class will
         * be called every time the transform is updated
        public void setupCallback( MouseBehaviorCallback callback ) {
         this.callback = callback;
    }

  • How to read the Java source code (in Netbeans)

    I use OS X10.5.5, NetBeans 6.1 and JSE 6 on a 64 bit mac.
    When I downloaded NB6.1 it had JSE 5 as it's default (and only) java platform. I ran Software Update to get Java 6 from Apple, used the Java Prefrences utitlity to set JSE6 as default. In NB I added the JDK6 platform, registered the JDK6 javadocs and noticed that I also have the option of registering the Java source code.
    I have three questions:
    1) How do I make JDK6 the default in NetBeans. The JDK5 keeps being default after I did the steps above and I don't see anywhere to change that.
    2) How do I read the Java 6 source code? I can see sun provides [source code| http://download.java.net/jdk6/] for their supported platforms. I dont see Apple doing the same for its JDK port. What would I need to do to get to read the java SE6 sources? or is it actually hiding somewhere in the /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home hierarchy?
    3) Where does the JVM look for the binary code to run when I make a call to, say java.util.ArrayList or any other library. In my naivety I would have assumed it would be a .class file somewhere in the java Home folder, but I don't see anything like it.
    thanks in advance,
    chris

    This is taken from the help included with netbeans. In response to question 1.
    By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform
    for compilation, execution, and debugging. You can view your IDE's JDK version by choosing Help > About and clicking the
    Detail tab. The JDK version is listed in the Java field.
    You can run the IDE with a different JDK version by starting the IDE with the --jdkhome jdk-home-dir switch on the command line
    or in your IDE-HOME/etc/netbeans.conf file. For more information, see IDE Startup Parameters.
    In the IDE, you can register multiple Java platforms and attach Javadoc and source code to each platform. For example, if you
    want to work with the new features introduced in JDK 5.0, you would either run the IDE on JDK 5.0 or register JDK 5.0 as a
    platform and attach the source code and Javadoc to the platform.
    In  , you can switch the target JDK in the Project Properties dialog box. In  , you have to set the target JDK in the Ant script itself,
    then specify the source/binary format in the Project Properties dialog box.
    To register a new Java platform:
    Choose Tools > Java Platforms from the main window.
    Click New Platform and select the directory that contains the Java platform. Java platform directories are marked with a  
    in the file chooser.
    Use the Sources and Javadoc tabs to attach Javadoc documentation and source code for debugging to the platform.
    Click Close.
    To set the default Java platform for a standard project:
    Right-click the project's root node in the Projects window and choose Properties.
    In the Project Properties dialog box, select the Libraries node in the left pane.
    Choose the desired Java platform in the Java Platform combo box.
    Switching the target JDK for a standard project does the following:
    Offers the new target JDK's classes for code completion.
    If available, displays the target JDK's source code and Javadoc documentation.
    Uses the target JDK's executables (javac and java) to compile and execute your application.
    Compiles your source code against the target JDK's libraries.
    If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
    Then click the Add Platform button and navigate to the desired platform.
    To set the target Java platform for a free-form project:
    In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.
    Right-click the project's root node in the Projects window and choose Properties.
    In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.
    When you access Javadoc or source code for JDK classes, the IDE searches the Java platforms registered in the
    Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead.
    See Also
    Managing the Classpath
    Declaring the Classpath in a Free-Form Project
    Stepping Through Your Program
    Legal Notices

  • How to get the HTML Source code from the active browser ?

    Hi All,
    I need to get the HTML Source code from the active browser (IE). I tried with the below code, but I am not able to get the Source code all the time, with respect to the different applications (http or https) and the user authentication has to be changes in few applications (_I dont know or not able to given that in the below code_). More over there is also a dependence of the URL to get the HTML Source code.
    Therefore what I feel is getting the HTML Source code from the given or active browser will be consistent than the URL. Since the Source code is available in the browser (IE) . Please help me with a sample code to achieve this . . . !
    HTMLDocument doc=(HTMLDocument) kit.createDefaultDocument();
    doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
    URL url = new URL(strURL);
    Reader HTMLReader = new InputStreamReader(url.openConnection().getInputStream());
    kit.read(HTMLReader, doc, 0);Thanks in advance,
    Regards,
    Jothi Venkatachalam
    Edited by: j0o on May 7, 2009 3:11 AM

    The simple answer is: you don't.
    Not only is it simply not possible, but the entire concept of "the active browser" doesn't exist.
    You were on the right track with your code to retrieve the page directly from the server, but as you noticed that code will only work for regular http connections.
    For https and other protocols you will need to use appropriate libraries for each protocol. Something like Apache Commons can help you with that. There are networking libraries in there for a lot of commonly used protocols.

  • Can someone help me find the JavaMail example code?

    Hello, once I found a collection of source code files that contained example code for using the JavaMail API. Now I cannot find the collection. Is it still online? Can anyone help me find the JavaMail example code? Sorry if this question seems to easy - I've been searching for a while now without success.
    Thanks in advance,
    Paul Humphrey

    Really? You can't find it? My answer above wasn't
    clear? And this FAQ entry didn't help?
    http://java.sun.com/products/javamail/FAQ.html#examples
    Please, tell me how I could make the answer more clear to you...

  • How and where can I get the hotjava source code?

    Hello.
    I would like to get the hotjava source code..
    How and where can I have it?
    Thanks for your help.

    Ah, Lion manuals are online only.  I'll have to wait until I get my MBP then.  I hope that works for Apple?  But it won't stop me from asking some questions.
    Is there a great deal of difference between Leopard and Lion?

  • How can I get the XSLT source code?

    How can I get the XSLT source code?

    Actually, I want to parse customer reviews for academic purpose.
    I'm trying to follow the links in the customer reviews zone.
    For example:
    In the following page
    http://www.amazon.com/gp/product/customer-reviews/B000LU8A7E/sr=1-1/qid=1180473311/ref=cm_cr_dp_all_helpful/102-2890495-8864146?ie=UTF8&n=1065836&qid=1180473311&sr=1-1#customerReviews
    in the "customer reviews" section, there is a link "next" that gets the next 10 reviews.
    The thing is that I don't know how to imitate its action using java and actually, I'm not sure if it is possible to do that using software.
    I tried to look at the source code that I got using the previous java code I posted and I see that the next link always has the following href attributes "http://www.amazon.com/gp/product/customer-reviews/B000LU8A7E"
    I tried to see if there is any javascript that tells the page which 10 reviews to get but with no success.
    So if anyone knows how to imitate the next link action using software that will sure help me a lot.
    Thanks in advance

  • How to force CoreDump in the Kernel source code

    Hi,
    Anyone know, how to force coredump in the Kernel source code?. And also to collect all information related to CPU Registers, CPU IRAM, Cache Data and complete SDRAM content.

    pull your RAM out....
    Wouldn't recommend doing that really...... And why would you want to cause a kernel panic?
    EDIT: Spelling sucked...
    Last edited by crankyadmin (2009-09-28 22:02:14)

  • How to read the html source code of a webpage.

    How can I read the html source code of a webpage with a java application?
    Is there a good idea?

    >
    How can I read the html source code of a webpage
    with a java application?
    Is there a good idea?
    I don't know if this is a good idea, but it works.
    1) Use a URL to obtain the document's location
    2) Use a URLConnection to open a connection between your computer and the
    document server
    3) Connect to the server
    4) Get the InputStream of said connection
    5) Associate the Input Stream with a Buffered Input Stream
    At this point you can use a loop to read lines from the BufferedInput Stream and append them to a TextArea or other suitable text component.

  • View the html source code of an apex page

    Hi everyone,
    I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me.
    Has anyone an idea how it can this be possible?
    Best regards,

    Khadija Khalfallah wrote:
    Hi everyone,
    I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me. What do you mean?
    Do you want to be able to pull up the HTML source generated by Apex, modify that copy, and then feed it back into Apex with the chagnes you made? If so you can't. Apex generates the HTML through its tools and you have to modify the generation routines to get different HTML.
    Do you merely want to look at the generated HTML? In Internet Explorer all you have to do is right click on the page and choose View Source to open a window with the HTML source in an editor. I sometimes find it useful to save a page and manually edit the copy to immediately see the effects of certain changes to the underlying HTML and/or Javascript without permanantly making the change in Apex.

  • Are we allowed to use the Web developer function in Firefox version 5.0 to edit the html source code associated with the Firefox home page?

    Locking at request of OP - https://support.mozilla.com/en-US/questions/844506
    Are we allowed to use the Web developer function, under the "Firefox" tab in Firefox version 5.0, to edit the html source code associated with the Firefox version 5.0 home page ( so that we can personalize the home page )? Is this legal?
    Sincerely in Christ,
    Russell E. Willis

    Solution: (Free Download Manager)
    Go here: http://codecpack.co/download/Free_Download_Manager.html and download Free Download Manager 3.8.1067 Beta 3, it works perfectly with Firefox 5.0.1
    Solution: (to Google mail aka Gmail)
    I have had this problem for a while since I did a previous Firefox update, where I had to force Gmail to load in Basic HTML else it's next to impossible to use it. The solution is this: simply update your Java, and Gmail will work without a problem using Standard HTML. To update your Java go here: http://www.java.com/en/ and select "Free Java Download".
    And beta normally, universally, means "the not quite there yet version of the version we're aiming for" NORMALLY used during production and testing of a type of software.

  • How to edit the html source code for my site

    I have just started a blog, and am VERY new to it. I am trying to edit the html source code on my site (ie, to insert google adsense search bars). I go to my blog site, get to page source and see the html but I am not able to edit it. Not sure what I am doing wrong. Thanks!

    You can use any editor you want mine is set up for notepad.exe
    :see http://dmcritchie.mvps.org/firefox/firefox.htm#notepad
    :to invoke use "Ctrl+U" or View > Page Source
    :this is for sites that you maintain on your local drives or servers, and copy over to a website.

  • Retrieve the hided source code

    hi all.
           I have hided the source code of a program by appending the program to a internal table and inserting   '*@#@@[SAP]'  to the internal table at in dex one its working well. My task is to retrieve the hided source code of the program in the same name itself...

    Hi,
    It is not possible to make any changes; you have to delete and recreate the program from scratch.
    I hope you saved a backup copy of the source code, otherwise you could re-import the transport requests that contain your source code, a kind of versione restore.
    Regards,
    Andrea

  • How do I delete the html source code

    I found the html source code, selected it but am not able to delete it so I can put in my own code. I am using firefox

    Could you describe in more detail what file it is. Is this a page on a website that you are editing, or a page on your computer you use as your home page, or some other page?

  • How can I download the full source code for the Java 3D package

    how can I download the full source code for javax.media.j3d
    especially I need the Transform3D.java class.
    thanks a lot
    Meir

    thank you guys I'll try to do so, I suggest you to
    join me.From the one of the (ex-!)Java3D team:
    "I'm glad to see that Sun has decided to officially support an
    open source Java/OpenGL binding, JOGL. Perhaps they will
    eventually decide to make Java 3D open source. However, be
    careful what you wish for. The Java 3D source is huge and
    complex. There are native sections for Solaris, Windows/OpenGL,
    and Windows/Direct3D, plus common code. I don't know how you'd
    open source a build process that requires different pieces of
    the code be built on different machines running different
    operating systems."
    Sounds scary - I hope we're ready for it :)

Maybe you are looking for

  • Sorting the nodes of a JTree

    Can anyone tell me how to go about sorting the nodes in a JTree?

  • Working off a remote harddrive

    Please could someone tell me is it possible to keep all my photos on a remote harddrive and then organise, edit etc them using photoshop elements 4.0 on windows vista? Ideally i would like to work off my remote hard drive (with all the photos on) and

  • VPN not staying connected via WRT54G - 619 error

    Hi All, I have spent several hours reading thru all the old posts on VPN & 619 issues and cannot seem to resolve the problem.  Any help would be much appreciated! Issue - I can connect to the VPN via the wireless router, but after a minute or so the

  • Cannot update to iTunes 10.7 on Windows 7

    When I go to update iTunes, it says there are issues and I would have to go to Tools > Download Only. I can't find that option (I'm on iTunes 10.6.1.7) but I assume it wouldn't work because the guys on different discussions/forums all said it doesn't

  • EjbCreate() called multiple times

    I have a Bean Managed Persistence Entity Bean that is deployed on iAS6 sp4 (Solaris). I am having problems with the persistence, or lack of, of the bean. I am new to entity beans but not Java or iPlanet. My first problem is after I call my custom fin