Code'ing on macintosh for the windows platform

im writing java code on my macintosh using netbeans iDE however the code is initially written for the windows enviroment (its a 3rd year comp sci project. Thus would the code thats written/compiled on the mac run on windows without any 'adjustment'?
thanks
mellowmoose

The 'LF' is the format (\n) on a Unix for a line separator, and 'CRLF' the format (\r\n). You are not to be bothered with those specific types to OS's if you simply use
String newLine = System.getProperty("line.separator");for them.
Try for example the following.
String newLine = System.getProperty("line.separator");
System.out.println("The first line" + newLine + "the second line");

Similar Messages

  • Why does Adobe Premiere Pro offer more effects for the windows platform than Mac?

    Every time I find a cool new effect that I would like to use it seems it is only offered on the windows platform.  I am a mac user and wondering why this is.

    A lot of that is inertia, though. 3 or 4 years ago, I would have laughed in your face if you'd told me that we were going to move to a PC-based workflow. Then everybody stopped using FCP, Apple refused to update their Pro towers for, like, 3 years, and released a completely redesigned MacPro that has caused us more headaches than it's worth. PPro makes it super easy to bounce projects back and forth between our Macs and PCs. Mainstream computer hardware has become powerful enough that you don't need a professional workstation to edit video and do basic motion graphics. This is totally anecdotal, I realize, but our PCs are every bit as stable (or unstable!) as our Macs, and we've yet to have a single virus on either Mac or PC (mostly because I don't let warez anywhere near our boxes...). At this point, I literally can't think of a single reason to stick with Mac as a platform; if I can put together a $2000 PC that'll perform more-or-less as well as the $3000 MacPro, why would I choose the more expensive option? I guess you could say "ProRes", but I've never really been a fan of ProRes. Besides, DNxHR will be out in a month or two; that'll be the final nail in the ol' ProRes coffin.
    I honestly don't mean this to come off as an insult, but I think that in 2014, anyone who tries to tell you that Macs are somehow superior to PCs just doesn't know what they're talking about. Aside from the price, the playing field is pretty level... I hope I don't come off as being an anti-Apple, pro-PC fanboi; I'm just a big fan of rational, informed decisions.

  • I have a Mac and told to download Firefox to help me access an online course whose website was developed for a windows platform. What do I do to get my Mac to work w/the website?

    I'm new to Firefox. I was told to download Firefox to help me access a website I'm to use for a course. Unfortunately, I found the course website says I can't access it w/Mac. It says the Website was developed for a Windows platform. Mac people have told me I can try Firefox. I have and it still doesn't give me access to the course material I need for a job. I'm not sure I'm using Firefox correctly. Any suggestions?

    You can try installing the [https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/ User Agent Switcher] add-on. This lets you change your browser's "User Agent" header so that it will tell the server that it is a Windows browser.

  • WYSIWYG GUI design tool for the JavaFX platform

    hi can anyone help me where to download this tool (WYSIWYG GUI design tool for the JavaFX platform) ?

    gimbal2 wrote:
    rukbat wrote:
    gimbal2 wrote:
    That's a different question entirely dude. Open a new thread with a proper title and be sure to give more information than you're giving here; the exception you get and the code that "does not work" is especially important.They already had a new thread, four minutes before trying to hijack their own issue here.
    Ensemble  Example :  Minimize, Maximize  (pbm)  after drag and move
    Hopefully they'll reply to themselves over there with sufficient information for someone to give a proper reply.I object to this behavior. Someone should nuke something.Consider it done.
    This thread is locked because the O.P. has mucked it up.

  • This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms

    Hi Guys,
    I am just going to jump right into it.
    We are using Kaseya for our IT management and with this we have the acronis backup system.
    On one of the servers (Main DC) we are getting the error below.
    The Server runs Windows Server 2008 R2 Standard.
    Backup failed - Backup process could not start because of the following error: This implementation is not part of the Windows Platform FIPS validated cryptographic
    algorithms. at System.Security.Cryptography.SHA256Managed..ctor() at SHAHashing.SHAHashing.CalculateSHA256(String text) at SHAHashing.SHAHashing.HashAndUnmask(String encryptedText, String keyMaskString) at KaseyaBackupCmd.KaseyaBackupCmd.GetUnmaskedPassword(String
    user, String coverPass, VSAEncryptionAlgorithm encryptionType) at KaseyaBackupCmd.KaseyaBackupCmd.DetermineNetworkPasswordToUse(String user, String coverPass, VSAEncryptionAlgorithm encryptionType, String acronisEncryptPath, String kaseyaTempDirectory, String&
    passwordToUse, NetworkPasswordType& passwordType) at KaseyaBackupCmd.KaseyaBackupCmd.RunVolumeBackup() at KaseyaBackupCmd.Program.Run(String[] args)
    We have no Idea how to fix this.  We looked at multiple articles regarding changing the registry and the web.config file etc. but we cannot seem to resolve it.
    Regards

    On Thu, 26 Jun 2014 07:39:56 +0000, Johan Eckart Yzelle wrote:
    I checked the GPO and System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing is disabled however MACHINE\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy is set to 1.
    How do i change the registry under windows settings > security settings > local policies > security options?
    Enable it, run gpupdate /force, confirm that the value is still 1, disable
    it, run gpupdate /force and then confirm that it is now set to 0.
    Paul Adare - FIM CM MVP
    Being a social outcast helps you stay concentrated on the really important
    things, like thinking and hacking. -- Eric Raymond

  • I would like to run a stock analysis program called Toolkit 6 on my Macbook Pro, but it only works on the Windows platform.  Is there software that allows me to run Windows applications on the Mac?

    I would like to run a stock analysis program called Toolkit 6 on my Macbook Pro, but it only works on the Windows platform.  Is there software that allows me to run Windows applications on the Mac?

    Yes it's MS Windows! You will need a license of MS Windows (preferable Windows 7) and from there you can decide on the strategy for running Windows on your iMac. You can use Boot Camp (you already have this) or you use virtualization software such as Parallels or Fusion. For your situation I'd recommend virtualization software. However for only one program I'd do some due diligence to see if there is a OS X version. You can start with the App store or simply use Google to search.
    Kappy has provided a good article on running Windows on a Mac and the various options. Here is the link:
    Kappy's explanation
    Roger

  • New company code configuaration is added for the existing company

    Hi Guru's
    New Company Code is to configure for the existing company. Already we 20 company codes.
    Now Business users want new code for the country australia.
    Please let me know what are the steps to configure the new company code.
    I appreciate your help and coperation.
    Regards
    Jenny

    Hi jenneyc,
    1.1 Define and Assign Company Code     
    1.1.3 Assign Company Code to Controlling Area
    1.1.4 Create new plant     
    1.1.5 Define and Assign Sales Organization     
    1.1.5.1 Copy Sales Organization     
    1.1.5.2 Change name and address of Sales Organization
    1.1.5.3 Assign Sales Organization to Company Code
    1.1.5.4 Assign Sales Organization ‑ Distribution Channel ‑ to Plant
    1.1.6 Delete Purchasing Organization assignment to Company Code
    1.1.7 Define Variants for Open Posting Periods
    1.1.8 Open and Close Posting Periods
    1.1.9 Assign Posting Period Variants to Company Code
    1.1.10 Create Number Ranges for document posting for company code
    1.1.11 Asset Accounting - Specify Number Assignment Across Company Codes      
    1.1.12 Creation of House Bank and Bank accounts
    1.1.12.1 Define House Banks
    1.1.12.2 Define Lockboxes for House Banks     
    1.1.12.3 Define Posting Data
    1.1.12.4 Set Up Payment Methods per Company Code for Payment Transactions
    1.1.12.5 Set Up Bank Determination for Payment Transactions
    1.1.12.6 Create Check Lots
    1.1.12.7 Create Program Variants for RFFOUS_C     
    Along with above we need to do LSMW for GL a/c company code data have to upload, and foreign currency Configuration require...!
    I hope this info will helpful to you..!
    Rds,
    ANil

  • Hey. I want to install windows 8 32bit on my mac pro (mid 2012). I upgraded the windows 7 I already had, but now I dont have drivers at all... I searched drivers for the windows 8 32 bit but couldn't find any... Any solutions guys?

    Hey everyone, 
    I want to install windows 8 32bit on my mac pro (mid 2012). I upgraded the windows 7 I already had, but now I dont have drivers at all...
    I searched drivers for the windows 8 32 bit but couldn't find any...
    Any solutions guys?
    Thanks a lot.
    Sincerely,
    Chiponn

    There's been an update for OSX ML which addresses the issue for installing Windows 8 on bootcamp.
    It's NOT recommended that you Upgrade.. However, the way to get the drivers is:
    You'll need an external USB drive formatted as FAT for this.
    1) In OSX, start the Bootcamp Assistant
    2) Press Next
    3) UNTICK 'Remove WIndows 7 or Later Version'
    4) TICK Download the Latest Windows Support Software from Apple
    5) Insert USB drive
    6) Press CONTINUE
    The drivers should download, and copy a WIndowsSupport folder onto the USB drive.
    I did notice that Windows 8 still requires beta drivers for some aspects such as VGA (the Radio HD Card), which you can get on the AMD website.
    Futhermore, why are you using Windows 8 "32" bit when you blatently have a powerful 64bit?
    Anyway, hope this post helps ;-)

  • How can I make JAVA listen to a USB device in the windows platform?

    Hello, Im trying to make a program in JAVA which gets input from a joypad but I dont know where to start.
    Im using the Windows platform. I have the joypad and driver which came with the joypad, what do I do next?
    Thanks in advance, Ant...

    Well i believe there are few JAVA APIs which might help take help
    of JNI on specific OS platforms to provide you a solution to have kind of JAVA-USB communication and refered under JSR 80.
    and below is an example of it
    http://jusb.sourceforge.net/
    and hope below articles might help better in terms of more insights.
    http://today.java.net/pub/a/today/2006/07/06/java-and-usb.html
    http://www-128.ibm.com/developerworks/linux/library/j-usb.html
    http://www.ibm.com/developerworks/library/j-usb.html
    http://jusb.sourceforge.net/apidoc/overview-summary.html
    and if you thinking of using jUSB would be a better to start with its javadocs
    http://jusb.sourceforge.net/apidoc/usb/core/package-summary.html
    and as per your requirement usage of usb.windows pacakage is appropriate.
    Hope that might help :)
    REGARDS,
    RaHuL

  • Can't open the illustrator. There is not enough room for the window.

    hello all,
    I've seen this asked before. But no real solution has been found.
    I'm working with both Ps and Ai and A LOT of Ai files embedded in Ps (smart objects). Don't ask
    The problem is that whenever I want to open a smart object illustrator shrinks to tiny size and that message pops up (Can't open the illustrator. There is not enough room for the window. etc etc). That happens mostly when the illustrator is already open.
    There has to be a solution other than deleting the preference folder (have too many other preferences there that I do not want to set up again, like color prefs etc) And btw, I've seen people saying the problem actually comes back fairly soon.
    It's worth mentioning that it started slow - at first it was opening illy just half the maximized size.
    Shift+Close (X on the top) that used to help with apps that do not want to open in a right size, is not helping. Only solution is to open (double click smart object) it once, shift+closing and opening it again.
    That however is NOT helping the productivity. Luckily at the workshop I do have a very fast PC that opens illy in about second/ second and a half, but for one that I have at home I would hang myself before I could do some proper work.
    Adobe tech support has nothing.
    REALLY? This aint a freeware to have this type of flaw for YEARS from what I read (at least since CS4)
    Really frustrated here.
    OS: Win 7 64bit
    Adobe ver.: Ps and Illy - CS6
    A.S.

    Thank you for pointing me to that thread. I've seen it and:
    1. problem described is different
    2. not a single permanent fix (I mean cmon, 'resize the window by draggin it bigger' or 'alt+O to open') Not looking for ECDL type of help.
    Also, as I mentioned in my first post, thrashing settings folder is not an option.
    It's an expensive product and it has to have a proper fix. Am I not in the right place?
    A.S.

  • Do I need to install virus protection for the windows portion of the partitioned hard drive on the MacBook Pro?

    Do I need to install virus protection for the windows portion of the partitioned hard drive on the MacBook Pro?

    You are running Windows, so yes. I like Microsoft's built in protection and how 8.1 is 'hardened' but I also install Malwarebytes. I will not use Kaspersky anymore. But you do need something. And 8.1 is more secure than prior versions definitely but there were some major zero-day security updates on this month's "Patch Tuesday."
    The forum for you is "Boot Camp" and this if you look above: Communities / Desktop / Mac Pro is not for MacBook Pro
    MacBook Pro
    Boot Camp

  • Illistrator CS6 Not Enough Room For The Window Error; Windows 7 64 bit

    Illistrator CS6 Not Enough Room For The Window Error; Windows 7 64-bit
    Recieved the same error on files under 2mb; was able to resolve by MAXIMIZING Illistrator window prior to opening file. If that failed, issue was resolved by closing app, removing settings folder from AppData\Adobe and restarting Illistrator. Now, any file over 15mb is unable to open even when attempting the above steps. Also uninstallled and reinstalled app with same results.
    Please advise.

    Hi this has happened to me as well. I have been using a file for weeks and this morning I got this message "there is not enough room for the window".
    Can someone help me/us? would this be a bug in Illustrator. I have never gottten this error before...
    Thank you so much.

  • Sun Certified Web Component Developer for the Java Platform, Enterprise Edi

    I would like to take up the exam "Sun Certified Web Component Developer for the Java Platform, Enterprise Edition 5". Could you please suggest me the right book for it?
    Does this one helps? ----Head first servlets and jsp
    Whihc version I have to choose?

    That book is a very decent start, but it does not cover everything you need to know. I would also get "core servlets 2nd edition", which you can download for free here:
    http://pdf.coreservlets.com
    I would skim these two books to see which topics they cover, then check it against the list of requirements you will find on this page:
    http://www.sun.com/training/catalog/courses/CX-310-083.xml
    to see what you are missing.

  • Can't Open the Illustration. There is not enough room for the window;

    This is more of a nusance than an actual problem. But, when I double click on an AI document to open it the Illustrator window will shrink down to what is in the attached image and throw an error. The error reads "Can't open the Illustration. There is not enough room for the window; increase document area and try again."
    I can drag and drop the file into Illustrator and file>open of course, but the double-click method isn't working.
    I'm not sure if this is a Windows 7 issue or an Illustrator issue.

    dual monitors. And i'm on windows so the application frame cannot be toggled.
    I was able to fix it. Detached the application and then resized the scrunched window. that seems to have done the trick. Weird since I had never squeezed it all the way down like that.
    thanks! Didn't know about the preferences reset.

  • Can't open the illustration.  There is not enough room for the window.  Increase document area and try again?

    When i double click on a file in AI (CS6) I get the message:  Can't open the illustration.  There is not enough room for the window.  Increase document are and try again

    We can't know. We know nothing about your system nor your documents since you haven't told us.
    Mylenium

Maybe you are looking for

  • Wont sync because of not enough space but it also says i have free space at the bottom

    I synced my entire itunes at first. Then  I got some more music off an old ipod and wanted to put it on knowing I have to select specific artist or albums instead of the whole collection. I have around 3000 songs on the ipod now. Its not letting me s

  • ITunes permissions simply won't repair!

    I've clicked repair permissions about 10 times, and the same errors keep popping up. Get ready for tons of unrepaired permissions: Repairing permissions for “Macintosh HD” Permissions differ on “Applications/iTunes.app/Contents/Resources/Dutch.lproj/

  • Show all menu options won't stay. . .

    I've opened, changed to "show all menu items" closed, reopened, and still when I want to place something, I have to click down at the bottom to show that option... why won't it stay there like the earlier versions? I'm using CS3.0.4. Thanks L W

  • Start routine for baseunit

    hi friends i need to give a start routine for my baseunit. i need my baseunit always EA, i get the data from the flat file , so what ever the unit they mention there in the flat file if it is not equal to 'EA', then it should take it as EA. i gave co

  • HCM Processes & Forms - Some questions about the PD Processes

    Hi Experts, At my Organisation we use HCM Processes and Forms and Organisation Management and MSS to manage Position Based Security (PBS). The MSS Managers have requested a form be developed which they can use to extend an existing Position to Employ