Is it possible to rewrite  any applet to aplications ?

I am wondering, is it possible to rewrite any applet to aplications ?
dows everything works ? then ?
look at this applet and please rewrite it to aplication if it works, I have tried but some sound did not work. and lots of other thigs went wrong.
import java.awt.*;
import java.util.*;
import java.applet.*;
public class PongBall
     // Variablen
     private int x_pos;               // x - Position des Balles
     private int y_pos;               // y - Position des Balles
     private int x_speed;          // Geschwindigkeit in x - Richtung
     private int y_speed;          // Geschwindigkeit in y - Richtung
     // Positionen
     private int ball_top;          // Obergrenze des Balles
     private int ball_bottom;     // Untergrenze des Balles
     private int ball_left;          // Linke Grenze des Balles
     private int ball_right;          // Rechte Grenze des Balles
     private int comp_top;          // Oberkante des Computerpaddels
     private int comp_bottom;     // Unterkante des Computerpaddels
     private int comp_right;          // Rechte Seite des Computerpaddels
     // Spielfeld (Radius des Balles mit eingerechnet)
     private static final int right_out = 390;
     private static final int left_out = 10;
     private static final int down_out =290;
     private static final int up_out = 10;
     private static final int radius = 10;               // Ballradius
     public PongBall (int x_pos, int y_pos)
          this.x_pos = x_pos;
          this.y_pos = y_pos;
          x_speed = 3;
          y_speed = 3;
     public void move ()
          x_pos += x_speed;
          y_pos += y_speed;
          isBallOut();
     public void isBallOut ()
          // Ball bewegt sich nach links
          if (x_speed < 0)
               if (x_pos < left_out)
                    // Geschwindigkeit umdrehen
                    x_speed = - x_speed;
          // Ball bewegt sich nach rechts
          else if (x_speed > 0)
               if (x_pos > right_out)
                    // Geschwindigkeit umdrehen
                    x_speed = - x_speed;
          // Ball bewegt sich nach oben
          if (y_speed < 0)
               if (y_pos < up_out)
                    y_speed = - y_speed;
          // Ball bewegt sich nach unten
          else if (y_speed > 0)
               if (y_pos > down_out)
                    y_speed = - y_speed;
     public void testForCollisionComputer (ComputerKI computer)
          // Initialisierung der Ballpositionen
          ball_top = y_pos - radius;
          ball_bottom = y_pos + radius;
          ball_left = x_pos - radius;
          ball_right = x_pos + radius;
          // Initialisierung der momentanen Positionen des Paddels
          comp_top = computer.getYPos();
          comp_bottom = computer.getYPos() + computer.getYSize();
          comp_right = computer.getXPos() + computer.getXSize();
          // Ist die Y - Position des Balles zwischen den Paddelpositionen?
          if ((ball_top >= comp_top - radius) && (ball_bottom <= comp_bottom + radius))
               // Ist Paddel in der N�he?
               if (ball_left <= comp_right)
                    // Normales Bouncen
                    x_speed = - x_speed;
     public int getXSpeed ()
          return x_speed;
     public int getYPos ()
          return y_pos;
     public void paint (Graphics g)
          g.setColor (Color.red);
          g.fillOval (x_pos - radius, y_pos - radius, 2 * radius, 2 * radius);
