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.

Similar Messages

  • How to convert a Java Program into a Service?

    Hello Experts,
    We want to convert a java program into a Service (not WebService).
    then we want to consume this service through SAP PI.
    Can any1 please give details as to how can we convert a java program into a service.
    Thanks in advance,
    ~ Suraj

    Hi Suraj,
    Unfortunately this information is still not enough. Probably I cannot understand right what you are trying to do.
    To work with tables and databases SAP uses several specifications, for example JPA API, Java Dictionary and so on. But I am not sure if this is what you need.
    Best regards,
    Ekaterina

  • How can I convert my Tiger DVD into a CD without spending more money?

    How can I convert my Tiger DVD into a CD without spending more money and time? I've spent over seven hours trying to upgrade an iMac 350 Hz OS 9.1 to Tiger. I have changed the iMac firmware to 4.1.9, but found that my Panther disc was only an OSX Upgrade, although the 3 cds are labeled as Installation Discs. Since I have a Tiger disc I thought I would use that. Unfortunately, my iMac only reads CDs, not DVDs. I tried networking the iMac to my G5, but upon shutdown, the OSX disc cannot be accessed. I copied the DVD files to my iMac hard drive, but again, the OSX disc cannot be accessed after shutdown.
    Is there a way I can burn a CD from the files of my Tiger DVD to get this task accomplished?

    Excuse me, but I never thought of that, nor did I have any intention of trying to rip off your company.
    I purchased four iPods for my family this Christmas. I have six iMacs just sitting around not being used. I thought that I would turn one into an iPod work station, so everyone can use one computer to recharge and hook up to iTunes 7.
    Unfortunately, iTunes does not work very well in OS9. Apple decided not to continue to support OS9 very well. I’ve spent several hours attempting to upgrade the iMac so I could set up iTunes 7. Unfortunately, my 3 Panther Installation Discs were mislabeled, and did not allow me to install OSX over OS9. My OSX 10.2.7 Installation Disc is a DVD, and my Tiger Installation disc is a DVD. Neither usable to update the iMac.
    All I want to do is set up a dumb iMac as a network interface to my G5 because I've use all of the G5's ports for our recording studio and the iPods need external power source if they are plugged directly into the G5.
    If you could show me an easier way to run iTunes 7 on the iMac I wouldn't be as ****** off as I am at Apple for not supporting the 9 older computers I own with usable help and upgrades.

  • How can I convert the volume directory into a single file installer?

    How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.

    On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
    Are you choosing the second option (self-extracting Zip file for software installation)?
    I have a word file that I created to help me remember - is there anyway to email it to you?

  • How can I convert a pdf file into a usable xcel file

    how can I convert a pdf file into a xcel file. the pdf file file is layed out in colums, justified and separated in various types - i need to be able to set colum limits manualy,  thanks for your input/

    Without further information, I would suggest using either Acrobat or the Export PDF service.

  • How can i  apply this  java program for  a jsp page?

    import java.io.*;
    import java.util.*;
    public class FileProcessing
      //create a vector container  for the input variables
         Vector variables = new Vector();
      //create a vector container for the constants
         Vector constants = new Vector();
      /*create a string expression container for the equation
         as read from the file */
         String expression = " ";
      //create double result container for the final result
         double result = 0;
         public boolean processFile(String filename,String delim)
          //index for values vector
              int num_values = 0;
          //index for constants vector
              int num_constants = 0;
          //current line being read from the external file.
              String curline = " ";
          //start reading from the external file
              try
                   FileReader fr = new FileReader(filename);
                   BufferedReader br = new BufferedReader(fr);
                   while(true)
                        curline = br.readLine();
                        if(curline == null)
                             break;
                    //determine the type of current interaction
                        boolean variable = curline.startsWith("input");
                        boolean constant = curline.startsWith("constant");
                        boolean equation = curline.startsWith("equation");
                        boolean output = curline.startsWith("result");
                   //on input variables
                        if(variable)
                          StringTokenizer st = new StringTokenizer(curline,delim);
                          int num = st.countTokens();
                          int count=0;
                          while(st.hasMoreTokens())
                               String temp = st.nextToken();
                               if(count==1)
                                    byte b[]= new byte[100];
                                    System.out.println(temp);
                                    System.in.read(b);
                                    String inputval = (new String(b)).trim();
                                    variables.add(num_values,inputval);
                                    num_values++;
                               count++;
                        // on constant values
                        if(constant)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==1)
                                       byte b[]= new byte[100];
                                       System.out.println(temp);
                                       System.in.read(b);
                                       String cons = (new String(b)).trim();
                                       constants.add(num_constants,cons);
                                       num_constants++;
                                  count++;
                        // on equation
                        if(equation)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==2)
                                       this.expression = temp;
                                  count++;
              // now we are ready to evaluate the expression
                       if(output)
                          org.nfunk.jep.JEP  myparser= new org.nfunk.jep.JEP();
                          myparser.setAllowAssignment(true);
                          for(int i=1;i<variables.size()+1;i++)
                             String name = "arg"+Integer.toString(i);
                             myparser.addVariable(name,new Double(variables.get(i-1)
                                                .toString()).doubleValue());
                          for(int i=1;i<constants.size()+1;i++)
                               String name = "arg" +Integer.
                                         toString(i+variables.size());
                               myparser.addConstant(name,new Double(constants.get(i-1).toString()));
                   //output is obtained as follows
                          myparser.parseExpression(expression);
                          result = myparser.getValue();
                          System.out.println("Assay value: "+result);
              catch(Exception e)
                   System.out.println(e.toString());
              return true;
         public static void main(String[] args)
              FileProcessing fp = new FileProcessing();
              fp.processFile("input.eqn",":");
    }//my text file name is: "input.eqn" (given below)
    input:Enter Value1:arg1
    input:Enter Value2:arg2
    input:Enter Value3:arg3
    constant:arg4
    constant:arg5
    Equation:arg1+arg2+arg3
    result:

    how can i apply this java program for a jsp pagewhy do you want to do this ?
    Your program reads from a file on the disk and formats based on a patterm.
    Jsp is not intended for such stuff.
    ram.

  • How can I convert a Word document into Adobe PDF format?

    How can I convert a Word document into Adobe PDF format?

    You can use Adobe Acrobat or Adobe CreatePDF.

  • How can you convert a PDF File into a picture format for uploading?

    How can you convert a PDF File into a picture format for uploading?

    If you have Acrobat 11, you'd select: File > Save As Other > Image
    and select one of the available image formats.

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • How can you get a java program working on a cell phone?

    I was thinking of making some stuff for cell phones so i was wondering how you get a normal java program to work on cells.

    its all j2me - midlet package....Huh? The jsr-118 MID profile alone has 11 packages, one of which is javax.microedition.midlet. Notj2me - midlet.
    works best on nokia phones.Sez who? You seem to be confusing Java ME with Symbian C.
    you can use net beans midlet packge add-on.Only it's called the NetBeans Mobiliity Pack.
    Its easy to use and has lots of tutorials.Ditto for the Wireless toolkit for CLDC.
    just search on google.Yes, but with which keywords?
    @OP:
    NetBeans mobility pack comes with a short tutorial and several samples, you also need to download the latest WTK as the ver. 2.2 which comes bundled with NetBeans is just too buggy to work with. Then there are the manufacturer-specific SDKs from Nokia, Motorola, Sony Ericsson and (maybe) others.
    If and when you get started in Java ME aka j2me, it will be appropriate to post any questions you might have on the mobility forums, not here.
    Google "j2me tutorial" for many good hits.
    luck, db

  • How can i convert this data(00000000) into date format(yyyy-MM-dd)

    Hi,
    i am using this method to convert date format from string.
    public static string FormatDate(string inputDate, string inputFormat)
                System.DateTime date = DateTime.ParseExact(inputDate, inputFormat, null);
                string datepresent = DateTime.Now.Date.ToString("yyyy-MM-dd");
                return datepresent;
    its working properly,
    but when input data is like 00000000 i am getting error this is not valid.
    how can i convert this into date format any help..!

    Have you tried the above code:
    I can see it is working with both Date and DateTime destination nodes.
    Map:
    Functoid Parameters:
    Functoid Script:
    public static string FormatDate(string inputDate, string inputFormat)
    string datepresent;
    if (inputDate == "00000000")
    datepresent = "0000-00-00";
    else
    System.DateTime date = DateTime.ParseExact(inputDate, inputFormat, null);
    datepresent = date.ToString("yyyy-MM-dd");
    return datepresent;
    Input:
    <ns0:InputDateString xmlns:ns0="http://DateFormat.SourceSchema">
    <DateString>00000000</DateString>
    </ns0:InputDateString>
    Output:
    <ns0:OutputDate xmlns:ns0="http://DateFormat.DestinationSchema">
    <Date>0000-00-00</Date>
    </ns0:OutputDate>
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful.

  • How can i convert a .indd file into pdf

    please help on this
    How can i convert .indd file to pdf file using .net c#
    please share some code sample for a better help

    Hi there,
    There's actually an easy streamlined way to do this using Acrobat.com. Here are the steps:
    1. Log in to Acrobat.com with your Adobe ID.
    2. On the left, you'll see a navigation menu that includes the item "Import and Edit". Click that.
    3. Choose the .doc (Word) file you want to convert and upload it to Buzzword.
    4. After making sure that it looks the way you want it to, go to the top menu (still in Buzzword now, not the organizer where all your files live) and click the document menu. There will be an option to "Export" - choose that.
    5. When prompted to select filetype, choose "Adobe PDF" and press OK.
    6. It'll save to your desktop, so now you have to get it into your acrobat.com organizer. To do that, close the Buzzword document by clicking the little "x" in the upper right corner, under the Sign Out button. This'll get you back to your organizer, where you can choose "Import" from the left nav menu again. This time choose your new PDF file.
    7. Select the  file icon in the organizer and click the Share button. Or, select Share  from the file context menu.
    8. Select Allow Anyone With A  Link To Share This Document to set the document to open access, and then  click Copy Embed Code. The necessary HTML code to embed the preview is  copied onto the clipboard.
    9. Open the HTML file and paste  the code into the file. The Flash previewer can display any file type  that you can convert to PDF.
    Hope this helps! Good luck, and let us know how it works out.
    Rebecca

  • How can I use a Java program to write an executable Applescript

    I'm using a PC with Windows XP. I'm a private developer. I've written a project in Java and wish to deploy it to other people using email. I've written an Install program (the Main-Class) and successfully packed this in a jar file with the project class files and some data files all as described in the deployment trail in the Java Tutorials. A recipient with a Mac with OS X downloads the jar file and runs it to install the project class files and some data files. The install program then writes an Applescript file (Vocab.scpt shown below) on the Desktop to make starting my downloaded program easier but it doesn't seem to work and I think it may be because the script file is not "executable". Could this be the case? If so, how could I change my install program to make the script file executable or alternatively use some other system to start the downloaded program?
    Vocab.scpt:-
    # Script to start: Vocab Version: 1.0.0
    do shell script "cd /Applications/Vocab; Java Vocab"
    Many thanks for your interest. Unfortunately I don't have a Mac to experiment with this problem and although I have spent some days on and off trying to find an answer in the mass of information available on Apple's website I can only find small clues here and there to answer my problem (which I would have thought was quite a common one). In Windows a batch file (eg. Vocab.bat) is automatically executable.

    I didn't expect you to have your customer run the command. I would expect you to create the executable and install it. However, there wouldn't be any difference in what you are creating and the .jar file. Either way it is a faceless icon. For that matter, it is no different than a batch file on Windows. I'm not sure what they wouldn't understand with, "copy the Vocab.jar file to wherever you want and double-click it to run the program." In addition, you probably ought to point out that Java is not installed on Mac OS X Lion (10.7.x) and when they double-click the jar file (or whatever you send them), the system will ask if they want to install Java.
    What you really need to do is package up the app inside a Mac application package and provide the user with the application on a .dmg (disk image). Take a look here: http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Jar_Bundle r/Introduction/Introduction.html#//apple_ref/doc/uid/TP40000884
    I also found this which uses ANT to create the bundle: http://informagen.com/JarBundler/

  • How can I convert a Pages document into PDF or RTF?

    I have been asked to send a Pages document to PC users in RTF or PDF format.  How can I get my Pages document to convert into other formats for PC people?
    Is that what the export feature is supposed to do?  I just don't know how to sent my document via e-mail to non-Apple conputers!

    You didn’t indicate whether you are using Pages ’09 v4.+ or the latest Pages v5(.2) release. To send an email with either Word or PDF attachment from within Pages:
    Pages ’09 v4+
    Pages menubar > Share (category Send via Mail) > (select Word (.doc) or PDF). Mail will launch into a compose window with the document already attached.
    Pages v5+
    Pages toolbar > Share > Send a Copy > Email > (select Word (.doc/x) or PDF - best). Mail will behave as above.
    Note: Either version of Pages is not an MS Word clone and it must translate content into the Microsoft document architecture. If you must have maximum Word document accuracy, you will need Office for Mac 2011, and the associated MS Word application that produces native .docx format.
    Backup your work.

  • How can I run a java program on Linux?

    I have JBuilder's IDE installed on my Linux partition and it works. However I don't know how to compile and test a program without it. Also I tried to install Limewire on Linux and although I've installed the Java SDK on the system. Once before I installed JBuilder and then JBuilder (I guess) installed it again. However it told me it couldn't find the Java Virtual Machine. Isn't this installed with the JDK? I am able to run programs through JBuilder so I can't see why I'd have a problem. Any answers to the above issues would be greatly appreciated.

    Go here and work out how to make a simple app to compile and run on the command line: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html#2b
    (You should find the JDK from a directory under the jbuilder directory so use that and not the /usr/local/jdk1.4 in the example.)
    Then find the classes or source code of your project and do the same thing to it.

