RE: screen Saver in java

Hi All:
I have the running my application, and I want screen saver pops up if no one touch the my application more than 2 minutes. Then, require login & password to go in where my application page frame was as before. Can some one help me with that? I appreciate it very much.
Tom

1. start thread, start timer for 2 minutes. (search forum )
2. put flag variable in key listener, set true if pressed.
3. after timer goes off, check flag you created for keypress, if still false, show login.

Similar Messages

  • Screen saver in java

    I would like to make a screen saver in java. But i do not find in the appropriate documentation classes.
    Can you help me.
    My screen saver may ask a password when the user want to exit it.

    1. start thread, start timer for 2 minutes. (search forum )
    2. put flag variable in key listener, set true if pressed.
    3. after timer goes off, check flag you created for keypress, if still false, show login.

  • I would like to make a screen saver in java.

    I would like to make a screen saver in java. But i do not find in the appropriate documentation classes.
    Can you help me.
    My screen saver may ask a password when the user want to exit it.

    https://jdic.dev.java.net/documentation/incubator/screensaver/
    "The SaverBeans Screensaver SDK (Early Access) is a Java screensaver development kit, enabling developers to create cross-platform screensavers. The developer writes a set of Java classes along with an XML description of the screensaver settings, and uses the tools in this development kit to produce a screensaver for any Java-supported OS. The resulting screensavers behave just like a native screensaver (i.e. with preview capabilities and control over settings)."
    This was found as the first result of a simple google search. You should try it sometime.

  • How can I convert a Java program into a screen saver ?

    I want to write a screen saver in Java, which is to be run under Window 95 platform. However, I don't know how to convert a .class file into a .scr file ?

    A SCR File is just an renamed exe file. So what you need is an CLASS2EXE converter (there are some around) and than simply rename the file to scr.
    Dont forget the special parameters scr files have, like /s or /c for config...look up in google for those.

  • Screen Saver crashing my Java Web Start app

    I've written a Java Web Start time tracker application that all employees run from the time they start work until they leave at the end of the day. The only problem is that there are a couple of people who from time to time find that the application has crashed when they unlock their Windows screen saver. The application window continues to show the screen saver image and the title bar says "Not Responding". In an attempt to get some clues, I had one person keep the java console running - but nothing new appears in the console.
    I've personally tried crashing the app by using screen savers, but I cannot duplicate the problem. I've also tried letting my computer go into standby mode and I've let it hibernate. But every time, the application continues running as soon as I log back in.
    Any ideas as to why the screen saver could trigger a problem like this for some users?

    >
    I've written a Java Web Start ... . The only problem is that there are a couple of people who from time to time find that the application has crashed when they unlock their Windows screen saver. >What screensaver(s)? Some important distinctions might be
    - Windows standard savers (the savers supplied with the OS, if so, do they all use Open-GL or all use...?)
    - Windows compatible, 3rd party savers.
    - Saverbeans screensavers (Java based). E.G. <https://screensavers.dev.java.net/>

  • System crash; data recovered; screen saver no longer works 10.3.9

    My iMac crashed last Fri and finally today the dealer received the hard drive and recovered my data.
    So far all is working EXCEPT my screensaver which used to work beautifully with OS X 10.3.5.
    I DID update things including a OS X Update Combined" (10.3.9):
    Installed "Apple Remote Desktop Client" (1.2.4)
    Installed "iSync" (1.5)
    Installed "iPhoto Update" (2.0.1)
    Installed "Java 1.4.2 Update 2" (1.4.2 Update 2)
    Installed "Security Update 2004-09-16" (1.0)
    Installed "iCal" (1.5.5)
    Installed "iPod Updater 2006-01-10" ((null))
    Installed "iTunes" (6.0.4)
    Installed "Mac OS X Update Combined" (10.3.9)
    Installed "Security Update 2004-10-27" (1.0)
    Installed "Security Update 2005-002" (2.0.0)
    Installed "Security Update 2005-004" (1.0)
    Installed "Java Update for Mac OS X v10.3.9" (1.0)
    Installed "Java Security Update" (4.0)
    Installed "Safari Update" (1.3.1)
    Installed "iTunes Phone Driver" (1.1)
    Installed "QuickTime" (7.0.4)
    Installed "Safari Update" (1.3.2)
    Installed "Security Update 2006-002 (PowerPC)" (1.0)
    The problem is twofold:
    1 - sys pref > desktop & screen saver > desktop
    this option still allows me to select my picture folder, but no longer scrolls through the subfolders of pictures
    2 - sys pref > desktop & screen saver > screen saver
    while I CAN select my picture folder, i get a "looking for slides" message and finally after about maybe 20 seconds the first picture in the folders appears but when the screen saver is activated, I only get a black screen
    Any advice is appreciated.
    Thank you -
    Pat

    I just noticed that the Shell screensaver has the same issue of taxing my CPU to nearly 200%. Very frustrating!!!

  • I tried to make a smaller facebook photo more visible by trying to make it my screen saver and now i do not know how to get rid of. it always shows up on screen when i open my computer but is still small

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    i tried to make a smaller facebook photo more distinct by hitting something to make it screen saver. it now shows up each time i open my computer but still is small. i cannot determined how to get rid of?
    <blockquote>Edited by moderator to remove all caps. Please don't yell. -T</blockquote>
    == This happened
    ==
    Every time Firefox opened
    == i tried to make a small facebook photo screen saver
    ==
    == Firefox version
    ==
    false
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox URIAPRO[]
    == Plugins installed
    ==
    *-Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape
    *Shockwave Flash 9.0 r28
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *RealJukebox Netscape Plugin
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *6.0.12.1040
    *Java Plug-in 1.5.0_01 for Netscape Navigator (DLL Helper)
    *DRM Netscape Network Object
    *Npdsplay dll
    *DRM Store Netscape Plugin

    This sounds more like a Windows question, than a Firefox question. When you say that an image shows up every time you open your computer, do you mean every time you turn on your computer, or every time you start Firefox?

  • PowerMac G5 hangs after going into screen saver power save mode

    I have a PowerMac G5 and it's been working fine, but as of late has been hanging. I had a couple of external disks on the machine ( Maxtor OneTouch II and a OneTouch III). I recently added two more OneTouch III and stripped the three OneTouch III's together in a RAID set. I'm wondering if that is causing the hangs, but I've also seen it hang without the RAID so I'm not convinced it's the RAID.
    Anyway, I can't figure out what's causing it to hang, but it seems to hang at some point after the screen saver runs and then the screen goes into power saver mode. It's not hung right when it shuts down the monitor, but at some point after that.
    When it gets in this mode, I can't remotely login using ssh and I can't seem to wake it up. What I end up having to do is to hold the power button down for several seconds until the machine powers off.
    In an attempt to see what's going on, I set the OS X monitor power save mode to "never", but I don't think I left it that way long enough and I never saw it hang.
    Does anyone have any debugging tips that would help me identify the culprit?

    I've been having the same troubles lately. Seem
    since the JAVA update. It hangs completely after the
    screen is shut down. Every morning I have to reboot
    with the power button.
    I am also joining the crowd with this issue. I have a 15" Powerbook G4 that has acted normally until recently. Not sure exactly when it started, but about the same time as the recent updates. Similar behavior to the previous forum posts.
    When I manually put the laptop to sleep it freezes up before it sleeps and the multi-language reboot warning comes up. This also happens if it is set to auto-sleep after xx minutes.
    When I try to wake it up, the screen is black and the power light shows it is on and it never unfreezes or I get the reboot message.
    I have tried everything I can think of to troubleshoot this. I just re-installed the 10.4.8 update over the exisiting one (using an external boot drive made with SuperDuper) and it still happens... BUT when I put the laptop to sleep with the startup drive being external, it seemed to behave properly. I can't figure this out since the external clone was made only minutes earlier from the laptop... and it works. I have zapped PRAM, and done the battery removal / power button reset.
    Below is the "report" I have been getting - and sending to Apple. They must be getting tired of the many I have sent.
    Any thoughts out there?
    Thanks.
    Unresolved kernel trap(cpu 0): 0x300 - Data access DAR=0x0000000000000020 PC=0x00000000002FA2A4
    Latest crash info for cpu 0:
    Exception state (sv=0x32E70000)
    PC=0x002FA2A4; MSR=0x00009030; DAR=0x00000020; DSISR=0x40000000; LR=0x002E31B0; R1=0x1793BCD0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x002E31B0 0x002AE920 0x002F2EF4 0x0003C884 0x000A9314
    Proceeding back via exception chain:
    Exception state (sv=0x32E70000)
    previously dumped as "Latest" state. skipping...
    Exception state (sv=0x2D24BC80)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC
    panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x00095138 0x00095650 0x00026898 0x000A7E04 0x000AB780
    Proceeding back via exception chain:
    Exception state (sv=0x32E70000)
    PC=0x002FA2A4; MSR=0x00009030; DAR=0x00000020; DSISR=0x40000000; LR=0x002E31B0; R1=0x1793BCD0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x002E31B0 0x002AE920 0x002F2EF4 0x0003C884 0x000A9314
    Exception state (sv=0x2D24BC80)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC
    Model: PowerBook5,8, BootROM 4.9.5f3, 1 processors, PowerPC G4 (1.5), 1.67 GHz, 1 GB
    Graphics: ATI Mobility Radeon 9700, ATY,RV360M11, AGP, 128 MB
    Memory Module: SODIMM0/J20STANDARD, 1 GB, DDR2 SDRAM, PC2-4200S-444
    AirPort: AirPort Extreme, 405.1 (3.90.34.0.p18)
    Modem: Jump, , V.92, Version 1.0,
    Bluetooth: Version 1.7.8f2, 2 service, 0 devices, 1 incoming serial ports
    Network Service: Built-in Ethernet, Ethernet, en0
    PCI Card: pci106b,4318, sppci_othernetwork, SLOT-A
    PCI Card: TXN,PCIXXXX-00, cardbus, PC Card
    PCI Card: usb, usb, USB20
    PCI Card: usb, usb, USB20
    PCI Card: usb, ehci, USB20
    Parallel ATA Device: Hitachi HTS721010G9AT00, 93.16 GB
    Parallel ATA Device: MATSHITADVD-R UJ-846,
    USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA
    USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 500 mA
    USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
    15" G4 PowerBook 1.67   Mac OS X (10.4.8)  
    G5 2.7 Gig   Mac OS X (10.4.4)   3 Gig ram
    15" G4 PowerBook 1.67   Mac OS X (10.4.8)  

  • Convert FLV to Screen Saver

    I've built a video screen saver for a client using After Effects, Adobe Media Encoder and SWF & FLV Toolbox 4 (FLV & SWF Converter - convert SWF to AVI, SWF to GIF, SWF to JPG, FLV). It's an app that converts .flv and swf files into .scr files. The .scr file works just fine on every machine, and multiple operating systems with the exception of the clients machine, of course. The clients machine just displays a white screen instead of playing the video. Any idea what might be causing this? Or, do you know of any other safe, reputable .flv, swf, or video to .scr converters out there? I've found plenty of freeware converters, but I don't trust them. Screen savers have all but vanished, so finding legit software has been difficult.

    If you can figure how to load and display the Flash video using Java, it should be pretty easy to turn that Java into a screensaver using the [Saverbeans screensaver development kit|https://screensavers.dev.java.net/].
    ..And it will work on Windows /and/ most *nix variants.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Screen Savers in java

    Is anyone aware of the basic method for creating screen savers in java?
    I wrote some code that displays falling matrix code in a window, but I would like to convert the graphic window into a full screen graphic installable as a screen saver.
    Thanks...

    deAppel wrote:
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); to get your screensize.Then how would you make it full-screen, with no frame around it?

  • Screen Saver

    I am trying to write a screen saver type app in Java. First off I need to create a large container of some type to fill the screen. I am trying
    package screensaver;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    class ScreenSaver extends JFrame{
    public ScreenSaver(){
    JDesktopPane desktop = new JDesktopPane();
    //JScrollPane sp = new JScrollPane(desktop);
    setSize(getToolkit().getScreenSize());
    getContentPane().add(desktop);
    public static void main(String[] args){
    ScreenSaver frame = new ScreenSaver();
    frame.setVisible(true);
    but I still get the standard windows close/maximize/minimize bar at the top. Can anyone tell me how to get rid of that.
    Thanks

    This works on JInternal Frames. It may work for JFrames, or be something similar
        // JIntFrame params: super(name, resizable, closable, maximizable, iconifiable)
        super("", false, false, false, false);
        //Remove Title Bar
        ((javax.swing.plaf.basic.BasicInternalFrameUI)getUI()).setNorthPane(null);

  • Unavailablity of screen saver and contact group im...

    Hello
    I have nokia 5230 nuron and 3110c handset
    even the basic java phones has the option like screen saver contact group image why the 5230 symb. set doesn't having those option
    prakash

    The 5230 is a touch screen, and the screen lock therefore turns the screen off, making it basically pointless to have a screen saver option since the screen is turned off once you lock it. Also, the screen saver on idle has been removed for battery saving concerns since the large screen would eat up the battery in no time. If you really prefer to have a screen saver instead of having your battery last the day through, you can download lockscreen apps which allow screen savers.
    As for the contact group images, I cant remember if my last java phone (5610) had that, but I cant see the point of having it when the phone shows you the contact's image when they call, meaning you really wouldnt see the contact group image anywhere of worth.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • G4 PPC won't Sleep, Restart, or run Screen Saver

    Hi all,
    My 7 year old 1.25 GHz G4 PPC, until recently, has run with little to almost no problems (at least nothing I couldn't solve on my own).
    Now, this past week all of a sudden I can't get the computer to go to sleep, either through Energy Saver settings or manually. It just doesn't respond and nothing happens. I read through some other similar questions that have been posted in the past and tried a few of the offered solutions. I've run disk utility, and tried disconnecting all USB peripherals, still non-responsive.
    Likewise, I can't get my screen saver to run either through Energy Saver settings or through my Hot Corners (all other hot corner settings seem to work fine). It will only launch through System Prefs > Desktop & Screen Saver > Test.
    The last problem I have noticed so far is that I can't perform a restart, when I do the process starts, but almost immediately goes to a grey screen with the little spinning circle (the one that looks like a clock face) and stays that way. I've let this screen run for as long as about a half hour to see if something would happen, and nothing did. In the end I have to force a power down by holding down the power button.
    Again, as recommended elsewhere, I have repaired disk permissions and verified the disk, with still no change. I have disconnected all usb peripherals (3 external HD's, iPod, powered usb hub, despite the fact it's worked fine for the past 6 months with all these connections [6 months ago my firewire 400 ports stopped working, haven't replaced them yet]). I have not installed any new software recently, and my last software update before this started happening was iTunes 8.2.1 a couple of days before I first noticed the problem.
    Any ideas?

    Hi japamac,
    Thanks for the tips. (I had to create a new account here).
    Tried all your advice and nothing worked. I ended up getting fed up and tried reinstalling OSX and that didn't work either. After that I zeroed my drive (twice) and started from scratch. That's why I've been late in responding, it takes forever to backup your system when all you have to work with are usb ports at 12kb/s.
    Anyway, upon completion of zeroing my HD I reinstalled OSX 10.3 and checked all my settings, no issues were apparent, I could put the computer to sleep, run my screensaver, and all hot corners worked as well, all with no apparent problems. After that I downloaded and installed all updates for OSX 10.3, and still everything worked fine. So next I reinstalled OSX 10.4 off my disk, and once again, everything worked fine. So I started with my software updates (just the basics) one at a time retesting after each one, Java updates: everything worked, iPod phone support: everything worked, DVD Player update: everything worked, then I updated the 10.4 update bundle to 10.4.11 and all the problems returned. So I started over one more time, this time updating OSX first, and still, as soon as 10.4 is updated to 10.4.11 the problems return.
    So what could be happening with my computer that an operating system update (one I've had and run since it first came out, with no previous problems), is all of a sudden causing some sort of conflict or is just buggered in general, even after I have erased and zeroed my HD twice (presumably deleting any other file/program that could have been causing the conflict in the first place).
    And because I erased my HD, all my login settings for this forum were gone and I couldn't remember my login info so I had to create a new account.
    Thanks again,
    Chris

  • Aperture No Longer Working With Screen Saver?

    For years I've been using my Aperture library (specifically, the "Flagged Photos") with the Screen Saver in OS X.  Since I upgraded to Lion last night, I have discovered that my Aperture library no longer shows up as an option in Screen Saver -- only iPhoto does. 
    As I am remiss to ditch years of work and return to iPhoto -- I was hoping someone might have discovered a solution for this problem (perhaps something to do with the iLife browser in Lion?).
    Any help would be greatly appreciated.

    Kluv32 wrote:
    Then, I checked the new sharing preferences and closed out Aperture.  I opened up the System Preferences for Screen Saver, and after waiting about 1-2 minutes, Aperture popped up in there as an option.
    Can you please explain what you mean about "checked the new sharing preferences?" I see no way of setting any "sharing" preferences in Preferences or anywhere else in Aperture. Do you mean you just looked at the sharing preferences?
    Since I've upgraded to the latest version, when I go to the System Preferences, Aperture is very slow in showing up on the ScreenSaver settings under System Preferences and the virtual Library folders no longer show up (they show up under the Desktop window though). However, after closing Aperture, the screensaver would display "looking for pictures" and would not display the photos.
    The latest upgrade definitely broke something, although it greatly improved Aperture's response time, as it was getting pretty sluggish before the upgrade.

  • Screen saver overrides iTunes cover flow in Lion

    On my new iMac (OSX 10.7.1, iTunes 10.4.1), when in full screen cover flow mode, the screen saver overrides this, which is annoying as I like to leave it playing with the artwork displayed. This did not happen on my old (Leopard) Mac. I can't find any preference setting that seems to fix this. I dont really want to turn off the screen saver - I didn't have to before, why now?

    Have you tried creating a hot corner (System Preferences > Desktop & Screen Saver > Screen Saver - Hot Corners) to disable the screen saver by parking mouse pointer in the "hot corner."
    I'm assuming Lion still has this function.

Maybe you are looking for

  • Streaming TV options and Devices

    We are considering dropping cable in my house.  We have a TIVO with the capabilities of recording OTH and we analyzed most of the shows we watch and most are available OTH. I am then considering subsidizing it with a streaming device and service. Que

  • I installed elements 12, it won't open, a screen pops up with options for e-12 and 4 other language

    I installed elements 12, it won't open, a screen pops up with options for e-12 and 4 other languages.  When I click Elements 12 a screen pops up with a red install icon, I click it and it askes for the serial number. It won't let me type in letters o

  • Please, I need help with iBook!

    Hardware Overview: Machine Model: iBook CPU Type: PowerPC 750 (2.3) Number Of CPUs: 1 CPU Speed: 800 MHz L2 Cache (per CPU): 512 KB Memory: 640 MB Bus Speed: 100 MHz Boot ROM Version: 4.6.4f1 Memory: DIMM0/BUILT-IN: Size: 128 MB Type: Built-in Speed:

  • All Day Recurring Events 1 Day early

    Hi. Need some help here. All my All Day & Recurring Events are one day early when I do sync. Any one has any solution to it?

  • How to Export a list of filenames from Lightroom

    Is there a way in Lightroom to export a list of filenames to a spreadsheet? If I need to write a script, what is the best way to do that?