import java.awt.*;
import java.util.*;
import java.applet.*;
import java.net.*;
public class Main extends Applet implements Runnable
     // Variablen
     // Thread
     Thread thread;
     // Ball
     PongBall ball;
     // Computerpaddel
     ComputerKI computer;
     // Doppelpufferung
     private Image dbImage;
     private Graphics dbg;
     public void init(){
          setBackground (Color.black);
          ball = new PongBall (200,200);
          computer = new ComputerKI (200, ball);
     public void start(){
          thread = new Thread (this);
          thread.start();
     public void stop(){
          thread.stop();
     public void run(){
          // Erniedrigen der ThreadPriority um zeichnen zu erleichtern
          Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
          while (true)
               // Neumalen des Fensters
               repaint();
               ball.move();
               computer.move();
               if (ball.getXSpeed() < 0){
                    ball.testForCollisionComputer(computer);
               try
                    // Stoppen des Threads f�r 10 Millisekunden
                    Thread.sleep (10);
               catch (InterruptedException ex)
                    break;
               // Zur�cksetzen der ThreadPriority auf Maximalwert
               Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
     public void paint(Graphics g){
          ball.paint(g);
          computer.paint (g);
     /** Update - Methode, Realisierung der Doppelpufferung zur Reduzierung des Bildschirmflackerns */
     public void update (Graphics g)
          // Initialisierung des DoubleBuffers
          if (dbImage == null)
               dbImage = createImage (this.getSize().width, this.getSize().height);
               dbg = dbImage.getGraphics ();
          // Bildschirm im Hintergrund l�schen
          dbg.setColor (getBackground ());
          dbg.fillRect (0, 0, this.getSize().width, this.getSize().height);
          // Auf gel�schten Hintergrund Vordergrund zeichnen
          dbg.setColor (getForeground());
          paint (dbg);
          // Nun fertig gezeichnetes Bild Offscreen auf dem richtigen Bildschirm anzeigen
          g.drawImage (dbImage, 0, 0, this);
import java.awt.*;
import java.util.*;
import java.applet.*;
class ComputerKI
     /** Diese Klasse Implementiert die Bewegungen des Computers und zeichnet auch die
     Computerpaddel */
     // Deklaration der Variablen
     private int y_pos;                         // y - Position des Paddels
     private int y_speed;                    // Geschwindigkeit in y - Richtung
     private int real_y_pos;                    // Speichert die wirkliche Paddelposition (Mitte)
     // Konstanten
     private static final int x_pos = 15;     // x - Position des Paddels
     private static final int size_x = 10;     // Gr��e des Paddels in x - Richtung
     private static final int size_y = 50;     // Gr��e des Paddels in y - Richtung
     // Ball
     private static PongBall ball;
     // Construktor
     public ComputerKI (int y_pos, PongBall ball)
          this.y_pos = y_pos;
          y_speed = 4;
          this.ball = ball;
     /** Diese Methode bewegt das Paddel */
     public void move ()
          // Mitte des Paddels
          real_y_pos = y_pos + (size_y / 2);
          // Wenn sich Ball von Paddel wegbewegt, werden die Paddel in die Mitte zur�ckbewegt
          if (ball.getXSpeed() > 0)
               // Paddel oberhalb der Mitte
               if (real_y_pos < 148)
                    y_pos += y_speed;
               // Paddel unterhalb der Mitte
               else if (real_y_pos > 152)
                    y_pos -= y_speed;
          else if (ball.getXSpeed() < 0)
               // Solange Paddel nicht auf H�he des Balles ist wird es bewegt
               if ( real_y_pos != ball.getYPos())
                    // Ball oberhalb von Paddel
                    if (ball.getYPos() < real_y_pos)
                         y_pos -= y_speed;
                    // Ball unterhalb von Paddel
                    else if (ball.getYPos() > real_y_pos)
                         y_pos += y_speed;
     public int getXPos()
          return x_pos;
     public int getYPos()
          return y_pos;
     public int getXSize()
          return size_x;
     public int getYSize()
          return size_y;
     /** Diese Methode zeichnet das Paddel */
     public void paint (Graphics g)
          g.setColor (Color.blue);
          g.fillRect (x_pos, y_pos, size_x, size_y);
}

I tryed .. but couldent make it...
there where not suck thing as MyStub and MyApplet..
I know I sould replace it with something else.. but I
did not know WHAT !!
please help.
MyStub stub = new MyStub();
Applet a = new MyApplet();Ok this will be a bit longer post, but it contains fully functional example, simply copy-paste 200 lines of code to single .java file in your favourite IDE and explore it a bit.
Please take note of that this is only example. It's design have several flaws:
- user interface is tightly coupled wih applet stub/context. in real world application IMHO applet stub/context belong to application model (where 'application' means "MyAppletContainer") whereas JDesktop and JInternalFrame are part of view (from MVC pattern).
- applet lifecycle is implmeneted very carelessly. in this example applet is initialzied and started uppon adding to JDesktop and stoped when JInternalFrame is removed from desktop
- codeBase and documentBase properties of AppletStub are not set. see javadoc pages mentioned few lines below, for more information about this two properties.
- some methods in applet context throws UnsupportedOperationException (e.g. getAudioClip) because they are beyond scope of simple example or not really necessary (e.g. mentioned getAudioClip). Another approach is return null instead or leave empty body for methods with void return type.
Before studying sample code you should take a look on applet stub/context declaration in java api. visit url: http://java.sun.com/j2se/1.5.0/docs/api/java/applet/AppletStub.html and http://java.sun.com/j2se/1.5.0/docs/api/java/applet/AppletContext.html
Because this sample is nothing else than briefly scratched one possible implementation of these two interfaces.
Sample:
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.io.*;
import java.net.URL;
import java.util.*;
import javax.imageio.ImageIO;
import javax.swing.*;
public class Main {
    public static void main(String[] args) throws Exception {
        final MyContext context = new MyContext();
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                context.setVisible(true);
    /** Create sample applet */
    public static Applet createApplet() {
        JApplet applet = new JApplet() {
            public void init() {
                showStatus("Another applet initialized");
        applet.add(new JLabel("I am applet"));
        return applet;               
/** Single applet stub */
class MyStub extends JInternalFrame implements AppletStub {       
    /** Create new applet stub*/
    public MyStub(Applet applet, MyContext context) {
        // Setup applet
        this.applet = applet;
        this.context = context;
        applet.setStub(this);
        add(applet);
    /** Owned applet */
    Applet applet;
    /** Context who own this stub */
    MyContext context;
    /** Applet document base */
    URL documentBase;
    /** Applet code base */
    URL codeBase;   
    /** Applet parameters */
    final Map<String, String> param =
            new HashMap<String, String>();   
    /** ##AppletStub##
     * Applet is active whenever frame
     * is selected for example.
    public boolean isActive() {
        return ((JInternalFrame)this).isSelected();
    /** ##AppletStub## */
    public URL getDocumentBase() {
        return documentBase;
    /** ##AppletStub## */
    public URL getCodeBase() {
        return codeBase;
    /** ##AppletStub## */
    public AppletContext getAppletContext() {
        return context;
    /** ##AppletStub## */
    public void appletResize(int width, int height) {
        // allow resize as needed
        setSize(width,height);
    /**##AppletStub## */
    public String getParameter(String name) {
        return param.get(name);
/** Main application frame and applet context */
class MyContext extends JFrame implements AppletContext {
    /** Named InputStreams */
    private Map<String,InputStream> streams =
            new HashMap<String, InputStream>();
    /** All applet stubs */
    private Map<String, MyStub> applets =
            new HashMap<String, MyStub>();
    /** Applets as enumeration */
    private Vector<Applet> appletsEnum =
            new Vector<Applet>();
    /** Ui applet container */
    private JDesktopPane jAppletPane =
            new JDesktopPane();
    /** Status line */
    private JLabel jAppletStatus =
            new JLabel("Add first applet");
    /** Create context */
    public MyContext() throws PropertyVetoException {
        // Create ui
        setSize(600,400);
        setDefaultCloseOperation(EXIT_ON_CLOSE);       
        setLayout(new BorderLayout());
        add(jAppletPane, BorderLayout.CENTER);
        add(jAppletStatus, BorderLayout.SOUTH);
        add(new JButton(new AbstractAction("Add applet") {
            public void actionPerformed(ActionEvent e) {
                doAddApplet();
        }), BorderLayout.NORTH);
        // Very simple applet lifecycle implementation
        // Applet is initialized and started when added and
        // stopped and destroyed when removed from content pane
        jAppletPane.addContainerListener( new ContainerListener() {
            public void componentAdded(ContainerEvent e) {
                Component c = e.getChild();
                if (!(c instanceof MyStub))
                    return ;
                Applet applet = ((MyStub)c).applet;
                applet.init();
                applet.start();
            public void componentRemoved(ContainerEvent e) {
                Component c = e.getChild();
                if (!(c instanceof MyStub))
                    return ;
                Applet applet = ((MyStub)c).applet;
                applet.stop();
                applet.destroy();
    /** Add applet action body */
    private void doAddApplet() {
        // Create some arbitrary applet and name
        Applet applet = Main.createApplet();
        String appletName = "Applet "+System.currentTimeMillis();
        // Add applet and its stub to this container
        MyStub stub = new MyStub(applet, this);
        applets.put(appletName, stub);
        appletsEnum.add(applet);
        // Add to ui
        jAppletPane.add(stub);
        stub.setSize(400,300);
        stub.setVisible(true);
    /** ##AppletContext## */
    public Iterator<String> getStreamKeys() {
        return streams.keySet().iterator();
    /** ##AppletContext## */
    public void setStream(String key, InputStream stream)
    throws IOException {
        streams.put(key, stream);
    /** ##AppletContext## */
    public InputStream getStream(String key) {
        return streams.get(key);
    /** ##AppletContext## */
    public Enumeration<Applet> getApplets() {
        return appletsEnum.elements();
    /** ##AppletContext## */
    public Applet getApplet(String name) {
        MyStub stub = applets.get(name);       
        return stub == null? null: stub.applet;
    /** ##AppletContext## */
    public Image getImage(URL url) {
        try {
            return ImageIO.read(url);
        } catch (IOException ex) {
            JOptionPane.showMessageDialog(this,
                    "IOException: "+ex.getMessage());
            return null;
    /** ##AppletContext## */
    public AudioClip getAudioClip(URL url) {
        throw new UnsupportedOperationException();
    /** ##AppletContext## */
    public void showStatus(String status) {
        jAppletStatus.setText(status);
    /** ##AppletContext## */
    public void showDocument(URL url, String target) {
        throw new UnsupportedOperationException();
    /** ##AppletContext## */
    public void showDocument(URL url) {
        showDocument(url, null);
}Hope this will help a bit.
~~
Adam
Message was edited by:
a3cchan
When I've modified Main.createApplet() to create Your Pong applet I was able to create and run your applet in my simple container with just little glitches (mostly related to my simplistic implementation of ui).
If you wish to 'convert' applet to swing application, You don't have use JDesktop. Add single applet to the frame instead. It should be quite simple from given example.

Similar Messages

  • Is it possible to emulate an applet with all debugging and connectivity?

    I am sorry to ask this probably very common question, but i have googled a lot and haven't found any really helpful and clear information about this topic. i have to develop an javacard applet which functionality can be controlled by a terminal (GUI).
    Is it possible to build both applet and terminal from source and debug (incl. stepping, breakpoints, etc..) while only using the tools provided by the javacard dev-kit?
    For example, i want to start a kind of process which launches my simulator or emulator with my already built applet. Afterwards i start the process of my terminal, which then connects to my applet and start sending APDUs. I want then see any APDUs sended by my terminal beeing received inside my applet so that i can step through my applet code. Is this possible at all, what tools exactly do i need or do i need any other 3rd party tools?
    Thanks a lot,
    Stream

    I will strongly recommend to use JCOP simulator or JCOP Java card from IBM.
    Download Eclipse 3.1 and JCOP Plug-in 3.1.1(http://www.zurich.ibm.com/jcop/products/tools.html).
    Next, you can either purchase an activation code for the simulator or a piece of JCOP41V22 Engineering Sample Java Card from IBM at http://www.zurich.ibm.com/jcop/order/tools.html
    The advantage of the real card will be implementation of your codes written and debugged under simulation.
    I hope the above will help.

  • Cannot get any applets to run

    Here�s my story
    I�ve downloaded the latest JDK (including JRE 1.5_06) and install goes fine. For example I can run java programs I've written locally.
    The problem is with my Browsers and the JRE (both IE 6 and Firefox)
    I run XP SP2 and am up to date on everything
    I thought the problem was with the Microsoft VM (MSJVM) and removed it so that ALL I have is the Sun JRE. I even found a site (at Penn State) that talked about how before installing the JRE
    You have to remove a left over registry key so that the Sun package installs correctly. http://www.oit.state.pa.us/oaoit/cwp/view.asp?a=172&q=194113&oaoitNavDLTEST=%7C9138%7C
    I did all of that and it appears to work fine.
    So now the MSJVM is gone and cannot be reinstalled but I cannot run ANY applet. I�ve checked EVERYTHING I can possibly think of but I�m missing something.
    The MSJVM did work before so I don�t think it�s a firewall problem.
    Every applet gives me the following types of errors (seen in the java console)
    The following happens on the Sun jre verify page at
    http://www.java.com/en/download/help/testvm.xml
    load: class testvm.class not found.
    java.lang.ClassNotFoundException: testvm.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-testvm.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    This is similar behavior for EVERY applet no matter what site it's located on. I�ve checked cache, paths, registry setting. I can�t think of anything else to try. It's as if every applet cannot access the �jar� files needed from its server.
    Behavior is the same from IE or Firefox. I�ve uninstalled and reinstalled many times.
    Any help would be greatly appreciated.
    Thanks
    Marc

    If anyone should happen by here with this problem the following is the solution. Even if you have not installed MSN make sure to check this (I did not have MSN installed so there must be other programs that change this)
    When MSN Messenger 7.5 installs it changes a registry entry: HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath from REG_EXPAND_SZ to REG_SZ which causes it to fail to expand %SystemRoot%, therefore breaking the path.
    Changing the key back to REG_EXPAND_SZ solves the problem on the machine, but to do so you have to delete the entry and re-create it!
    If you feel uncomfortable making registry changes I suggest you follow these directions:
    1. Open REGEDIT
    2. Navigate to HKLM\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
    3. RIGHT click in the right pane and create a New Expandable String Value
    4. Name it DataBasePathExpand
    5. Right click on DataBasePathExpand and click Modify
    6. Enter the value of %systemRoot%\System32\drivers\etc and save
    7. Now right click on DataBasePath and delete it
    8. Right click on DataBasePathExpand and rename it to DataBasePath

  • It`s possible to transmit any video source from iMac to apple TV?

    It´s possible to transmit any video source from Imac to Apple TV?.

    It must be in iTunes and compatible with the ATV (i.e. just because something plays on your computer in iTunes does not mean it will play on the device)
    Below are the compatible formats
    H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

  • My browser wont open any applet

    Hi, im new at Java, i dont know almost anything about it; but im going to learn.. so i installed j2sdk1.4.0_01 and now i cant view any applet at all i always get this message: Exception:java.lang.NullPointerException.
    I havent program an applet yet.. that error is for any applet on any site.
    How do i fix it????

    Thanks for your answer but still need help; ive read a lot of posts about NullPointerException; but im really totally new to Java so i dont know how to "debug" -.-- the thing is, i wanted to play online at hte games was an applet... i got that exception and tested many sites with applets and all failed to load... so it must be some bug or wrong configuration in my computer so --- anyone??

  • How to know the size of the EEPROM after loading any Applet

    How can I know the size of the EEPROM after loading any applet..
    Any comments on this is appreciated
    Thank you in advance

    kishansaralaya wrote:
    Thanks for your suggestion.
    But when I try to use
    short memRemaining = JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);
    it always shows 32767. Even after loading some applet.
    And I am using 72K Java card then how it can show only 32Kbyte as the remaining memory value.This is because a short isn't big enough to display a number above 32767. One way around this is to use a byte[] to fill up some of the space with your temporary applet.
    byte[] memoryFiller = new byte[32767];
    short memRemaining = JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);The value of memRemaining + 32767 is the amount of persistent memory left on the card. If memRemaining is still 32767, you can add another byte[] starting with small values and increase the size until you get a meaning ful result (less than 32K).

  • Is it possible to use any nvidia 8800GT in my Mac Pro?

    Hi,
    I have a 1st gen Mac Pro, with PCIe slots. Is it possible to use any 8800GT or do i have to get one from the apple webshop. This upgrade hasn`t come to Norway yet, but i`ve found some other great 8800GT`s. I don`t see why i can`t buy a MSI 8800GT (as long as it`s PCIe and not 2.0).
    What do you think? Please help me.. =/

    Thanks for the replies.
    Thats a real shame, though. The Upgrade kit cost the equivalent of $475 in Norway. Thats insane for a $170 graphics card. I found one computer store that had it listed at about $355, which i find strange. How could another computer store sell apple hardware cheaper then the official apple reseller?
    I find this whole situation frustrating. I can't buy from nvidia.com either as the taxes and stuff would likely end up in the $200 area. For once i wish i lived in the US.
    Thanks for the help. =)

  • My hard disk has mechanical issues, is it possible to recover any of the information?

    My iMac is a year and a half old, one day I turned it on and it wouldn't load, I mean, it stayed on the white screen with the apple. I tried everything, nothing happened so I took it for maintenance. They checked it and said the hard disk has mechanical issues, is it possible to save any of the information?
    How come, using it such for such a short period of time, the hard disk is already damaged?

    Apple isn't known to use the highest quality hard drives. The Seagate in my mid-2011 iMac gets a 2 year warranty when sold on it's own, which in a world of 3-5 year warranties, isn't inspiring.  I got Applecare for that reason.
    Your year and a half old iMac has one of the hard drives that either needs to be replaced by Apple (which may be a refurbished drive, if that matters to you) or you can send your iMac to OWC (macsales.com) and have them install a drive. Apple now uses a proprietary connector which has a sensor included on the drive. OWC has a service where they'll work magic to install the drive of your choice with added sensor, so the system works. If you were to install a regular hard drive yourself, the system thinks the hard drive is overheating and runs the fan on full.

  • My time capsule erased all my files, is it possible to recover any of it?

    My time capsule erased all my files, is it possible to recover any of it?

    None of free or lower priced utilities will get the files back. Disk Warrior might be able to get into the drive.
    http://www.alsoft.com/diskwarrior/
    If still no luck, you will need to look into having a professional data restoration service try to get the files.
    Unfortunately, no guarantees with either approach above since Disk Utility was unable to repair things and the file structure is likely corrupted.
    Good luck in your quest.

  • Is it possible to call other applet?

    Hi Friends..
    I want to know, is it possible to "CALL" other applet from one Applet?..
    And is it a good implementation or not?..
    Could you describe the Applet that call other Applet, perhaps through the example application maybe..
    Thanks in advance..

    Hi,
    You can call the process method on another applet if you wish (if it is in the same package) or you can use Sharable Object Interfaces (outlined in the user guide). We have used SOI extensively to share data between applets in different packages (and as such different contexts on the card).
    Cheers,
    Shane

  • When i open my computer the home page is displayed but blocked, it is not possible to open any application

    when i open my computer the home page is displayed but blocked, it is not possible to open any application, even if my mouse is moving correctly

    You could try wiping the hard drive and reinstalling the OS and all your programs.
    Did you install any programs yesterday?
    If not it may be best to take it to an Apple care center and have it checked out. Take it in while it is asleep so you ccan show then what is happening.

  • When U2 launched their latest album it was downloaded to all iTunes users free of charge.  It does not seem to be possible to delete any or all of these tracks.  Can anybody tell me how to delete these tracks?

    When U2 launched their latest album it was downloaded to all iTunes users free of charge.  It does not seem to be possible to delete any or all of these tracks.  Can anybody tell me how to delete these tracks?

    Hi SJHocking,
    Welcome to the Apple Support Communities!
    If you would like to remove the iTunes gift album “Songs of Innocence”, please follow the instructions outlined in the attached article. 
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases - Apple Support
    Cheers,
    Joe

  • Aperture keeps crashing. "Check with developer to make sure aperture works with version of mac os x you might need to reinstall the application ..be sure to install any updated for aplication and mac os x"

    "Check with developer to make sure aperture works with version of mac os x you might need to reinstall the application ..be sure to install any updated for aplication and mac os x"
    I updated aperture and os x. Latest versions. I also reinstalled aperture. Still getting the same.  please help

    Process:    
    Aperture [448]
    Path:       
    /Applications/Aperture.app/Contents/MacOS/Aperture
    Identifier: 
    com.apple.Aperture
    Version:    
    3.2.2 (3.2.2)
    Build Info: 
    Aperture-201096000000000~2
    App Item ID:
    408981426
    App External ID: 5333832
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [125]
    Date/Time:  
    2012-02-24 23:05:55.982 +0000
    OS Version: 
    Mac OS X 10.7.3 (11D50b)
    Report Version:  9
    Interval Since Last Report:     
    18654 sec
    Crashes Since Last Report:      
    20
    Per-App Crashes Since Last Report:   20
    Anonymous UUID:                 
    244A3A5D-F483-4E17-AFD2-B35CB6B4EBD4
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /Library/Frameworks/PluginManager.framework/Versions/B/PluginManager
      Referenced from: /Applications/Aperture.app/Contents/MacOS/Aperture
      Reason: no suitable image found.  Did find:
    /Library/Frameworks/PluginManager.framework/Versions/B/PluginManager: no matching architecture in universal wrapper
    I havnt installed anything for last 10-15 days.
    Aperture library located on hd.
    12 ram  870GB free space

  • Please help - trouble getting any applet to run with Mozilla or IE?

    Hello,
    I am using Mozilla Firebird and MS IE 6 under WinXP Pro. I have installed JRE 1.4.2 and ensured that java is enabled in both browsers. But no matter what I do, no applet will run, at all. No classes are loaded, I just get an empty "resource not found" box. I must have installed the JRE 4 times now, and the process seems to finish flawlessly. Any ideas? Do I have to patch my windows? I would really like to test some java on this pc!!!!!!
    Thanks.

    I am using Mozilla Firebird and MS IE 6 under WinXP
    Pro. I have installed JRE 1.4.2 and ensured that java
    is enabled in both browsers. But no matter what I do,
    no applet will run, at all. No classes are loaded, I
    just get an empty "resource not found" box. I must
    have installed the JRE 4 times now, and the process
    seems to finish flawlessly. Any ideas? Do I have to
    patch my windows? I would really like to test some
    java on this pc!!!!!!Hi,
    this combination works fine for me!
    For Firebird check the Plugins Subdir or just write "abaout:plugins" the address field and hit enter. It should show you all plugins avail in Firebird.
    Enable the java console (not JavaScript!!) in the Java(TM) Plugin settings.
    Than a window whill show you "the work" of the Java Plugin.
    Hope this helps

  • Possiblity to import any particular table from the full dmp file

    Hi,
    I am using Oracle 10G database.
    I a have dmp file.
    I need to import only a particular from that dmp file.
    Is there any possiblity to import a particular table from the whole dump.
    Thanks and Regards,
    Ansaf.

    Ansaf wrote:
    Hi,
    I am using Oracle 10G database.
    I a have dmp file.
    I need to import only a particular from that dmp file.
    Is there any possiblity to import a particular table from the whole dump.
    Thanks and Regards,
    Ansaf.
    You can specify like below example
    impdp hr TABLES=employees, xxx, xxxCheers

Maybe you are looking for