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.

Similar Messages

  • I would like to make a employeemis with using java, what the eror?HELP!

    Create a class named Employee. Includes data members for Employee class :
    Data member     Data type
    Employee id     String
    Employee name     String
    Icno     String
    Gender     Char
    Date of birth     String
    Address     String
    Commencing Date     String
    Department     String
    Position     String
    Salary     Double
    Include any relevant methods for example constructor that can perform initialization for all data fields, accessor methods that return each of data field values and mutator method to set values into the data fields. Use a constructor to set each Employee id to 99999 upon object creation.
    Write another java application named EmployeeDb. Declare an array of three Employee objects.
    Your program should be able to perform the following functions:
    (a)     Prompt user to enter three Employees� information from the console and store data in an array
    (b)     Search an employee by name.
    (c)     Display all employee information by using a loop.
    This cannot save file totext file.
    So, this is my coding, i try many times but cannot to do search and display..why? who can help me solve it?
    Coding:
    import java.io.*;
    class Employee{
         private int id;
         private String name;
         private String icno;
         private char gender;
         private String dob;
         private String addr;
         private String comdate;
         private String dept;
         private String post;
         private double salary;
         // constructors
         public Employee (int a, String b, String c, char d, String e, String f, String g, String h, String i, double j){
              id = a;
              name = b;
              icno = c;
              gender = d;
              dob = e;
              addr = f;
              comdate = g;
              dept = h;
              post = i;
              salary = j;
         // overloading constructor
         public Employee (int a){
              id = a;
         // setter methods
         public void setID (int a){
              id = a;
         public void setName (String b){
         name = b;
         public void setIcno (String c){
         icno = c;
         public void setGender (char d){
         gender = d;
         public void setDob (String e){
         dob = e;
         public void setAddr (String f){
         addr = f;
         public void setComdate (String g){
         comdate = g;
         public void setDept (String h){
         dept = h;
         public void setPost (String i){
         post = i;
         public void setSalary (double j){
         salary = j;
         // getter methods
         public int getID(){
              return id;
         public String getName(){
              return name;
         public String getIcno(){
              return icno;
         public char getGender(){
              return gender;
         public String getDob(){
              return dob;
         public String getAddr(){
              return addr;
         public String getComdate(){
              return comdate;
         public String getDept(){
              return dept;
         public String getPost(){
              return post;
         public double getSalary(){
              return salary;
         // other methods
         public void displayEmployee(){
              System.out.println("ID          : " +id);
              System.out.println("NAME          : " +name);
              System.out.println("ICNO          : " +icno);
              System.out.println("GENDER          : " +gender);
              System.out.println("DOB          : " +dob);
              System.out.println("ADDRESS     : " +addr);
              System.out.println("COM DATE     : " +comdate);
              System.out.println("DEPT.          : " +dept);
              System.out.println("POST          : " +post);
              System.out.println("SALARY          : " +salary);
    /* implementation class */
    public class EmployeeMis{
         static Employee emp[]=new Employee[3];
    static int recNo;
    static int indexNo;
         public static void main(String [] args) throws Exception{
              EmployeeMis mis =new EmployeeMis();
              BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
              int opt;
              recNo =1000;
              do{
                   mis.mainMenu();
                   opt=Integer.parseInt(stdin.readLine());
                   switch (opt){
                   case 1     : mis.addEmployee(); break;
                   case 2     : mis.srcEmployee(); break;
                   case 3     : mis.dispEmployee(); break;
              }while(opt !=0);
              System.out.println("END OF SYSTEM");
              System.out.println("THANKS YOU");
         public void mainMenu(){
              System.out.println("\n");
              System.out.println("Main Menu");     
              System.out.println(" [1] Add Employee");
              System.out.println(" [2] Search Employee");
              System.out.println(" [3] Display Employee");
              System.out.println(" [0] Exit system");
              System.out.print("Enter selection : ");
         public void addEmployee() throws Exception{
              int id;
              String name;
              String icno;
              char gender;
              String dob;
              String addr;
              String comdate;
              String dept;
              String post;
              double salary;
              BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("\t\tADD Employee");
              System.out.println("\t\t+++++++++++++");
              System.out.println("\n\n");
              recNo++;
              emp[indexNo] = new Employee(recNo);
              System.out.println("New Employee ID " +recNo );
              System.out.print("Enter Name " );
              name = stdin.readLine();
              System.out.print("Enter IC No " );
              icno = stdin.readLine();
              emp[indexNo].setID(recNo);
              emp[indexNo].setName(name);
              emp[indexNo].setIcno(icno);
              indexNo++;
         public void srcEmployee() throws Exception{
              int id;
              String name;
              String icno;
              char gender;
              String dob;
              String addr;
              String comdate;
              String dept;
              String post;
              double salary;
              char pause;
              int i;
              int found = -1;
              BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("\tSearch Employee");
              System.out.println("\t==============");
              System.out.print("Enter ID " );
              id = Integer.parseInt(stdin.readLine());
              for(i =0; i < emp.length; i++){
                   if (id == emp.getID())
                        found = i;     
              if (found < 0 )
                   System.out.println("\n\n\t\t Record Not Found \n\n");
              else{
                   System.out.println("Name "+emp[found].getName() );
                   System.out.println("IC No "+emp[found].getIcno() );
         public void dispEmployee() throws Exception{
              int id;
              String name;
              String icno;
              char gender;
              String dob;
              String addr;
              String comdate;
              String dept;
              String post;
              double salary;
              int i;
              BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("t\tDisplay Employee");
              System.out.println("\t\t=============");
              for(i =0; i < emp.length; i++){
                   System.out.println("ID "+emp[i].getID() );
                   System.out.println("Name "+emp[i].getName() );
                   System.out.println("IC No "+emp[i].getIcno() );     
                   System.out.println( );     
    What the error exactly? Or someone have other method can write? Please help me.. thank you

    What do you mean, what's the error? That's for you to tell us. Did you try to compile it and get some error messages? Or do error messages happen when you run it? Or does it just not do what you hoped it would? In any of these three cases, you should be able to copy and paste any error messages here, or tell us what you don't like about its behaviour.
    It's impossible for us to run that code, even if we wanted to -- which we don't. You didn't post it in the CODE tags and so it's mangled and unreadable.

  • 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 have a spare Apple display screen an would like to make this a second screen for my iMac, would like some help on how to do this

    I have a spare Apple display screen and would like to make this a second scren for my iMac,
    would like to have some ideas on how to do this
    laro.t

    First format the drive to OS X Extended (journaled) with ownership set to be ignored:
    Next drag your iPhoto library from your Pictures folder to the EHD.  When the copying is complete launch iPhoto with the Option key held down and in the window that comes up select the library on the EHD:
    Check the file path under the window to make sure the correct library has been selected.
    Once you've confirmed that the EHD library is working properly and has all of your photos you can delete the library in your Pictures folder.
    OT

  • I would like to make a movie of me speaking while doing a power point presentation.  I have seen this done with the powerpoint embedded on the screen and the speaker doing the talking on the rest of the screen.  Is it possible to do this in iMovie?

    I would like to make a movie of me speaking while doing a power point presentation.  I have seen this done with the powerpoint embedded on the screen and the speaker doing the talking on the rest of the screen.  Is it possible to do this in iMovie?

    Scrof wrote:
    ....  Is it possible to do this in iMovie?
    sure.
    the ppt has to be some kind of 'video' iM supports.
    so export it from with MS Office as a Quicktime movie, preffered with 'Animation' codec, or as appleintermediatecodec .. for quality reasons.
    you need the Talking Head as a 2nd video.
    then use iM's Pic-In-Pic feature to combine both videos as wanted.
    I would suggest to do some editing (you full-screen, the ppt full-screen, perhaps 'close ups' of some charts, cut-aways to snoozing audience, etc) to 'pep' the video. for this purpose, it could be much esier to export each slide from within PPT as a jpeg and create the 'flow' in iM only... except, you need the ppt-animations ... but, who uses animations in a presentation anyhow ... ?

  • Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Yes - well you have to make the file in a word processing Application.
    You could use TextEdit (it's free) Pages (words only), or Numbers (data base) (they are part of iWorks - and may or may not be free (included) on your machine.  You could use MS Office (it is not free) You could use any Open source word processor that plays well with Office (NeoOffice, StarOffice) they are free.
    That's how you create content and copy/paste URLS. Then you save the file to the desktop. If you are going to make more than one file... you make a folder on the desktop and save, or drag the file(s) into it.
    You attach it to your e-mail client which will compress it and e-mail it. An excellent reference is to use Help, from the menu bar, also from inside any application. From your library or book store the OS X for Dummies has a lot of useful information (you don't read it cover to cover but look up chapters about what you'd like to do)
    You can also make appointments at your local Apple store for individualized help (if a store is nearby)

  • I would like to make apple tv slideshows to save on my mac

    Can I get an application that will generate slide shows with the apple tv type cascading windows?

    I bought Fotomagico and I did not see an option for the slide show where the photos cascade float and spin.
    Thats what I would like to make my slides shows do and be able to save and burn to disk. The Apple  Tv may
    have a way to output the slide shows but they are limited to 200 photos max I think.

  • How do I resize the window of pages in the new version? It takes up most of my desktop. I would like to make it tall and narrow, which was possible in the old pages, but I cannot seem to do it in the new version.

    How do I resize the window of pages in the new version? It takes up most of my desktop. I would like to make it tall and narrow, which was possible in the old pages, but I cannot seem to do it in the new version.

    I agree it is a very bad and wasteful design especially for users on small laptop screens.
    You can drag it to whatever shape you want from the bottom left corner.
    Click on the paintbrush to make the Format side panel disappear. However you will need to use that side panel for most formatting.
    Peter

  • When I open a new tab, there are 9 tiles that I am assuming should have 9 sites you've either been to or would like to make as favorites. I can't figure out how

    when I open a new tab, there are 9 tiles that I am assuming should have 9 sites you've either been to or would like to make as favorites. I can't figure out how to drag a favorite into one of the tiles.

    I've done this before. When I drag a bookmark to a new tab , all it does is opens up that book mark on that page , it doesn't place and save
    it in the tile

  • How can i create my BC featured product list in to a slide show for multiple products in one row. i have products aligned in a row i just would like to make it a slide show of the multiple (20) products.

    i have products aligned in a row already using custom css.i just would like to make it a slide show of the multiple (20) products in the one row.
    i am using the featured product module from the development section of business catalyst. i would love to display as many new products as possible in one row of products. so i can just click a arrow left button and scroll through the products.
    holy-shippers.businesscatalyst.com is the site i am mentioning.

    Hello,
    Aside from any custom implementations that may be suggested by any other members, you could also consider using some hero-type slider like those found on our new responsive templates, and have each web-app item contain a product.
    Kind Regards,
    Alex Pavelescu

  • HT4009 I would like to make an in app purchase using my $20.00 credit that I have on I tunes. I am using my  i phone5. It does not give me the choice of using the credit that I have, only a credit card. How can I use the credit for the purchase??

    I would like to make an in app purchase using the $20.00 credit that I have on itunes. I am using my i phone5. It does not give me the option of using the credit that I already have, only of using a credit card. How can I use the credt that I already have instead of a credit card?

    Is Settings > General > Restrictions > In-App Purchases: ON (green)?
    Some In-App Purchases works only with credit card.

  • I already have an Apple ID account with 4 devices connected to it but I would like to make a new one with a desperate password for my school iPad. How do I do that?

    I already have an Apple ID account with 4 devices connected to it but I would like to make a new one with a desperate password for my school iPad. How do I do that?

    You can create a new Apple ID and password for the iPad but none of the content downloaded using the Apple ID associated with the four devices will be available on the iPad.
    Create new >   Apple - My Apple ID
    It's not possible to use two passwords with one Apple ID.

  • My iPhoto Library is on an EHD, I would like to make a backup on a second EHD

    My iPhoto Library is stored on an Seagate 1TB external hard drive (which is also my Time Machine or automatic backup), not on my MacBook Air. That means that I always carry the external hard drive wherever I go to access my photos (and to keep backing up my documents). I travel quite a bit so just in case the Seagate stops working, I would like to make a backup of my iPhoto library on a second EHD to leave at home.
    I have another Seagate 500GB which I used in the past on a wifi for my iPad, which also contains some photos straight from my camera (that means they did not get the 'iPhoto treatment' as I don't want to clog up the iPad through Airdrop).
    There is still plenty of room on this Seagate 500GB (300GB free) for an extra iPhoto Library backup. It should be simple enough but so far I have been unable to understand how. Clear steps to how to do it would be much appreciated.
    Many thanks!
    pilot03

    To check how the drive is formatted, connect it and run Disk Utility (in your Utiilty folder). Click on the drive's icon. (You'll see to icons, the top one is the drive itself and will have a name including the manufacturere's name and a second one is indented. Click on the top on. Now look in the bottom right corner of the DU window. WHat you want to see is: Partition Map Scheme : GUID Partition Table
    If you don't the drive should be repartitioned. Click on the partition tab, Click on Current & select 1 partiton, click on options and select GUID. That will erase the drive. Now Click on the indented icon, click on the erase tab and make sure you see MacOS Extended (Journaled) next to the Format label. If not, click on the popup menu and select it. Then erase. Now the disk is ready.
    If it is formatted for Mac already, after mounting the drive select its icon and select Get Info from the File menu. Look at the very bottom of the long dialog box. You should see a list of permissions, your user name should be listed and your permissions should be Read & Write. Or there might be a checkmark next to a label called Ignore Ownership. That should be checkmarked.

  • I would like to make one static copy of Firefox, so I can restore it if I have a hard drive crash, or if I want to upgrade my internal disk, or if I want to have a duplicate on another replacement computer.

    ''dupe of https://support.mozilla.org/en-US/questions/918473''
    I would like to make one static copy of Firefox, so I can restore it if I have a hard drive crash, or if I want to upgrade my internal disk, or if I want to have a duplicate on another replacement computer.

    Hi tchmielewski,
    You should look into [https://support.mozilla.org/en-US/kb/what-firefox-sync Firefox Sync]. I think it will do everything that you are asking for. This will allow you to have all of your Firefox preferences and settings shared across multiple computers.
    You could also create a backup on a USB drive in case of catastrophic failture. I would suggest that you back up your personal information and bookmarks using the article [[Backing up your information]].
    Hopefully this helps!

  • I've got a Iphone 3 G with IOS 4.2.1 .I would like to make an Upgrade to IOS 4.3. or better. How can I o it?

    I've got a Iphone 3 G with IOS 4.2.1 .I would like to make an Upgrade to IOS 4.3. or better. How can I do it?

    The 3G was discontinued almost 3 years ago. 4.2.1 is the end of the line for it.

Maybe you are looking for