Maybe you are looking for

  • Linked text boxes and flowing text in iBooks Author

    Flowing text from 1 text box to another works perfectly and pages are automatically added when needed, but what happen if you need 2 separated flowing text boxes? For example one with italian text on the left side and one for english on the right sid

  • Transfer a photo from Macbook running Mavericks to iOS8 iphone

    I've upgraded my iPhone 5S to iOS8 without realising that iPhoto is no longer supported from my MacbookAir running Mavericks. Had I know I would have delayed the upgrade. Today I found out that I can't sync any of my iPhoto albums to my iPhone. This

  • Help me with Hyperdraw velocity crescendo selection

    Hi, I used to be able to do this... but for whatever reason I can't anymore. What I want to do is this : I have a midi drum track with kick snares, hi hats, etc... I want to draw a crescendo on the snares with "hyper Draw" velocity. I used to be able

  • MiniMac won't startup from installer disks

    I've got a miniMac 1.66 GHz Intel Core Duo with 2 GB, currently running OS X 10.4.11. Permissions have been repaired, but Disk Utility reports a problem (Invalid Record Count, The underlying task reported failure on exit). But I can't get the Mac to

  • Elements 8 - must re-start computer

    I get this message when clicking on the edit option and error code 150:30 is displayed. When I re-start I get the same sutuation again. I've had Elements 8 for about 12 months now and no problems before this. Any help would be appreciated.