Java - Windows NT  TO Mac

Hi
If i develop an application on Windows NT using Java 1.3 , can i use the same application on Mac.
Thanks

If i develop an application on Windows NT using Java
1.3 , can i use the same application on Mac.Presuming that version of java is available on the Mac OS version that you want to run on. And that you have tested it first on the Mac (there are always differences.)

Similar Messages

  • Java windows slip under menu bar, how to move?

    Hi, I have accidently dragged some Java windows beneath the (transparent) menu bar.
    Safari browser windows do not slip under the menu bar, but those created by a Java application can slide beneath it, up to the edge of the screen...just far enough to make accessing their title bars impossible. I'm able to resize the Java windows by dragging their accessible edges but I am unable to click on their title bars in order to drag them back down beneath the menu bar.
    How can I click upon title bars or resize these windows to lower them in desktop space, so their title bars are lower than the menu bar? I am currently unable to drag or click upon their obscured title bars to move these windows. Is there another way to move windows without clicking upon their title bars?
    thanks

    apparently there is a third party app called windowsmover or something like that
    do a google search for "windows mac os move shortcut keyboard"
    to answer my own post

  • What are the security implications of having JAVA running on my Mac Book Pro?

    What are the security implications of having JAVA running on my Mac Book Pro?

    Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was always a bad idea, and Java's developers have proven themselves incapable of implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style virus affecting OS X. Merely loading a page with malicious Java content could be harmful.
    Fortunately, client-side Java on the Web is obsolete and mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice. Forget about playing games or other non-essential uses of Java.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it — not JavaScript — in your browsers.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a task on a specific site, enable Java only for that site in Safari. Never enable Java for a public website that carries third-party advertising. Use it only on well-known, login-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.

  • Integerating objective c with java through JNI in MAC

    Hi,
    I hv some code in objective c and i hv to call some methods from java code. So i want to use JNI interface for that.
    Could any body give me refrence on how to go about it. I know little bit about integerating c code and java thorugh jni on windows.
    Thanks in advace.
    Regards,
    Prashant

    you need to create dll using vc++ or Borland compiler
    i will try to help you out.
    //mac.java
    class mac
        public native void getMac();
        private native String getLine(String prompt);
        static {
         System.loadLibrary("myMac");//This is myMac.DLL
         /*if generated by borland
         System.loadLibrary("mymac");//This is mymac.dll
         public static void main(String[] args)
        mac mc=new mac();
        String input = mc.getLine("Enter Some Thing ");
        System.out.println("You Entered " + input);
        System.out.println(mc.getMac());
    }prompt> javac mac.java
    prompt> javah -jni mac
    Borland compiler
    /*mymac.c*/
    #include <jni.h>
    #include "mac.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL
    Java_mac_getMac(JNIEnv *env, jobject obj)
        printf("I am in  getmac dir in mymac.dll (Borland) \n");
        return;
    JNIEXPORT jstring JNICALL
    Java_mac_getLine(JNIEnv *env, jobject obj, jstring enter)
        char buf[128];
        const char *str = (*env)->GetStringUTFChars(env, enter, 0);
        printf("%s", str);
        (*env)->ReleaseStringUTFChars(env, enter, str);
        scanf("%s", buf);
        return (*env)->NewStringUTF(env, buf);
    }To generate DLL
    create bcc32.cfg file in %BORLAND_INSTALL%/BCC5/bin Folder
    In the bcc32.cfg file add following code
    -I"%BORLAND_INSTALL%\BCC55\include;%JAVA_HOME%\include;%JAVA_HOME%\include\win32"
    -L"%BORLAND_INSTALL%\BCC55\lib;%BORLAND_INSTALL%\BCC55\Lib\PSDK;"
    i.e the path for borland compiler and java.
    now goto prompt and say
    prompt>bcc32 -tWM -tWD mymac.c
    This will create mymac.lib File
    Now say
    prompt>implib -c mymac.lib mymac.dll
    That's it!!
    there you are with dll
    Now you can run the mac.class file by using java
    VC++
    Click File->New->Win32Dynamic-Link Library
    Give name and Select
    A simple DLL project
    You will have
    myMac.CPP file
    // myMac.cpp : Defines the entry point for the DLL application.
    #include "stdafx.h"
    #include "mac.h"
    #include "jni.h" //can copy or give full path
    #include <math.h>
    BOOL APIENTRY DllMain( HANDLE hModule,
                           DWORD  ul_reason_for_call,
                           LPVOID lpReserved
        return TRUE;
    JNIEXPORT void JNICALL
    Java_mac_getMac(JNIEnv *env, jobject obj)
        printf("You are in getMac (VC++) DLL\n");
    JNIEXPORT jstring JNICALL
    Java_mac_getLine(JNIEnv *env, jobject obj, jstring enter)
        char buf[128];
        const char *str = env->GetStringUTFChars(enter, 0);
        printf("\n%s", str);
        env->ReleaseStringUTFChars(enter, str);
        scanf("%s", buf);
        return env->NewStringUTF(buf);
    }Hope this is useful
    regards
    kanad Deshpande

  • How to take Peer window ID in Mac OS?

    Hi,
    I have to take native peer window Id in Mac OS using Java.
    For Linux, I know we can do it as below.
    Class cl = Class.forName("sun.awt.X11ComponentPeer");
    java.lang.reflect.Method m = cl.getMethod("getContentWindow", null);
    Object obj = m.invoke(comp.getPeer());
    long windowId = Long.parseLong(obj.toString());
    Since there is awt package on Mac Java, I don't know how to take window ID.
    If anybody has experience on this please help me.

    Thanks for the reply. But i wonder how to Empty Trash. I didnt find Trash in my Left Bar in Find window. Thanks in advance.
    Best Regards,
    Ujwal

  • Same code will run on windows xP and mac x

    we have to develop the application for windows XP and mac X. so the codes written in windows platform will run at mac X with same performance ? plz suggest me..
    thanx
    vipin

    Same performance? Too many variables to say.
    It depends on the computer processor, amount of memory etc etc, let along the differences in the implementation of the java virtual machine on different platforms.
    I doubt you will find anyone that can give you a straight answer.

  • Java application development on Mac OSX

    Does anyone do Java application development on a Mac? I know that Mac has their own version of Java and I was wondering if there were any difficulties of Java development on a Mac. I'm considering a switch from Windows to Mac and want to evaluate how it will impact my Java development. I currently use Eclipse 3.2. What are the advantages and disadvantages of Java development on a Mac?
    Thanks

    I'm no Java3d expert but i'm quite sure java is slow on macs, as the java for mac technology is quite bad. Even 2d games with few sprites go slowly on my mac, it's a shame. However this might change as Apple is working quite hard on getting java to work properly, ( mainly because if java becomes popular the macs will lose their incompatibility problem! )

  • How do I change my iPod Touch from a Windows to a Mac?

    I recently bought a Mac, to replace my PC.  I have a 2nd generation iPod running the latest (4.3.3 I think).  I have transfered all my files from my Windows to my Mac through USB, and all the files are also sitting on my Mac.  However, when I insert my iPod to the Mac, it can't sync apps without erasing the data on my iPod.  How do I do it without erasing it?  I have it backed up on my Mac and PC.  I also have a brother with a 4th generation iPod.  I assume the soliution would be the same?  THanks!!

    Sorry didn't mean to make this the correct answer
    What do you mean?  This is what I get:
    "Are you sure you want to sync apps? All existing apps and their data on the iPod “Connor’s iPod Touch” will be replaced with apps from this iTunes library."

  • How can I just modify (from "Windows" version to "Mac") my purchased software?

    I've already purchased the Adobe Premiere Elements 13 in the wrong version: I need it for Mac and I've ordered the Windows version. How can I modify it?
    Thank you in advance,
    Jose Luís

    Thanks Ned, but the moment I bought it I did it wrong and when they offerded me to choose one version I picked up "Windows" instead of "Mac" by mistake... now I can't find the way to modify it.

  • HT4818 hey, I want to install windows on my mac, I have mac osx lion and I'm soon going to get mountain lion. If I use Boot camp to install windows do I need a windows disc, will i lose all my data, etc. If so how to I save them. Can I switch back to osx

    hey, I want to install windows on my mac, I have mac osx lion and I'm soon going to get mountain lion. If I use Boot camp to install windows do I need a windows disc, will i lose all my data, etc. If so how to I save them. Can I switch back to osx after I install windows. ( can I switch between Windows and OS X as many times as I want.) thanks for answering.
    Sebastian

    hey, I want to install windows on my mac, I have mac osx lion and I'm soon going to get mountain lion. If I use Boot camp to install windows do I need a windows disc, will i lose all my data, etc. If so how to I save them. Can I switch back to osx after I install windows. ( can I switch between Windows and OS X as many times as I want.) thanks for answering.
    Sebastian

  • HT1660 I have two iTunes libraries on two different pc's (one windows and one Mac).  Can I consolidate these on an external hard drive?

    I have two iTunes libraries on two different pc's (one windows and one Mac).  Can I consolidate these on an external hard drive?

    I'm sorry I just saw the last post. I had two users on my hard drive, one for me and one for my daughter, but I am not sure what you mean by partioning my external????? I have heard the term before, but don't know how to do it. I am having serious crashing issues with this computer and believe I really need to do a clean install. I just want to make sure everything for both ipods is safe (is???? I think so, everything is......I hate when the English language does this to me!)

  • Opening a Java Window from a jsp page on the client side

    Hi all,
    Thanks in advance to all who could help me for this problem.
    I've written some jsp pages. In one of them, I open a new Java Window,
    which is a simple Java Frame. If I test this directly on the Tomcat
    server, everything works well.
    But when I call the jsp page through a web browser of a distant client
    (normal use), and when I want to see the java window, no window pops
    up. It appears that the Java Window pops up on the server, and not on
    the client side, which is what I wanted.
    Could someone tell me how to make the Java frames appear on the client
    side ? (Is it linked to the code or to the configuration of Tomcat ?)
    Thanks in advance,
    Alexis.

    JSP always run on the server. On the client you only see the results.
    But you can use applets on the client side: http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html

  • I can no longer print from windows pc via mac/time machine in lion. Does anyone know why, I can no longer print from windows pc via mac/time machine in lion. Does anyone know why

    I can no longer print from windows pc via mac/time machine in lion. Does anyone know why or how to fix? I have print sharing ticked and printer is HP laser jest 2550.

    I finally found a log file... unfortunately, it doesn't help me figure out what's wrong... but maybe it will mean something to one of you?
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Adding start banner page "none".
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Adding job file of type application/postscript.
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Adding end banner page "none".
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Queued on "SUTTER_WG" by "kristophermiller".
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Started filter /usr/libexec/cups/filter/pstoappleps (PID 335)
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Started filter /usr/libexec/cups/filter/pstocupsraster (PID 336)
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Started filter /usr/libexec/cups/filter/rastertoepson (PID 338)
    I [10/Dec/2007:20:23:35 -0500] [Job 11] Started backend /usr/libexec/cups/backend/smb (PID 339)
    E [10/Dec/2007:20:23:36 -0500] [Job 11] cgpdftoraster unsupported colorSpace: colorSpace = -1, colorOrder =1, bitsPerColor = 1
    E [10/Dec/2007:20:23:36 -0500] [Job 11] cgpdftoraster: got an error from cupsRasterInterpretPPD
    E [10/Dec/2007:20:23:36 -0500] [Job 11] No pages found!
    E [10/Dec/2007:20:23:36 -0500] PID 338 (/usr/libexec/cups/filter/rastertoepson) stopped with status 1!
    I [10/Dec/2007:20:23:36 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    E [10/Dec/2007:20:23:36 -0500] [Job 11] Job stopped due to filter errors.

  • Windows xp pro sp2 no display in java windows

    Hi everybody,
    I have just install my new computer, windows xp pro sp2 and java 1.5 update 4, and I have this problem:
    I can't see what's inside java windows, for examples when I go throw the control panel and I want to configure java when I double click on the icon, I see the borders of the windows but nothing inside..
    Same thing with some java installer...
    I tried to unistall java 1.5 and install java 1.4 same thing...
    As any one a solution to my problem?
    thks

    OK I found why..
    But..It's strange when I put my ATI driver on normal, and not on High Quality it's working :)

  • If I use an SD card for both Windows 7 and Mac, is there any way to see the documents from the Mac sight while on the windows side?

    If I use an SD Card on both the windows 7 and Mac OS (using bootcamp), is there any way to see the data seen on the Mac OS side while using the Windows OS?

    Windows Aero style uses a different background image than Mac:
    Windows Aero:
    #nav-bar {
    background-image: linear-gradient(rgba(253,253,253,0.45), rgba(255,255,255,0));
    Mac:
    #nav-bar {
    background: url(chrome://browser/skin/Toolbar-background-noise.png),
    linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
    I can't test hands on, but you might be able to clear that OSX "fog" using a rule such as:
    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    #nav-bar, #PersonalToolbar {
    background-image: none !important;
    background-color: transparent !important;
    This could be applied using the Stylish extension or by creating/editing a userChrome.css file.

Maybe you are looking for

  • What is the better way to open and close connection in bean

    Hello, may i ask about the best way to open and close the connection? At the first, the connection code is store in Conn class bean. The JSP page will call a method in Process bean to process the query and update of database. the Process bean is usin

  • Inspire P580 PSU seems dead

    Hello! I need some help. I've got an Inspire P580 Speaker set from a friend but it seems that the power supply is dead. I tested the kit with my P380's PSU justo to see if it was in fact from the PSU and the kit worked, but as would be expected, poor

  • Help with small wired network?

    My office has 7 iMacs and 3 MacBooks using ethernet cables to connect via a hub. I'm trying to establish a wired network between these, so as to allow full browsing and read/write access among them while preventing access to any computer not physical

  • BAPI for outbound delivery without order reference???????????????????

    hello folks i want to a bapi for transaction <b>VL01NO</b>. this transaction is used for creating outbound delivery <b>wihtout a order reference</b>. I did a search but was not able to find a bapi pls help.

  • Picture in Picture won't display in a preview of movie

    I dragged a PNG file into the timeline and laid it over a background using Picture in Picture. It shows up in a special track with a blue box around it in the timeline. When I move the mouse over it, it previews correctly. If I play a preview with ei