What can be done in Java?

I wonder what is relistic to do in java?
Im thinking mainly in terms of games... As I understand it, Java aplications are not the fastest due to the "runtime translation" the JVC does... (hope I've got that right, otherwise: please correct me!)
By still how much does this affect the speed of the program?
What is possible to do?
and one more thing... I've just finished a basic course in java but I feel I lack some of the english terminology (the course was not in english), so if anyone know where I can read about that, internet or not, I would be greateful!
Best regards John!

Robin,
Not bad. I laughed, for a few seconds. ;) Actually, you do make a valid point though. Swing as applet games are just fine for most kids up until they get into the big x-box and ps2 games. But most games can be written in Java that target a large range of young kids even up to games like crossword puzzles and such. I would even say that Swing is probably fast enough for most "old time" games like Pacman, Dig Dug, Galaxian, and such. I would bet that with JDK 1.4 and a 1Ghz machine you could get suffecient update times in the GUI to handle decently sized windows with icon animation, so long as you are not repainting the entire screen 30+ times a second. Even then it may be possible. Eclipse does very well when scrolling the editor even in full screen. If you take advantage of the full screen mode JDK 1.4 introduced you could even write very good mid-level 3D games and such, although I would be it will be hard to get anything better than a Quake or Unreal (old) engine performance compared to today's top notch engines. I don't know for sure though. I still argue that most of these applications use timing to handle updates and syncronization. I don't know if they rely on hardware timing through the video card and/or sound card, or if they are able to use low-level system timers. I know a lot of real-time audio apps get great performance only through GSIF or ASIO drivers which are hardware specific to sound cards, which would provide their own ASIO or GSIF drivers that work with their hardware.
That is my one big wish list for JDK 1.x or maybe even 2.0. Having a solid tie in with hardware level devices in some consistat cross-platform manner. I wish there were API's that allowed a direct access route probably through JNI that was part of the JDK for hardware access, so that applications could be written to access scanners, printers, USB devices, FireWire, various ports, and drivers like video and soundcard drivers in such a way that we could tap into them for just about any purpose. I think for multi-media applications, video at 30fps and keeping in sync with audio updates for mixing audio and midi might be possible with decent GUI updates from Swing. The killer is the timing resolution which as far as I know is impossible to achieve 1ms or lower timing in Java. Hell, most OSs can't guarantee that resolution without the support of dedicated hardware, even though every computer has nanosecond timing capabilities. If the OS doesn't make it available, you either have to provide a driver at the kernel level or before that level in the OS, or rely on a hardware map to a soundcard or some other timing device to achieve that resolution. When Java can get into this in a consistent manner for any platform, or even just provide an API that doesn't guarantee resolution of timing, but that a timer would be called, or that hardware could be accessed, then we would gain some really strong Java capabilities!

