How do we create a java applet that creates a screencast/

Does anyone know about any open source code that can create a screencast? I necessarily want it to be a java appplet as I want to embed the applet to be captured at the client side. My clients dont have any security restrictions imposed on their machines. Any suggestion is appreciated. Thank you.

How do we create a CURSOR that consists of two TABLESA cursor does not consist of data. A cursor is not a result set that is created in the memory of the database server and populated with "+results+".
A cursor is source code (SQL or anonymous PL/SQL block) that has been compiled into an executable program. The execution plan (see the EXPLAIN PLAN SQL command) describes the structure of this program and how it will be executed.
When you fetch data from a cursor, you are receiving the output of this executable program known as a cursor.
So as the other respondents explained in this thread, you need to create SQL source code that joins tables. Then you send this SQL to the server, where it is parsed and compiled into a cursor in the database's Shared Pool (together with all other SQLs that the database received - all SQLs are compiled as cursors).
Once this is done, you can open the cursor (execute the cursor program) and fetch data from it.

Similar Messages

  • Java program that create a graphic interface of the WGET program

    Hello,
    How can I make a Java program that create a graphic interface of the WGET program.
    Please post something already developed.
    No Applet.
    Thank you.

    You can use java.lang.Runtime.exec or java.lang.ProcessBuilder to execute external programs like wget. Generally you pass one of those methods an array of Strings; the first String is the name of the executable, and the rest are arguments. You get a Process object that represents the running process that you've started; you can get standard input and output streams from that Process to read output. This is probably stuff your teacher already told you...but if not, hope it helps.
    You should read this article about pitfalls around Runtime.exec:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Much of the information there also applies to ProcessBuilder.
    Good luck on your homework.

  • How do I write a Java Class that Loads a RPT and exports to PDF All Automatically?

    <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="Times New Roman" size="2">I am using Crystal Reports for Eclipse and I am trying to create a java class that will do everything independently.<span>  </span>It will take a .rpt file, load it with data from the database and then export that to a pdf file and put that pdf in a specific location with a specific name.</font></p><font face="Times New Roman" size="2"> </font> <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="Times New Roman" size="2">I am using the Crystal Reports for Eclipse and the sample jsp project does that but I am looking for a java class example that doesn't require human interaction through the website.<span>  </span>I have read the help file and seen snippet examples but I am not seeing a complete example.<span>  </span>Could someone point me in the proper direction of a good example either in the forum or the help file for eclipse?</font></p>

    <p>Hi,</p><p>    If you wanted to achieve this in a JSP page then I would suggest using the JSP Page Wizard as it allows you to select PDF as an output type. You can run the wizard and choose the PDF output and it will automatically generate the required code for you. </p><p>However, as you want to use a Java class then I would suggest downloading the following package of sample code:</p><p><a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip">http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip</a> </p><p>This package includes a number of sample Java classes that demonstrate how to use the engine. The one that you will be interested in is titled "<strong>JRCExportReport"</strong> </p><p>To make life easier I would suggest trying the class in a Crystal Reports Web Project as the runtime libraries will automatically be in the classpath. </p><p>Anyway, give this a shot and let me know how you make out. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

  • How do i get the java applet to stop appearing on the dock?

    how do i get the java applet to stop appearing on the dock? it seems to do this for pop-up windows.  also, the text on the popup window is different, how can I change that to normal?   this all started when i loaded MAC OS X 10.6.8

    You could try to block popup windows.
    Safari / Preferences / Security
    Also, go to Safari / Preferences / Extensions and clean out everything there.

  • Java applets that worked fine under 10.6 don't work under 10.7. What can I do to correct this?

    Java applets that worked just fine are no longer working after upgrading to MacOS X 10.7 (Lion).  Here is one example: 
    So far, I've found two Java Applets that have become inoperative under 10.7.  Here's one example: http://www.vimas.com/videoLarge.php
    I did download and install the Java  VM for Lion and I did "activate" the applet when prompted to do so.  However, the example  cited above fails to load.
    A second example is  JFileUpload which enables a drag & drop UI with which to upload files.  Worked great under 10.6 but under 10.7 dropping a file on the UI only causes the web browser to display the file, not upload it.

    @etresoft: "You have old cache files left over from you Snow Leopard Java installation. Just run the Jave Preferences application and delete your cache files."
    I did that right off but this is not the issue and that tactic didn't work.  Apple has acknowledged the issue and the workaround (extract the applet from the web page) seems to suggest that Safari is at fault.  Safari 5.2 was just released today but, unfortunately, doesn't correct this issue.
    In the case of the applet that I use most often (JFileUpload), it also has a File menu so I use that instead.  Nonetheless, I sure do miss drag & drop.  As more and more of our Mac users upgrade to Lion and bump into this issue, we expect our  support effort to be challenged with an increasing number of irate users.  It doesn't help to be able to say "It's Apple's Fault" but that's all we can say.

  • How do I clear all of the java applets that have been downloaded?

    I migrated firefox and other applications to my new mac so that I would not to reenter all of my passwords saved by firefox. However, it appears that the java applets were also transfered and one of these applets does not work with the new intel mac. I was able to get the same applet to work in safari, and I was able to delete the applet from safari as well, but was unable to do so in firefox.
    So, how do I clear all of the previously downloaded applets, or even better, just the one I want to? Clearing all of the recent history didn't work.
    Here is the site:
    http://www.mdbg.net/chindict/chindict.php
    == This happened ==
    A few times a week

    I did that already, and it cleared the applets for Safari, but not for Firefox.

  • A helloworld java applet that will work on an html file

    I have spent a lot of time trying to get a java applet to work on a web page. Of course, I can download zip packages and they will work. But I can?t seem to find a formula for creating something simple that will work.
    All the examples that I have found will either work on Windows when running it on the command line, or work in Netbeans, but none of them will work when I put time into an html file on a linux web server.
    Can someone post, maybe the simplest code that will output ?Hello world? on a Linux Apache Web server.
    I have the gist for creating and programming java? as least a basic start. But I?m anxious to see an example that I can compile that will actually display on an html file and not just my Windows programming environment.
    Thanks in advance for any feedback on this.
    -- L. James
    L. D. James
    [email protected]
    www.apollo3.com/~ljames

    AndrewThompson64 wrote:
    apollothethird wrote:
    I have spent a lot of time trying to get a java applet to work on a web page. Of course, I can download zip packages and they will work.Does that somehow relate to this problem? What exactly does a Zip 'package' do when it 'works'?It displays the text on the web page.
    >
    .. But I can&#146;t seem to find a formula for creating something simple that will work.
    All the examples that I have found will either work on Windows when running it on the command line, or work in Netbeans, but none of them will work when I put time into an html file on a linux web server.
    Can someone post, maybe the simplest code that will output &#147;Hello world&#148; on a Linux Apache Web server.
    Is that a question? Please make sure to add a question mark.
    // <applet code='HelloWorldApplet' width='400' height='300'></applet>
    import javax.swing.*;
    public class HelloWorldApplet extends JApplet {
    public void init() {
    add(new JLabel("Hello World!"));
    validate();
    I have the gist for creating and programming java&#133; as least a basic start. ... Applets are not for newbies. Leave them alone for at least another 6 months.Thanks, Andrew. The lines of text you provided were very enlightening. I was able to do a lot of dissecting and experimenting and have the full gist of my question answered. I don?t have any problems outputting either text on the console or text on browsers.
    -- L. James
    L. D. James

  • How to get started on java applet client/server game?

    Hi,
    I've googled, but didn't find any useful information about creating java applet client/server game. I've followed the example of Client/Server Tic-Tac-Toe Using a Multithreaded Server in Java How to Program from Deitel, but I when I tried on Applet, my cliet doesn't communicate with the server at all. Any help to get started with Applet would be great. Thanks!

    well, i decided to put in portion of my codes to see if anyone can help me out. the problem I have here is the function excute() never gets called. here is my coding, see if you can help. Notice, I'm running this on Applet thru html page. This shouldn't be much different than running JFrame in term of coding right?
    Server.java
        public void init()
            runGame = Executors.newFixedThreadPool(2);
            gameLock = new ReentrantLock();
            otherPlayerConnected = gameLock.newCondition();
            otherPlayerTurn = gameLock.newCondition();
            players = new Player[2];
            currentPlayer = Player1;
            try
                server = new ServerSocket(12345, 2);
            catch (IOException ie)
                stop();
            message = "Server awaiting connections";
        public void execute()
           JOptionPane.showMessageDialog(null, "I'm about to execute!", "Testing", JOptionPane.PLAIN_MESSAGE);
            for(int i = 0; i < players.length; i++)
                try
                    players[i] = new Player(server.accept(), i);
                    runGame.execute(players);
    catch (IOException ie)
    stop();
    gameLock.lock();
    try
    players[Player1].setSuspended(false);
    otherPlayerConnected.signal();
    finally
    gameLock.unlock();
    Client.java
        public void init()
            startClient();
        public void startClient()
            try
                connection = new Socket(InetAddress.getByName(TienLenHost), 12345);
                input = new Scanner(connection.getInputStream());
                output = new Formatter(connection.getOutputStream());
            catch (IOException ie)
                stop();
            ExecutorService worker = Executors.newFixedThreadPool(1);
            worker.execute(this);
        }So after worker.execute(this), it should go to Server.java and run the function execute() right? But in my case, it doesn't. If you know how to fix this, please let me know. Thanks!

  • Realy no one knows how to remove the word "java applet window" besides sign

    Hi, everyone,
    I am trying to remove the line "java applet window" from my nice/colorful interface, but what I was told is that I can not remove if i do not sign for digital singiture. Is this really a limition of Applet?
    I do not know why t he design want to add this stupid feature. As most people are not technical people, they do not care whether it is applet or not. For technical people, they should know that some thing popup from the browser and have a "java" sign on the right top corner is Applet.
    Only too sad about that.

    In the browser window, the address bar will also display the correct URL for the page being displayed.
    An applet window could spoof this address bar and otherwise mimic the look and feel of the browser (or any other application), thus tricking the user into believing the window to be legitimate.
    Just because there are already potential security/privacy issues in the applet specification, doesn't mean we want to open up another one! Why do you want an unsigned applet with a window without a warning message? You'll need a certificate anyway if you're planning on using secure communication - sending client data across an unsecure connection is rather less professional than spawning a window with a well-known and generally-ignored warning message.

  • How to get rid of "Java Applet Window"  from JDialog

    Hi Friends,
    I am developing an applet that uses JDialog class. I want to get rid of "Java Applet Window" that appears at the bottom of my JDialog.
    When I run my application from the web, I do not want that to show up.
    Is there any way of doing it ?
    Many thanks in advance.
    Ramesh

    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%22Java+Applet+Window%22&col=javaforums&x=36&y=9

  • How use the jtable in java applete

    hi master
    sorry i again Disturb you
    sir pleae give me idea how i use the jtable in java applete
    please send me code
    thank's
    aamir

    Hi,
    see http://www.exampledepot.com/
    Frank

  • Java Applet that reads from file

    I'm quite new to java, I'm fiddling around with it for a nonprofit organization.
    I have a java program that reads from a specified file and generates output but my final goal is a search box on the website that will take user input, run it through my program which searches through a prespecified file, and generate output.
    I'd appreciate any help.

    What can I do with this? I need it to be a String because I'm breaking it down to Tokens.
    Thanks,
    -Grant
    Scanner input = null; //input is going to be the Scanner object
    input = new Scanner(new BufferedReader(new FileReader("test.txt"))); /*setting up the Scanner object "input" to read the file "test.txt"*/
    String words = null;
    String MyArray[] = new String[5000];
    while (input.hasNext()) { //Puts ALL the file's data into one string
    words = words + " " + input.next(); /*Without that space the string "words" contains is all just one word making it unTokenizable*/
    }

  • Can I create a toolbar item that creates a new message to a frequent correspondent?

    I used to use Eudora, but a year ago I converted to Thunderbird. One of the features I liked in Eudora was the ability to put an icon on the tool bar that created a blank message addressed to a frequent correspondent. When one added the icon, one was given the opportunity to add the email address or the nickname of the addressee. Then whenever one clicked on the icon, a blank message was created addressed to that addressee. In fact, one could put the name of an address book list of addressees as the intended recipient and in that way one could instantly create a new message to the entire group. It's almost like having a button which calls a macro which creates the blank message complete with addressee.
    Just thought I'd ask. :)

    There is an addon Custom Buttons wheer you can create your own button.
    But you have to write your own code for what the button suppose to do.
    Like add specific address to cc of an active Write window.:
    /*Code*/
    var recipientType = "addr_cc";
    var address = "foo bar <[email protected]>";
    AddRecipient(recipientType, address);
    // awDeleteRow(awGetMaxRecipients());
    He who is looking will be searching.

  • I'm trying to develop a PKI enabled plugin for firefox using add-on builder. how do you call a java applet using add-on javascript on add-on builder ?

    i have a signed applet which encrypts and digitally signs text information. i need to call this applet from the add-on javascript on firefox's add-on builder . how do i do it ?
    i've tried using contentScript and contentScriptFile to load the html file which calls the applet vis applet tag , it doesnt work.
    this is the error which croped up:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-383-11A511 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /Users/sreer1990
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NullPointerException
    at sun.net.www.ParseUtil.toURI(ParseUtil.java:261)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:861)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(PluginURLJarFileCallBack.java:81)
    at sun.plugin.PluginURLJarFileCallBack.access$000(PluginURLJarFileCallBack.java:48)
    at sun.plugin.PluginURLJarFileCallBack$2.run(PluginURLJarFileCallBack.java:150)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(PluginURLJarFileCallBack.java:127)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:186)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50)
    at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70)
    at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:201)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(CachedJarURLConnection.java:145)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:91)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(DeployURLClassPath.java:752)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(DeployURLClassPath.java:631)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(DeployURLClassPath.java:698)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(DeployURLClassPath.java:690)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(DeployURLClassPath.java:652)
    at com.sun.deploy.security.DeployURLClassPath$3.run(DeployURLClassPath.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoader(DeployURLClassPath.java:389)
    at com.sun.deploy.security.DeployURLClassPath.getLoader(DeployURLClassPath.java:366)
    at com.sun.deploy.security.DeployURLClassPath.getResource(DeployURLClassPath.java:230)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:966)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:955)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:134)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:240)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:675)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
    at java.lang.Thread.run(Thread.java:680)
    Exception: java.lang.NullPointerException

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Is it possible to write a Java file that creates/compiles other Java files?

    My goal is to write a program that writes files containing Java code depending on the user's input. That's the easy part. The tough part, I think, is to get the Java file to use the Java compiler to compile, and run, those newly created files.
    I know this sounds crazy, but I really want to get this to work.
    Can someone please tell me how to do this?

    You could use the eclipse compiler
    http://help.eclipse.org/help31/index.jsp?topic=/org.ec
    lipse.jdt.doc.isv/guide/jdt_api_compile.htm
    Or the one from the JDK (com.sun.javac.Main located
    in the JDKs /lib/tools.jar). But that won't work with
    an JRE unless you ship the tools.jar too. And it
    isn't what i would call an official API. So i would
    rather use the eclipse compiler. I did this once and
    it worked fine.it isn't what sun call an official API, either, which is somewhat more important! the license even used to restrict re-distribution of tools.jar (I think that's changed now)

