osx-tiger

Java Applet, AWT Refresh, issue on Mac OS X 10.4

∥☆過路亽.° 提交于 2020-01-06 06:19:11
问题 We have a Java Applet built using AWT. This applet lets you select pictures from your hard drive and upload them to a server. The applet includes a scrollable list of pictures, which works fine in Windows, Linux and Mac OS X 10.5. We launch this applet via Java Web Start or within a web page. Our applet does not behave properly in Mac OS X 10.4, regardless of the version of Java (1.4 or 1.5). You can find a screenshot of the incorrect behaviour, when scrolling, here: http://www.lavablast.com

How do I include calls to methods only present in one operating system version when compiling for multiple versions?

时间秒杀一切 提交于 2019-12-24 21:12:19
问题 I have an app that is being compiled with a minimum system requirement of Tiger (OS X 10.4), but I need to include some code to deal with Spaces if the app is executing on Leopard (OS X 10.5). How do I do this? (The call I need to make is to -[NSWindow setCollectionBehavior:] ). 回答1: Set your Base SDK (for all configurations of the target you're building) to the version of the OS that includes the call. Set the Deployment Version to the earliest OS you want your code to launch on. For all