Making code faster smaller and more elegant

hi just like yesterday I�m new to java. first of all I want to get familiar with the basics. I wrote a little game therefore. with some help. within the code are no mistakes, compiling errors or such. but now my question is why is my CPU usage nearly 75% when I run it. when the �h� ( Thread.sleep(h); ) is about 5 which makes the game faster but the CPU usage is 100%. Are there any possibilities to make the code faster? next question. are there any tricks to make the code more elegant or smaller? you know what I mean? it�s quite difficult for me to express what I want cause my English isn�t the best�
what ever here is the code
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
public class BricksGame extends JFrame implements MouseListener, MouseMotionListener{
     private int mouseX, mouseY;
     double a = -3;
     int delta = 1;
     int beta = -3;
     int x_max = 288;
     int y_max = 320;
     int x_min = 0;
     int y_min = 0;          
     int x = 5;
     int y = 5;
     int b = y_max;
     int h = 15;
     int y_block = 80;
     int i;
     int x_point;
     int y_point =0;
     int punkte = 0;
     double k ;
     double r;
     int zahl = 1;
     boolean changed = true;     
     boolean gameNotOver = true;
     JPanel panelOben = new MyPanel();
     JPanel panelUnten = new JPanel();
     JLabel labelU1 = new JLabel();
     JLabel labelU2 = new JLabel("Punktestand: 0");
       JButton b1 = new JButton("restart");
     public  BricksGame(){
          setSize(400,600);
          setLocation(100,200);
          Dimension full = getSize();
          mouseX = full.width/2;
          mouseY = full.height/2;
          addMouseMotionListener(this);
          addWindowListener(new WindowAdapter() {
               public void windowClosing(WindowEvent e) {System.exit(0);}
          panelOben.setLayout(null);
          //Ausrichtung der Elemente
          panelOben.setBounds(50, 50, 400, 500);
          panelUnten.addMouseMotionListener(this);
          panelUnten.setLayout(null);
               //Ausrichtung der Elemente
          panelUnten.setSize(300, 100);          
          panelUnten.setBounds(50, 500, 300, 100);
          labelU1.setBounds(100,380,130,25);
          labelU2.setBounds(150,430,130,25);
          b1.setBounds(150,500, 80, 30);
          b1.addMouseListener(this);
          ImageIcon ii2 = new ImageIcon(getClass().getResource("TW1.gif"));
          labelU1.setIcon(ii2);
               //Hinzuf�gen der Elemente
          panelUnten.add(labelU1);
          panelUnten.add(labelU2);
          panelUnten.add(b1);
          getContentPane().add(panelOben);
          getContentPane().add(panelUnten);
          setResizable(false);
          (new Mover()).start();
          setVisible(true);          
          validate();     
     public static void main (String[]args){
          BricksGame object = new BricksGame();     
     public void mousePressed (MouseEvent e) {}
     public void mouseReleased (MouseEvent e) {}
     public void mouseClicked (MouseEvent e) {
          restart();
     public void mouseEntered (MouseEvent e) {}
     public void mouseExited (MouseEvent e) {}
     public void mouseDragged (MouseEvent e) { }
     public void mouseMoved (MouseEvent e) {
          mouseX = e.getX();
          if (mouseX <= 85){
               mouseX = 85;
          }else if (mouseX >= 319){
               mouseX = 319;
          labelU1.setBounds(mouseX -35 ,380,70,25);
      * @author Haferberger
      * To change the template for this generated type comment go to
      * Window>Preferences>Java>Code Generation>Code and Comments
     class Mover extends Thread{
          public void run(){
               while (gameNotOver){
                    try {Thread.sleep(h);}
                    catch (Exception e) {
//                     TODO: handle exception
                    repaint();
      * @author Haferberger
      * To change the template for this generated type comment go to
      * Window>Preferences>Java>Code Generation>Code and Comments
     class MyPanel extends JPanel{
          public void paint(Graphics g){
               if (y <= y_min && !changed){
//                    System.out.println("up");     
                    //wie oft oben gegen     
                    i++;
                    //Koordinaten des G�nen Punktes
                    x_point =x_max -x;
                    y_point =0;
                    //Nach 5 mal oben gegen wird der Winkel ge�ndert
                    if (i%5==0){
                         zZahl();
                         alpha();
                    //Richtungs�nderung
                    a = -a;
                    b = (int)(y_min - a*x);
                    changed = true;     
               }else if (y >= y_max && !changed){
//                    System.out.println("down");                    
                    //Bei Ber�hrung unten wird der Block verschoben
                    if (y_block == 221){
                         beta = -beta;
                    }else if (y_block == 80){
                         beta = -beta;
                    y_block+= beta;
                    //Betimmen wo der Ball aufkommt
                    if (x + 5 >= mouseX - 84 && x + 5 <= mouseX -27 ){
//                         System.out.println("Mitte");
                    }else if(x + 5 >= mouseX - 95 && x + 5 <= mouseX -85 ){
//                         System.out.println("au�en links");
                         if(delta > 0){
                              delta = -delta;
                              a = -a;
                              b = (int)(y_min - a*x);
                    }else if(x + 5 <= mouseX -16 && x + 5 >= mouseX -26 ){
//                         System.out.println("au�en rechts");
                         if(delta < 0){
                              delta = -delta;
                              a = -a;
                              b =(int)(y_min - a*x);
                    }else{
                         System.out.println("daneben");
                         gameNotOver=false;
                         a = -a;
                         b = (int)(y_max - a*x);
                    changed = true;
               }else if (x >= x_max && !changed){
//                    System.out.println("right");                                        
                    a = -a;
                    b = (int)(y - a*x_max);
                    delta = -delta;
                    changed = true;
               }else if (x <= x_min && !changed){
//                    System.out.println("left");
                    a = -a;
                    b = (int)(y - a*x_min);
                    delta = -delta;
                    changed = true;               
               }else if (y == y_block && x>72 && x<216 && !changed){
//                    System.out.println("Balken unten");
                    a = -a;
                    b = (int)(y - a*x);
                    changed = true;               
               }else if (y == y_block+20 && x>72 && x<216 && !changed){
//                    System.out.println("Balken oben");
                    a = -a;
                    b = (int)(y - a*x);
                    changed = true;               
               }else{
                    changed = false;                    
               g.setColor(Color.cyan);
               g.fillRect(0, 0, 300, 330);
               x+= delta;               
               y = (int)(a*x + b);
               g.setColor(Color.red);               
               g.fillOval(x,y+5,10,10);
               g.setColor(Color.magenta);
               g.fillRect(72, y_block,144,20);
               y_point+=2;
               if(y_point==310){
                    y_point=500;
                    if(x_point + 5 >= mouseX - 94 && x_point + 5 <= mouseX -20 ){
                         punkte+=50;
               g.setColor(Color.green);               
               g.fillOval(x_point,y_point,20,20);
               labelU2.setText("Punktestand: " + punkte);
               labelU2.validate();
     public void zZahl(){
               r = (Math.random() * 10);
               zahl = (int)r%5 + 1;
     public void alpha(){
          switch(zahl){
               case 4:
                    if (a<0){
                         a=-1;
                    }else if (a>0){
                         a=1;
                    if (delta<0){
                         delta=-4;
                    }else if (delta>0){
                         delta=4;
                    break;
               case 3:
                    if (a<0){
                         a=-2;
                    }else if(a>0){
                         a=2;
                    if (delta<0){
                         delta=-4;
                    }else if(delta>0){
                         delta=4;
                    break;
               case 5:
                    if (a<0){
                         a=-3;
                    }else if (a>0){
                         a=3;
                    if (delta<0){
                         delta=-1;
                    }else if (delta>0){
                         delta=1;
                    break;
               case 2:
                    if (a<0){
                         a=-0.5;
                    }else if (a>0){
                         a=0.5;
                    if (delta<0){
                         delta=-4;
                    }else if (delta>0){
                         delta=4;
                    break;
               case 1:
                    if (a<0){
                         a=-0.2;
                    }else if (a>0){
                         a=0.2;
                    if (delta<0){
                         delta=-5;
                    }else if (delta>0){
                         delta=5;
                    break;
     public void restart(){
          gameNotOver=true;
          y_block=80;
          beta = -3;
          x=mouseX;
          (new Mover()).start();
          punkte = 0;
          labelU2.validate();
}thanks

First of all, big friendly advice: split your code into few classes and methods. Currently your code looks very ugly.
And one simple question: what is happening with Mover instance after restart? I don't see anything that stops old Mover thread instance before starting a new one...
And so on...
It is much simpler to answer your question when code is splited in small parts - problems then are located in small pieces of code.

Similar Messages

  • How do I fade with circles that get smaller and more spread?

    Can anyone tell me, (in either Illustrator or photoshop, but preferably Illustrator) how to fade out a color, but instead of the smooth fade, the solid circles that get smaller and smaller, if you know what I mean. Thanks.
    I have CS2.

    1 Make the largest circle
    <br />2. Make the smallest circle
    <br />3. position them at the distance you need the art to measure.
    <br />4. Object&gt;Blend&gt;Blend Options choose specified steps and enter the number of steps you want
    <br />5. Command Option B or Object&gt;Blend&gt;Make
    <br />
    <br />You get this
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1ogwJRWJUvf0385nQ8w84SohDe9Nx0" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1ogwJRWJUvf0385nQ8w84SohDe9Nx0_thumb.png" border="0" />
    <br />
    <br />You can also specify the distance which is calculated from the center I believe.

  • Ideas for making code faster?

    OK, I'm tryig to make a random move generator for a chess game. I want the move to be legit. It's kind of a first step to making an AI I guess. It works but unfortunately it brings my system to it's knees, and my system is pretty good. Here's the generator, any help would be appreciated.
    Basically it makes a very large Vector of objects that contain all of the valid moves, then picks one at random.
    import java.util.Vector;
    public class MoveGenerator
         int team, currentX, currentY, r;
         int[] randomMove = new int[4];
         Vector TeamMoves = new Vector();
         // Creates a new MoveGenerator which will play for team tm
         public MoveGenerator(int tm){
              team = tm;
         // Gets all the possible moves for a team during at a given time and places
         // each move into Vector TeamMoves
         public Vector getTeamMoves(){          
              for (int row = 0; row < 8; row++){
                   for (int col = 0; col < 8; col++){
                        // Gets the valid moves for each piece
                        if (ChessBoard.cbLayout[col][row] != null){                         
                             if (ChessBoard.cbLayout[col][row].getTeam() == team){
                                  //set currentX/Y to position of each piece
                                  currentX = ChessBoard.cbLayout[col][row].getPosition()[0];
                                  currentY = ChessBoard.cbLayout[col][row].getPosition()[1];
                                  // Goes through and checks if each square is a valid move
                                  // for this piece and if it is adds it to TeamMoves
                                  for (int y = 0; y < 8; y++){
                                       for (int x = 0; x < 8; x++){                                   
                                            if (ChessBoard.cbLayout[col][row].getValidMoves()[x][y]){
                                                 TeamMoves.addElement(new MoveValues(currentX, currentY, x, y));
              return TeamMoves;
         // Sets new random number
         public int renewSeed()
              r = (int) (Math.random() * getTeamMoves().size());
              return r;
         // Will choose one of the valid moves at random
         public int[] getMove(){          
              System.out.println(r);
              randomMove[0] = ((MoveValues)(getTeamMoves().elementAt(r))).getMoveValues()[0];
              randomMove[1] = ((MoveValues)(getTeamMoves().elementAt(r))).getMoveValues()[1];
              randomMove[2] = ((MoveValues)(getTeamMoves().elementAt(r))).getMoveValues()[2];
              randomMove[3] = ((MoveValues)(getTeamMoves().elementAt(r))).getMoveValues()[3];          
              return randomMove;
         // Used to store movement info, all possible moves are then added to
         // Vector TeamMoves. Of which one will be chosen at random.
         class MoveValues
              int fromX, fromY, toX, toY;
              int[] moveArray = new int[4];
              // Sets up an obfject storing the values for a move
              public MoveValues(int x1, int y1, int x2, int y2){
                   fromX = x1;
                   fromY = y1;
                   toX = x2;
                   toY = y2;
              // Retrieves the values of the move in this object
              public int[] getMoveValues(){
                   moveArray[0] = fromX;
                   moveArray[1] = fromY;
                   moveArray[2] = toX;
                   moveArray[3] = toY;
                   return moveArray;
    }

    Here's a really quick stab at some really simple optimizations...
    public Vector getTeamMoves(){
    List     listMoves = new ArrayList();          // OPTIMIZE -- use ArrayList instead of Vector
              for (int row = 0; row < 8; row++){
                   for (int col = 0; col < 8; col++){
                        // Gets the valid moves for each piece
                   ?ChessBoardLayout? layout = ChessBoard.cbLayout[col][row]; // OPTIMIZE - dereference object once
                        if (layout != null){                         
                             if (layout.getTeam() == team){
                                  //set currentX/Y to position of each piece
                                  int moves[] = layout.getPosition(); // OPTIMIZE- Call method ONCE
                                  currentX = moves[0];
                                  currentY = moves[1];
                                  // Goes through and checks if each square is a valid move
                                  // for this piece and if it is adds it to TeamMoves
                                  int validMoves[][] = layout.getValidMoves(); // OPTIMIZE- Move method call outside loops
                                  for (int y = 0; y < 8; y++){
                                       for (int x = 0; x < 8; x++){                                   
                                            if (validMoves[x][y]){
                                                 listMoves.add(new MoveValues(currentX, currentY, x, y));
              return new Vector(listMoves);
         }

  • Getting ms word and more memory for iBook

    I just got a used iBook 10.4. It doesn't have ms word. The problem is, it only has 640 MB capacity and i'm worried that getting word will take up too much space. Are there any tricks to expanding the memory? and does anyone have any idea how much more memory i'll be able to get from a mac store?

    Memory on a Mac is a combination of RAM chips and 'virtual memory' on your hard drive. You need space in both.
    Heat was a problem with some iBooks, but if your's is still running, it's likely OK. Your computer can be fit with 1.12 to 1.5 GB of chip memory, and more disk memory than it needs. If Apple no longer carries your memory type, consider a quality online fix-it shop, or do it yourself. (Buy a book and learn about your Mac.)
    Also, consider the free NeoOffice,
    NeoOffice (look around for PPC variety)
    http://www.macupdate.com/info.php/id/15797/neooffice
    It's a complete office suite; and Microsoft XML format (for Word) was supposed to be called OpenOffice XML format. NeoOffice is a smaller and more reliable version of OpenOffice.org. (Watch for the .org: it's the free one.)
    Bruce

  • I need to make a task with less as3 code and more timeline structure and event dispatcher !

    I went to an interview in a big company. I had to make a  task in which there is a wall with 3 lines and 5 columns filled with bombs.When you click on a bomb the bomb changes its scale, a robot enters, goes under the bomb and takes it, then goes to a smaller wall, makes the bomb smaller and place it at the same place it had been in the previous wall.I made the task with tween througout as3 code.The interviewer told me it was good but i need to make it with the less code possible and with more complex timeline structure and to use event dispatcher.What is the best way to do this ?

    The immediate thing that comes to mind is they might want to see that you can balance work between design teams and development teams.
    To do that, the robots movements (pick up bomb, bomb grows/shrinks, arms/treads/legs moving, sequences of 'doing things') can be timeline based so animators can work on those separate from code.
    Developers would be working on the logic of keeping score, moving the robot around to the correct spot with path detection, collision detection, etc.
    It's very similar to thinking in simple factories (which Flash is good at being automatically with timelines), and a bit of MVC (or just VC in some cases).
    Big companies have lots of different types of employees so you'll probably be very specific in your role so you're efficient.

  • I am making code to try to make a game and my problem is that my code......

    I am making code to try to make a game and my problem is that my code
    will not let it change the hit everytime so im getting the first guy to hit 1 then next hits 8 and so on and always repeats.
    Another problem is that I would like it to attack with out me telling it how much times to attack. I am using Object oriented programming.
    Here is the code for my objects:
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class rockCrab {
         //Wounding formula
         double sL = 70;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 50;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         rockCrab() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              double done = rint(fH - fA);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("Rockcrab hit" +done);
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class self {
         //Wounding formula
         double sL = 1;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 1;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         self() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("You hit" +done);
    }Here is the main code that writes what the objects do:
    class fight {
         public static void main(String[] args) {
              self instance1 = new self();
              rockCrab instance2 = new rockCrab();
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
    }when the code is run it says something like this:
    you hit 1
    RockCrabs health is 9
    RockCrab hit 7
    your health is 38
    you hit 1
    RockCrabs health is 8
    RockCrab hit 7
    your health is 31
    you hit 1
    RockCrabs health is 7
    RockCrab hit 7
    your health is 24
    you hit 1
    RockCrabs health is 6
    RockCrab hit 7
    your health is 17
    my point is whatever some one hits it always repeats that
    my expected output would have to be something like
    you hit 1
    RockCrabs health is 9
    RockCrab hit 9
    your health is 37
    you hit 3
    RockCrabs health is 6
    RockCrab hit 4
    your health is 33
    you hit 2
    RockCrabs health is 4
    RockCrab hit 7
    your health is 26
    you hit 3
    RockCrabs health is 1
    RockCrab hit 6
    your health is 20
    Edited by: rade134 on Jun 4, 2009 10:58 AM

    [_Crosspost_|http://forums.sun.com/thread.jspa?threadID=5390217] I'm locking.

  • I played the a video game that has a rim tats black that goes around the screen making it smaller and normally when i quit the game the screen goes back to normal but now when i quit the game the ring of black stays plz help it makes my screen small

    Ok so i played the sims a game that make your screens smaller by adding to black bares at the side that kind of zoom it in but now no matter what the black bars stay and it makes mi screen smaller and stuff doesnt fit on it please help i need the whole screen it is like when a movie doesnt fit the tv screen there is like black on the side making it so that it fits please help

    go to System Preferences > Displays and select the highest resolution (1280x820) or something like that. the screen should turn blue for a sec then go back to normal resolution.

  • How can I decrease my font size in mail?  I have it set to small and yet it is enormous, letters running into one another.  I have rebooted and more.  Something is over riding my setting.  Any suggestions?

    How can I decrease my font size in mail?  I have it set to small and yet it is enormous, letters running into one another.  I have rebooted and more.  Something is over riding my setting.  Any suggestions?

    You haven't mentioned which mail it is,
    If it is G-mail go to settings --> general tab--> default text style , you can change your font size & then save at the bottom of the page

  • Where can i get more sample code of javacard and OCF

    i'm a newbie..can anybody tell me where can i get
    more sample code of OCF and javacard..especially OCF's sample code..because the OCF's programmer's guide is too simple..
    thx a lot

    Hi,
    will U pl. clear which sample code you are having? Anyway you can check with www.alphaworks.ibm.com.
    Rgs,
    Anupam

  • [svn:fx-trunk] 12063: Making these scripts a bit more Mac and NIX friendy.

    Revision: 12063
    Revision: 12063
    Author:   [email protected]
    Date:     2009-11-20 13:39:38 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Making these scripts a bit more Mac and NIX friendy.  Since they were marked as native, and because we build with a Windows box, they were being deployed as incompatible with OSX.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-24132
    Reviewer: Jim
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24132
    Modified Paths:
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/swcdepends
    Property Changed:
        flex/sdk/trunk/bin/aasdoc
        flex/sdk/trunk/bin/acompc
        flex/sdk/trunk/bin/amxmlc
        flex/sdk/trunk/bin/asc
        flex/sdk/trunk/bin/asdoc
        flex/sdk/trunk/bin/compc
        flex/sdk/trunk/bin/copylocale
        flex/sdk/trunk/bin/digest
        flex/sdk/trunk/bin/fcsh
        flex/sdk/trunk/bin/fdb
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/mxmlc
        flex/sdk/trunk/bin/optimizer
        flex/sdk/trunk/bin/swcdepends
        flex/sdk/trunk/bin/swfdump

    Revision: 12063
    Revision: 12063
    Author:   [email protected]
    Date:     2009-11-20 13:39:38 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Making these scripts a bit more Mac and NIX friendy.  Since they were marked as native, and because we build with a Windows box, they were being deployed as incompatible with OSX.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-24132
    Reviewer: Jim
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24132
    Modified Paths:
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/swcdepends
    Property Changed:
        flex/sdk/trunk/bin/aasdoc
        flex/sdk/trunk/bin/acompc
        flex/sdk/trunk/bin/amxmlc
        flex/sdk/trunk/bin/asc
        flex/sdk/trunk/bin/asdoc
        flex/sdk/trunk/bin/compc
        flex/sdk/trunk/bin/copylocale
        flex/sdk/trunk/bin/digest
        flex/sdk/trunk/bin/fcsh
        flex/sdk/trunk/bin/fdb
        flex/sdk/trunk/bin/font2swf
        flex/sdk/trunk/bin/mxmlc
        flex/sdk/trunk/bin/optimizer
        flex/sdk/trunk/bin/swcdepends
        flex/sdk/trunk/bin/swfdump

  • Why is Firefox Namoroka 3.6.3 faster and more stable than Firefox 3.6.8

    a)Why is Firefox Namoroka 3.6.3 faster and more stable than Firefox 3.6.8.
    Firefox 3.6.8 repeatedly crashes and the message details are Plugins/Plugin Basket!!!
    The original Firefox Namoroka 3.6.3 is not only faster but does not crash?
    b) Why are there NO security updates for Firefox Namoroka 3.6.3?

    Namoroka is the nightly tester version of what will become the next Firefox release, and it is up to - Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.9pre) Gecko/20100813 Namoroka/3.6.9pre ID:20100813042130 - right now.
    If you are having problems with the Plugin Container in 3.6.8, you will probably have the same problems with 3.6.9pre, too.
    The first thing you should do is to update to the latest "86" release that came put this past Thursday.

  • TS3376 how do i unlock my phone after i find it if the code does'nt work it keep putting me off more and more minutes at a time?

    how do i unlock my phone after I find it I keep getting this phone is dialed for more and more minutes?

    Back it up and restore it in iTunes on the last computer it was synced with, as explained at the bottom of this article: http://support.apple.com/kb/HT1212.  This will remove the passcode.

  • Is there a small and lite portable, around 5 lbs or less, printer for my iPad to take on vacation for photos, more than 1 at a time, and words? I have both HP dj460 and ps 616A but they don't support iPad. Is there a device, work around or ePrinter air pr

    Is there a small and lite (5 lbs or under) portable air printer / ePrinter I can use to print contact sheets of photos and words with my iPads? I already have the HP dj460 and HP ps 616A but they don't support the iPads.

    Helper app -- /print n share
    Print directly to the widest range of network or WiFi printers available in any app. Alternatively print via your computer to ALL printers including USB & Bluetooth printers. View read and display large PDF, Office & iWork files. Easily transfer & store files from the Cloud or your computer.
    https://itunes.apple.com/us/app/print-n-share/id301656026?mt=8
    HP  ePrint Home & Biz
        http://itunes.apple.com/us/app/hp-eprint-home-biz/id299531647?mt=8
    http://h10025.www1.hp.com/ewfrf/wc/searchResults?tmp_product=HP+Photosmart+5515+ e-All-in-One+Printer+-+B111a&product=5063608&tmp_qt=eprint&cc=us&dlc=en&lc=en&su bmit
    Mobile printing.
    This blogger found one solution.
    http://genuinely-original.blogspot.com/search/label/iPad%20Printing
    Make Portable Printing Easier with Print n Share and the Brother RJ-4040
    http://prmac.com/release-id-44494.htm
    Use an airprinter with a power inverter
    http://genuinely-original.blogspot.com/search/label/iPad%20Printing
    see makethisstuffwork post in:
    https://discussions.apple.com/thread/4987217?tstart=0
    Brother PocketJet® 673
    -- Prints on a variety of 8.5" wide thermal media.
    -- Print PDF files from your iPhone and iPad with the PJ-673 Print app
    http://www.brother-usa.com/Mobile/ModelDetail.aspx?ProductID=pj673-k&PG=26#.UeX0 Z18pDDJ
    List of supported AirPrinters.
       http://support.apple.com/kb/HT4356

  • FCP to DVD and making movie file smaller

    Hi Guys
    I have a project I made in FCP, it is HDV 1440x1080 and it is one hour long. I have exported it as a 'make movie self contained' quicktime movie and the end result is 12gb and it says the dimensions are 1920x1080
    I have dropped it into compressor and submitted it to make a 90 minute DVD, it's doing it's think now but will take about 2-3 hours it seems, is this right or is there a quicker way?
    Also I dropped the movie onto an external HD and copied it over to my laptop but when I try to play it it says it is unable to play because it doesn't recognise it. Now it is a quicktime movie I converted from FCP and I have quicktime 7 on my laptop so why will it not recognise it?
    I have dropped the self contained movie into Mpeg Streamclip as I want to make it smaller and into something that I can put on my HD and then play on my laptop, what should I convert it to? or is there another way I can export the project out of FCP that will make it a smaller file and one I can put on my Harddrive to then play on my laptop?
    Thanks for any responses
    Mich

    > will take about 2-3 hours it seems, is this right or is there a quicker way?
    An hour of footage as HDV?  Yeah, this is normal.  Even if it was ProRes, it would still take a couple hours.
    >Now it is a quicktime movie I converted from FCP and I have quicktime 7 on my laptop so why will it not recognise it?
    Don't have FCP installed on that laptop do you?  The HDV codec (and XDCAM and DVCPRO HD) that FCP uses, captures too and exports, ONLY comes with FCP.  DOn't have it, and the computer cannot see the file.
    >I want to make it smaller and into something that I can put on my HD and then play on my laptop, what should I convert it to?
    H.264.  Use the QT 7 STREAMING options in Compressor

  • A small and easy JPA

    I know that after RoR(Ruby on Rails) every one is working toward making a simple architecture for ORM and RPC and so am I!!! I will really like people to get actively involve in it by reading, leaving comments or by writing code.
    Please visit the web site to get the idea of it.
    http://sites.google.com/a/cynosuredev.com/simple-orm/Home
    The whole concept of the project is to bring simplicity in Java without loosing its power. No project should force a developer to use a certain web container or libraries that work only on higher version of JRE, or no API should ever make developer learn a lot of things.

    Thanks Mr_Silly_v2&omcgovern for your comments and suggestions,
    UILOGIC is a small organization now, but its product is innovative, and UILOGIC Dedicate to provide effort for the java world to simplify the UI design.
    Actually, DUIL's core feature is the "Dynamical" and i18n (The relationship of DUIL&JAVA is more like struts&JSP), that means the developer need not write code for that case (control the relationship of UI component), of course, you can control all of your UI components with native java code in small project, but the maintenance cost will be terrible if you project grow larger and larger, so DUIL can abstract your UI logic from the native java code, and you can assign different engineers to maintain them independently, this feature will reduce the maintenance cost.
    As for the complex of sample that Mr_Silly_v2 referred, it is because the GridBagLayout is more complex, DUIL's target is provide a mechanism for customer to maintain the larger UI project,
    As for the support page that omcgovern referred, we apologize for that, UILOGIC is prepareing a technical forum for developer in the near future.
    Thanks for you comments again, the growth of DUIL need your suggestion, we believe that DUIL will help you to design the UI easier and easier.

Maybe you are looking for

  • Is there a way to upgrade my mac mini's video memory?

    I want to have a new video/graphics card for my mac mini, but i'm not sure if it's possible, and if it is possible how to do it. Please help!!

  • Problem with Thomson router?

    Hello, I use a Thomson 585 v8 router. It works fine, UNTIL I connect to it my mac book pro (running 10.9.2). Then, ALL other devises (iPad, mac mini, all windows devises) drop the connection!! I tried everything. Any further ideas to try?? Thanks, Ta

  • Insertin a query in a workbook

    We are on the new version and I don't see the option under the tools to add a query to a workbook.  Has this featured been removed? thanks

  • Change XML after CALL FUNCTION 'SDIXML_DOM_TO_XML'

    Hi All, i need a possibility to change a proper formed XML into something like this. Example: <PRESOL>   <DATE> 0521 <YEAR> 99 <CBAC> demo <PASSWORD> DEMO <ZIP> 22030 <CLASSCOD> B <NAICS> 123456 </PRESOL> Thanks, Christoph

  • Eq flat vs. off

    I have been setting my eq to flat and have been enjoying the music the way it was originally recorded. I do have a question though. Is their a difference between flat and having the eq off. If no difference why have it set to flat. Or if their is a d