Maybe you are looking for

  • Dynamic Selection Screen ABAP

    Hi all , In ECC 6.0 , i want to create a dynamic screen . Requirement is as follows : I will maintaining a Z table which will contain Program Name (Zreport1 , zreport2 , zreport3 , etc ) all with a common selection parameter PAYROLL AREA .   Now , th

  • OBBH enhance F-28,F-32.... to populate the Profit center

    HI All, I need to enhance F-28,F-32.... to populate the Profit center based on the condition. I have implemented exits and BADI's none of them were suitable. I saw some substitution OBBH process in online that weren't   in detail I was not sure what

  • Upgrade from sp3 to sp4

    Dear all, Help me please with the following trouble i found during the subj. I had a directory with the BEA Platform installed. As a first step of the 'upgrade' procedure the platform has been uninstalled, then I killed all the directories left(where

  • E1EDKT1 Data Record of an IDoc.

    We are working on an Outbound Inovice IDOC of Basic Type INOVICE02 and Mesg type INVOIC. In data record E1EDKT1 which has got E1EDKT2 Segment is mapped some unknown field whre email ID was coming. We need to change the value of this emil ID. We dont

  • I can't find my project

    I was working on a project in Final Cut Pro 10.1 and my entire system just froze. I waited for about five minutes for the problem to fix itself, but nothing. So I did a hard shutdown. Fine. I open Final Cut back up, and go to my event. And my project