Similar Messages

  • See what can be done with Java

    Want to see what can be done with a Java and specifically a Java3D application. Go to the Java3D forum and download the application "Free Java3D Demo Application".
    This should put to rest the questions if Java is good enough to do serious programming. This is a Demo of a full application that has over 100,000 circulation within the last month.

    I appreciate the response to this posting however please do not email questions to me reguarding how it works or can I help you to do your java homework. <8-)
    I received 60 email since this posting with many questions. The software is a commercial application. If you are interested, I suggest you go to www.3demall.com/fast and join the program in order to receive a CD and support. The Fast Start Program is a way to introduce our complete concept of PayWare while providing a good value.

  • Why is this java.lang.IllegalStateException occuring, and what can be done?

    I routinely find this exception occuring with Tomcat 6, with virtually every web app I develop. Since I tend to be paranoid about errors, I want to no more even though Tomcat's output says this exception has no functional impact. As far as I can see, none of the code I developed is involved in this. Does that mean Tomcat 6 is broken? What debugging purpose could this have? What can be done to prevent it?
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/FinanceWebApp'
    6-Mar-2008 11:28:07 AM org.apache.catalina.loader.WebappClassLoader loadClass
    INFO: Illegal access: this web application instance has been stopped already. Could not load java.lang.Object. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    java.lang.IllegalStateException
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    at com.sun.faces.application.ConverterPropertyEditorFactory$DisposableClassLoader.loadClass(ConverterPropertyEditorFactory.java:447)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at java.beans.PropertyEditorManager.findEditor(PropertyEditorManager.java:79)
    at com.sun.faces.application.ApplicationImpl.addPropertyEditorIfNecessary(ApplicationImpl.java:652)
    at com.sun.faces.application.ApplicationImpl.addConverter(ApplicationImpl.java:623)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:754)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:505)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1458)
    at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:820)
    at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:348)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)

    Mojarra (the JSF RI) has code to generate bytecode for a PropertyEditory that the EL can use that will leverage any by-type converters
    that have been registered. In short it allows the EL to perform conversion via Converters when the standard conversion rules fail.
    It seems, for whatever reason, that Tomcat doesn't care for this practice, though I've not seen this exception before.
    Have you posted to the Tomcat list to see if they can provide insight on how to eliminate this message?

  • De-authorizing itunes? Several of my authorized pc's have died, and have no way to deauthorize iTunes on them. Now I am unable to synch purchases on my Iphone to new computer with iTunes because I already have 5 computers authorized. What can be done?

    Several of my authorized pc laptops and desktops have completely died over the years, and have no way to deauthorize iTunes on them. Now I am unable to synch purchases on my Iphone to new computer with iTunes because I already have 5 computers authorized. What can be done?

    Deauthorise all to reset to zero, then authorize again.
    Following quote from Apple Support:
    If you need to authorize your new computer and are unable due to already having five authorized computers, you can deauthorize all computers by doing the following:
    Click iTunes Store on the left side of iTunes.
    If you're not signed in to the store, click the Account button, then enter your account name and password.
    Click the Account button again (your Apple ID appears on the button), enter your password, and then click View Account.
    In the Account Information window, click Deauthorize All.
    Note: You may only use this feature once per year. The Deauthorize All button will not appear if you have fewer than two authorized computers. If you need assistance on using this feature, please contact iTunes Store support via email (http://www.apple.com/support/itunes/store/).

  • Number of System Log Errors Increasing During Nightly Backup - What Can Be Done?

    Right now, I'm getting quite a number of warnings and errors with my nightly (wbadmin) backups to external USB drive using Windows 8.1 and the Spring Update.  Fortunately, the VSS-integrated system image backups are still sound, but it seems as though
    Windows 8.1 is becoming less and less aware and tolerant of them.  That's not right!
    With Windows 8.1 before the Spring Update I was seeing the warnings, but not the FilterManager errors.  The update brought the errors.
    Perhaps not too many Windows 8 users use wbadmin start backup -vssFull commands to do their backups, but I'm sure a lot of folks running Server 2012 do.
    What can be done to make the backup process smoother and eliminate these warnings and errors?
    Here's the specific list of warnings / errors I got from last night, which started at 2:00am and ran to 4:26am:
    As usual, clicking the Event Log Online Help button yields:  "We're sorry, but the page you requested could not be found.  You can search on TechNet for more information."  Microsoft, you know that needs to be fixed too, right?
    The specific command I'm using, via the Task Scheduler, is:
    wbadmin start backup -allCritial -vssFull -quiet -backupTarget:G:\
    For those who might suggest 3rd party backup, bear in mind I very much want the VSS integration that Windows Backup provides, and while wbadmin is producing backups that can actually be restored I can ignore these warnings and errors.  But it would
    be nice to not have them.
    And yes, I've considered 3rd party backup solutions, but while wbadmin is producing VSS-integrated system image backups that can be restored from the Windows startup recovery environment I'd prefer those.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

    The errors suddenly stopped on their own, but the warnings continue.
    As with most software issues, the errors came back again, specifically after a reboot mandated by yet another Windows Update.  I'm assuming they stopped before because the Filter Manager just gave up, or maybe the volume numbers got too high (notably
    the volume numbers started over again at a lower number).
    As of last night, these messages apparently having to do with my wbadmin backup (which starts at 2am) were logged in my System Event Log:
    2:00:00 (Information) - Virtual Disk Service - Service started.
    2:01:52 (Information) - Ntfs (Microsoft-Windows-Ntfs) - Volume System Reserved (\Device\HarddiskVolumeShadowCopy22) is healthy.  No action is needed.
    2:02:15 (Information) - Ntfs (Microsoft-Windows-Ntfs) - Volume C - NoelC4 SSD (\Device\HarddiskVolumeShadowCopy23) is healthy.  No action is needed.
    2:02:17 (Information) - Kernel-General - TxR init phase for hive \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy23\Windows\system32\config\SYSTEM (TM: {5df557d3-c9aa-11e3-829a-1803734ec99c}, RM: {5df557d2-c9aa-11e3-829a-1803734ec99c}) finished with
    result=0xC00000A2 (Internal code=7).
    2:02:17 (Information) - Kernel-General - TxR init phase for hive \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy23\Windows\system32\config\DRIVERS (TM: {5df557d5-c9aa-11e3-829a-1803734ec99c}, RM: {5df557d4-c9aa-11e3-829a-1803734ec99c}) finished with
    result=0xC00000A2 (Internal code=7).
    2:02:21 (Information) - Kernel-General - The access history in hive \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy23\Users\default\ntuser.dat was cleared updating 528 keys and creating 29 modified pages.
    2:02:25 (Information) - FilterManager - File System Filter 'FsDepends' (6.3, ?2013?-?08?-?22T07:39:42.000000000Z) has successfully loaded and registered with Filter Manager.
    2:02:27 (Warning) - disk - Disk 5 has been surprise removed.
    2:02:29 (Warning) - disk - Disk 5 has been surprise removed.
    2:02:44 (Error) - FilterManager - Filter Manager failed to attach to volume '\Device\HarddiskVolume15'.  This volume will be unavailable for filtering until a reboot.  The final status was 0xC03A001C.
    2:02:44 (Error) - FilterManager - Filter Manager failed to attach to volume '\Device\HarddiskVolume15'.  This volume will be unavailable for filtering until a reboot.  The final status was 0xC03A001C.
    2:02:45 (Warning) - disk - Disk 5 has been surprise removed.
    2:19:55 (Error) - FilterManager - Filter Manager failed to attach to volume '\Device\HarddiskVolume17'.  This volume will be unavailable for filtering until a reboot.  The final status was 0xC03A001C.
    2:19:55 (Error) - FilterManager - Filter Manager failed to attach to volume '\Device\HarddiskVolume17'.  This volume will be unavailable for filtering until a reboot.  The final status was 0xC03A001C.
    2:19:55 (Error) - FilterManager - Filter Manager failed to attach to volume '\Device\HarddiskVolume17'.  This volume will be unavailable for filtering until a reboot.  The final status was 0xC03A001C.
    2:19:55 (Warning) - disk - Disk 5 has been surprise removed.
    2:20:04 (Warning) - disk - Disk 5 has been surprise removed.
    2:30:00 (Information) - Virtual Disk Service - Service stopped.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Every time I try to upload a video to youtube (or pictures to blog services like tumblr) using Firefox, I cannot upload them unless I use the "basic uploader" function. Why and what can be done?

    Every time I try to upload a video to youtube or a pictures to a blog service, such as tumblr, I am unable to do so with the default uploading options (usually something that allows multiple uploads, etc). Instead, I can upload these media using their "basic upload" functions. Why and what can be done?
    == URL of affected sites ==
    http://www.youtube.com; http://www.tumblr.com

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have an Iphone 4 16gb and updated the IOS 6.1.2. after the update my 3G is not working at all??. can you please suggest what can be done to rectify this problem?

    i have an Iphone 4 16gb and updated the IOS 6.1.2. after the update my 3G is not working at all??. can you please suggest what can be done to rectify this problem?

    I have the same problem.  After updating to 6.1.2 my iPad 3,2 will not find Verizon network.  It just says "Searching..." for ever.  Any thoughts?

  • I recently updated to iOS 8.0 on my Ipad however when i try to agree to the new terms and conditions i get an error message saying either 'Cannot connect to server' or 'Your session has timed out please try again' what can be done to resolve this?

    Hi, I recently updated to iOS 8.0 on my Ipad mini however when i try to agree to the new terms and conditions i get an error message saying either 'Cannot connect to server' or 'Your session has timed out please try again' what can be done to resolve this problem? Also i cannot download anything from the App store as a result of this.

    Can you check the Object Security for the Analysis Menu and Export button and see if it is restricted?
    Also, is this a Oracle DB?  IF so, has the following 32 bit Oracle Client components been isntalled:
    Oracle Objects for OLE
    Oracle Data Provider for .NET
    Oracle Providers for ASP.NET

  • Drag and drop to photo shop no longer works after installing Apple "Photos"; It was working fine before the latest Apple update (10.10.3) . what can be done?

    drag and drop to photo shop no longer works after installing Apple "Photos"; It was working fine before the latest Apple update (10.10.3) . what can be done?

    Nothing. It's nothing to do with PSE; this is a limitation of Photos, as is the loss of being able to use an external editor without exporting copies of your images.

  • I am trying to set up iTunes match on my apple tv, but it just keeps showing that it is loading, it has been running for over an hour, what can be done here, it has gone with no problem on my iPhone, iPad but not the tv

    i am trying to set up iTunes match on my apple tv, but it just keeps showing that it is loading, it has been running for over an hour, what can be done here, it has gone with no problem on my iPhone, iPad but not the tv

    Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.

  • Downloaded IOS 7 and now I do not have a dictionary in iBook.  This is very frustrating.  What can be done to fix this issue?

    Downloaded IOS 7 and now I do not have a dictionary in iBook.  This is very frustrating.  What can be done to fix this issue?

    I've got to agree with Allan. It sounds like the hard drive is corrupt at least. It's possible it might be physically failing. Without backups, it's possible your data is already gone. You need a professional to help you.
    If you do not have an Apple Store near you or simply don't have the time to spare, there are some things you can try, but you must understand that it's possible these things could make the chances of recovering your data worse than they already are. Perform the instructions to follow at your own risk!
    First, you can try repairing your hard drive with Disk Utility. If that works, see if you can start up the machine. If you can, the very first thing you need to do is back up any data you don't want to lose. You may still need to take other steps, as your system may be damaged as well, but getting the data is the important part.
    If Disk Utility cannot repair the problems, you can try DiskWarrior. It can repair problems that Disk Utility cannot. However, it also increases the risk of destroying your data if it fails. If it works and you can start up the machine, do the same as I advised for following success with Disk Utility.
    If repairs (with either) were successful, but the machine still won't start up, you can try reinstalling the system. Hold down command-R at startup and then just install right on top of the existing system. If all goes well, you'll be able to start up afterwards and can get your data backed up. If all goes badly, it'll further decrease the chances of getting your data back.
    If neither can repair the damage, you're in bad shape. You will need a professional to help you, unless you are willing to lose all your data.

  • In BW Reporting what can be done without transport

    Hi Experts,
    In BW Reporting what can be done without transport. Suppose
    RRI, DIS to Nav changes
    Please Detail or any documentation.
    Thanks

    Dear,
    You cannot make changes in underlying structure of objects in prod system , the changes shoud always come through a proper tranport layer ( dev -- QA -- prod).
      CTS(change and tranport system) is build to manage all changes across system , it takes care of versioning as well.
    Usually in production system you can do data loading and other data oriented activities.
    If you need to work on object related changes, start from a dev system.
    regds
    Jay

  • I am unable to sync all my selected songs to my iphone.  The error message is that the computer is not authorized.  However, I have authorized the computer and iTunes confirms that.  Any ideas what can be done to fix this.  My phone is an iPhone 4S.

    I am unable to sync all my selected songs to my iphone.  The error message is that the computer is not authorized.  However, I have authorized the computer and iTunes confirms that.  Any ideas what can be done to fix this.  My phone is an iPhone 4S.

    Were some of the songs purchased from a different itunes account?

  • Bought and installed a new battery for my Mac Book Pro 5.1, intel Core 2 dual, the computer makes a lot of noise! The noise disappears in sleep mode. What can be done?

    Bought and installed a new battery for my Mac Book Pro 5.1, intel Core 2 dual, the computer makes a lot of engine noise! The noise disappears in sleep mode. What can be done?

    I bought it from Other World Computer last week for $95. 3rd party, I suppose.

  • "There was a problem connecting to the server.   URLs with the type "file:" are not supported.  Why?  What can be done to eliminate it?

    After upgrading to Mountain Lion, I repeatedly get this message:  "There was a problem connecting to the server.   URLs with the type "file:" are not supported. 
    Why? 
    What can be done to eliminate it?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

Maybe you are looking for