Chess Piece display problem in applet

Hi,
I'm writing a chess game applet which will be played between to players over the internet. I'm currently working on the applet side at the moment and will develop the server side once I have completed the applet. I'm currently having problems displaying the actual chess pieces on the board at the moment. One of my design decisions was to make a Board class which extends a JPanel. I have painted the actual chess board squares within the Board JPanel. I then propose to draw the pieces on top of these squares (good design decsion? Can anyone suggest another way. I was thinking of having the images as a separate layer which will sit on top of the squares but wasn't sure how to implement it). The chess pieces are contained in a gif strip www.dur.ac.uk/j.d.p.murphy called ChessPieces02.gif . The problem I am having is to display several pieces at the same time. I lloked at a Java tutorial which suggested using g.clipRect() method to display a defined section of the strip (i.e. a single piece of a certain length). Below is the Board class that I am using.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Board extends JPanel{
// Holds location of the mousePressed event
Point point = null;
// Size of a square square on the board
int square_size = 40;
// Mediatracker to monitor the loading of the images
MediaTracker tracker;
Image image;
void init() {
tracker = new MediaTracker(this);
image = Toolkit.getDefaultToolkit().getImage("ChessPieces02.gif");
tracker.addImage(image, 0);
try {
//Start downloading the images. Wait until they're loaded.
tracker.waitForAll();
} catch (InterruptedException e) {
e.printStackTrace();
throw new Error("error");
if (tracker.isErrorAny()) {
throw new Error("Could not load image");
addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent e) {
if (point == null)
point = new Point(0, 0);
int x = e.getX();
int y = e.getY();
System.out.println("X co-ord: " + x + " Y co-ord: " + y);
// Floor the x and y values to the nearest unit of 25
x = x - x % square_size;
y = y - y % square_size;
point.setLocation(x, y);
repaint();
System.out.println(point);
public void paintComponent(Graphics g) {
super.paintComponent(g); //paint background
System.out.println("Chess Board Paint");
// Loop to produce the black and white squares to represent the board
for(int jj = 0; jj < 8; jj ++){
for(int ii = 0; ii < 8; ii++){
if(ii % 2 == jj % 2)
g.setColor(Color.white);
else
g.setColor(Color.lightGray);
g.fillRect(ii * square_size, jj * square_size, square_size, square_size );
// Draw a highlighted square
if (point != null){
g.setColor(Color.green);
g.fillRect( (int)point.getX(), (int)point.getY(), square_size, square_size);
//imageStrip is the Image object representing the image strip.
//imageWidth is the size of an individual image in the strip.
//imageNumber is the number (from 0 to numImages)
// of the image to paint.
int stripWidth = image.getWidth(this);
int stripHeight = image.getHeight(this);
int imageWidth = stripWidth / 6;
System.out.println("Width = " + imageWidth);
g.clipRect(120, 0, imageWidth, stripHeight / 2);
g.drawImage(image, 0 * imageWidth, 0, this);
What code do i need to add more pieces to the board? I plan to make a ChessPiece array (8x8) which will holld all the chess pieces on the board. Should I hold this array in the board class to make drawing the pieces easier? Any other tips for game development would also be most welcome.
Thanks

cross post, I think.
http://forum.java.sun.com/thread.jsp?thread=496287&forum=406

Similar Messages

  • Chess piece display problem

    Hi,
    I'm writing a chess game applet which will be played between to players over the internet. I'm currently working on the applet side at the moment and will develop the server side once I have completed the applet. I'm currently having problems displaying the actual chess pieces on the board at the moment. One of my design decisions was to make a Board class which extends a JPanel. I have painted the actual chess board squares within the Board JPanel. I then propose to draw the pieces on top of these squares (good design decsion? Can anyone suggest another way. I was thinking of having the images as a separate layer which will sit on top of the squares but wasn't sure how to implement it). The chess pieces are contained in a gif strip www.dur.ac.uk/j.d.p.murphy called ChessPieces02.gif . The problem I am having is to display several pieces at the same time. I lloked at a Java tutorial which suggested using g.clipRect() method to display a defined section of the strip (i.e. a single piece of a certain length). Below is the Board class that I am using.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Board extends JPanel{
    // Holds location of the mousePressed event
    Point point = null;
    // Size of a square square on the board
    int square_size = 40;
    // Mediatracker to monitor the loading of the images
    MediaTracker tracker;
    Image image;
    void init() {
    tracker = new MediaTracker(this);
    image = Toolkit.getDefaultToolkit().getImage("ChessPieces02.gif");
    tracker.addImage(image, 0);
    try {
    //Start downloading the images. Wait until they're loaded.
    tracker.waitForAll();
    } catch (InterruptedException e) {
    e.printStackTrace();
    throw new Error("error");
    if (tracker.isErrorAny()) {
    throw new Error("Could not load image");
    addMouseListener(new MouseAdapter() {
    public void mousePressed(MouseEvent e) {
    if (point == null)
    point = new Point(0, 0);
    int x = e.getX();
    int y = e.getY();
    System.out.println("X co-ord: " + x + " Y co-ord: " + y);
    // Floor the x and y values to the nearest unit of 25
    x = x - x % square_size;
    y = y - y % square_size;
    point.setLocation(x, y);
    repaint();
    System.out.println(point);
    public void paintComponent(Graphics g) {
    super.paintComponent(g); //paint background
    System.out.println("Chess Board Paint");
    // Loop to produce the black and white squares to represent the board
    for(int jj = 0; jj < 8; jj ++){
    for(int ii = 0; ii < 8; ii++){
    if(ii % 2 == jj % 2)
    g.setColor(Color.white);
    else
    g.setColor(Color.lightGray);
    g.fillRect(ii * square_size, jj * square_size, square_size, square_size );
    // Draw a highlighted square
    if (point != null){
    g.setColor(Color.green);
    g.fillRect( (int)point.getX(), (int)point.getY(), square_size, square_size);
    //imageStrip is the Image object representing the image strip.
    //imageWidth is the size of an individual image in the strip.
    //imageNumber is the number (from 0 to numImages)
    // of the image to paint.
    int stripWidth = image.getWidth(this);
    int stripHeight = image.getHeight(this);
    int imageWidth = stripWidth / 6;
    System.out.println("Width = " + imageWidth);
    g.clipRect(120, 0, imageWidth, stripHeight / 2);
    g.drawImage(image, 0 * imageWidth, 0, this);
    What code do i need to add more pieces to the board? I plan to make a ChessPiece array (8x8) which will holld all the chess pieces on the board. Should I hold this array in the board class to make drawing the pieces easier? Any other tips for game development would also be most welcome.
    Thanks

    And when a piece is taken, you set its position in the array to null, I guess.
    Well, after you draw the board, you can iterate through your array, then draw each piece if its not null, right?
    Or maybe for each square, first you draw the background, and then you draw the piece.
    So maybe you'd have something like:
    g.fillRect(ii * square_size, jj * square_size, square_size, square_size );
    pieces[ii][jj].draw(g);Though personally, I wouldn't code it like this. I'd make Board be a collection of Position objects, and each position object could contain a piece. Each position would also know its own background color, and its neighbors perhaps. Also it would know any of its own special properties, such as "if an opposing side's pawn lands here, it becomes a queen". You'd probably have a subclass of Position for positions that have special properties like that.

  • Japanese text display problems in applet using plugin

    Hi,
    We've been beating our heads against the wall on this one for quite some time, so any help would be greatly appreciated.
    Our product uses a third party applet (Kavachart from Visual Engineering) to display graphical statistics from our database. We are currently localizing our product to support english and japanese. With Japanese enabled, all pages use euc-jp encoding. The problem we are running into is in the display of japanese text inside this applet in IE 5 and NS 4.7x when using the java plugin (1.3 or 1.4). If the default jre of the browsers are used, the text in the applet renders fine.
    On a suggestion from the supprot folks at Visual Engineering, I modified our code to set the defaultFont parameter on the applet to "serif, 14, 1". With this set, the text in the applet renders ok in IE, but NS on windows and unix is still broken. Given that we are doing all these tests on machines running a native japanese OS, it's not even clear to me why setting the defaultFont should even be required, but at this point, I'll take anything :-)
    Has anyone else run into this and either solved it or proven that a solution is not feasible? I'm at my wits end here....
    Thanks in advance,
    Mark Evangelisto
    Synchronicity Inc.

    If you are using different java plugin, you need to install the international version of the JRE; otherwise, some characters may not be able to display correctly since some of the properties files are missing.
    As for Visual Engineering's suggestion. I don't know why they tell you to set the default font on the applet because it may cause the browser to use the font specified. Your applet works on IE because it will try to use the best font to match the web page's content. For NS anything less then 6.0 (technology based on Mozilla), they never display web page correctly especially if you did what VE suggest.
    If you are running the applet on the native langauge OS with the international version of the JRE installed, the applet should display correctly without setting the default font. If it is not the native langauge OS, first you need to install the international version of the JRE and have the fonts that are able to display the language the applet use.

  • Display .gif In Applet Problem

    I have been making a game. Very simply, the game has a main class and another truely important class that extends JFrame, it is the map. In it i need to upload .gif files and display them. It worked up until recently because i needed to make a sepperate class. I know how to use the getImage() for Images and the the way for ImageIcons, but for some reason, they never display (they display just whiteness). My Code is as follows
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    import java.io.*;
    // when this puppy reads from a file, it'll be able to have 55 15 x 15 terrains per row
    // 35 15 x 15 terrains per column
    // arrows by everythign that u would need to consider in finding the problem
    // this is not the main class
    public class GameMap extends JPanel implements MouseListener, MouseMotionListener, KeyListener{
         public static final int MAX_BULLETS = 200;
         public static final int MAX_PLAYERS = 50;
         public static final int SPLAT_SIZE = 15;
         public static final int PLAYER_SIZE = 15;
         public static final int MAX_MESSAGES = 10;
         public static final int ROBOT_SIZE = 15;
         private static final int rowTerrains = 35;
         private static final int columnTerrains = 55;
         private static int currentBullets = 0;
         private static int currentPlayers = 0;
         private static int bulletRotation = 0;
         private static int aimX, aimY;
         private boolean mapLoaded;
         private boolean writingMessage;
         private boolean imagesLoaded;
         private int messageRotation;
         private int tileCoord;
         private String messageText = "";
         private String currentMap;
        private Bullet bullet[] = new Bullet[MAX_BULLETS];
        private Player player[] = new Player[MAX_PLAYERS];
        private Message message[] = new Message[MAX_MESSAGES];
        private Color backgroundColor = new Color(81, 141, 23);
        private Image offscreenMap; // offscreen image of map
        private Graphics mapGraphics;
         private ImageIcon yellowSplat1, yellowSplat2, yellowSplat3, yellowSplat4, yellowSplat5, bluePlayerBack, bluePlayerFront, bluePlayerRight, bluePlayerLeft, grass, tree, mountain, robot1;
         private Terrain terrain[] = new Terrain[(rowTerrains * columnTerrains)];
         public GameMap(){
              this(800, 450);
         public GameMap(int width, int height){
              addMouseListener(this);
              addMouseMotionListener(this);
              addKeyListener(this); // use method requestFocusInWindow() for this to work
              setPreferredSize(new Dimension(width, height));
              setBackground(backgroundColor);
              for (int x = 0; x < bullet.length; x++){
                   bullet[x] = new Bullet();
              for (int x = 0; x < player.length; x++){
                   player[x] = new Player();
              for (int x = 0; x < message.length; x++){
                   message[x] = new Message();
              for (int x = 0, currentX = 0, currentY = 0; x < (rowTerrains * columnTerrains); x++){
                   terrain[x] = new Terrain();
                   terrain[x].setX(currentX);
                   terrain[x].setY(currentY);
                   currentX += 15;
                   if (currentX > columnTerrains * 15){
                        currentX = 0;
                        currentY += 15;
              player[0].drawPlayer(0, 0);
              //loadMap("Map1.txt"); // this is called to load the map right when this object is initialized
         public void paintComponent(Graphics g){
              super.paintComponent(g);
              Graphics2D g2d = (Graphics2D)g;
              Composite originalComposite = g2d.getComposite();
              if (imagesLoaded == false){
                   yellowSplat1 = new ImageIcon("yellow1.gif");
                   yellowSplat2 = new ImageIcon("yellow2.gif");
                   yellowSplat3 = new ImageIcon("yellow3.gif");
                   yellowSplat4 = new ImageIcon("yellow4.gif");
                   yellowSplat5 = new ImageIcon("yellow5.gif");
                   bluePlayerBack = new ImageIcon("BlueBack.gif");
                   bluePlayerFront = new ImageIcon("BlueFront.gif");
                   bluePlayerLeft = new ImageIcon("BlueLeft.gif");
                   bluePlayerRight = new ImageIcon("BlueRight.gif");
                   grass = new ImageIcon("Grass.gif");
                   tree = new ImageIcon("Tree.gif");
                   mountain = new ImageIcon("Mountain.gif");
                   robot1 = new ImageIcon("Robot1.gif");
              if (mapLoaded == false){ // so a map is loaded when game is started
                   loadMap("Map1.txt");
                   mapLoaded = true;
              g.drawImage(offscreenMap, 0, 0, this);
              for (int x = 0; x < bullet[0].totalBullets; x++){
                   if (bullet[x].getArrived()){
                        //find splat type and display it
                        g2d.setComposite(makeComposite(0.5f));
                        switch (bullet[x].getSplatType()){
                             case 0:
                                  yellowSplat1.paintIcon(this, g2d, bullet[x].getDestX() - SPLAT_SIZE / 2, bullet[x].getDestY() - SPLAT_SIZE / 2);
                                  break;
                             case 1:
                                  yellowSplat2.paintIcon(this, g2d, bullet[x].getDestX() - SPLAT_SIZE / 2, bullet[x].getDestY() - SPLAT_SIZE / 2);
                                  break;
                             case 2:
                                  yellowSplat3.paintIcon(this, g2d, bullet[x].getDestX() - SPLAT_SIZE / 2, bullet[x].getDestY() - SPLAT_SIZE / 2);
                                  break;
                             case 3:
                                  yellowSplat4.paintIcon(this, g2d, bullet[x].getDestX() - SPLAT_SIZE / 2, bullet[x].getDestY() - SPLAT_SIZE / 2);
                                  break;
                             case 4:
                                  yellowSplat5.paintIcon(this, g2d, bullet[x].getDestX() - SPLAT_SIZE / 2, bullet[x].getDestY() - SPLAT_SIZE / 2);
                                  break;
                   else{
                        g2d.setComposite(originalComposite);
                        g2d.setColor(Color.yellow);
                        g2d.fillOval(bullet[x].getX(), bullet[x].getY(), 3, 3);
              g2d.setComposite(originalComposite);
              g.setColor(Color.yellow);
              for (int x = 0; x < player[0].totalPlayers; x++){
                   if (player[x].getPlayerPosition().equals("Back")){
                        bluePlayerBack.paintIcon(this, g2d, player[x].getX(), player[x].getY());
                   else if (player[x].getPlayerPosition().equals("Right")){
                        bluePlayerRight.paintIcon(this, g2d, player[x].getX(), player[x].getY());
                   else if (player[x].getPlayerPosition().equals("Left")){
                        bluePlayerLeft.paintIcon(this, g2d, player[x].getX(), player[x].getY());
                   else if (player[x].getPlayerPosition().equals("Front")){
                        bluePlayerFront.paintIcon(this, g2d, player[x].getX(), player[x].getY());
                   else{
                        g2d.fillOval(player[x].getX(), player[x].getY(), 15, 15);
              if (writingMessage){
                   g2d.setColor(new Color(0, 0, 130));
                   g2d.setComposite(makeComposite(0.5f));
                   g2d.draw3DRect(8, 7, 800, 17, true);
                   g2d.setComposite(originalComposite);
                   g2d.setColor(Color.yellow);
                   g2d.drawString(messageText, message[0].getX(), 20);
              for (int x = 0; x < MAX_MESSAGES; x++){
                   if (message[x].isDisplayed()){
                        g2d.drawString(message[x].getMessage(), message[x].getX(), message[x].getY());
         private AlphaComposite makeComposite(float alpha) {
              int type = AlphaComposite.SRC_OVER;
              return(AlphaComposite.getInstance(type, alpha));
         public void drawBullet(int aimX, int aimY){
              bullet[bulletRotation].drawBullet(player[0].getX() + PLAYER_SIZE / 2, player[0].getY() + PLAYER_SIZE / 2, aimX, aimY);
              player[0].setPlayerPosition(bullet[bulletRotation].getPlayerPosition());
              bulletRotation++;
              if (bulletRotation >= MAX_BULLETS){
                   bulletRotation = 0;
         public void loadMap(String map){
              mapLoaded = false;
              currentMap = map;
              try{
                   BufferedReader in = new BufferedReader(new FileReader(map));
                   String input, string1, string2;
                   for (int x = 0; x < terrain.length; x++){
                        terrain[x].setFilled(false);
                   for (int x = 0, currentArray; x < terrain.length; x++){
                        if ((input = in.readLine()) != null) {
                             StringTokenizer st = new StringTokenizer(input);
                             currentArray = Integer.parseInt(st.nextToken());
                             terrain[currentArray].setTerrainType(st.nextToken());
                             terrain[currentArray].setFilled(true);
                        else{
                             break;
                   in.close();
                   offscreenMap = createImage(size().width, size().height);
                   mapGraphics = offscreenMap.getGraphics();
                   //mapGraphics.clearRect(0, 0, size().width, size().height);
                   // everything from here down is to be painted to mapGraphics... but it doesn't get this far cuz of an error
                   for (int x = 0; x < terrain.length; x++){
                        if (terrain[x].getTerrainType().equals("Grass")){
                             grass.paintIcon(this, mapGraphics, terrain[x].getX(), terrain[x].getY());
                             System.out.println("terrain(" + x + ") is Grass");
                        else if (terrain[x].getTerrainType().equals("Tree")){
                             tree.paintIcon(this, mapGraphics, terrain[x].getX(), terrain[x].getY());
                             System.out.println("terrain(" + x + ") is Tree");
                        else if (terrain[x].getTerrainType().equals("Mountain")){
                             mountain.paintIcon(this, mapGraphics, terrain[x].getX(), terrain[x].getY());
                             System.out.println("terrain(" + x + ") is Mountain");
              catch (FileNotFoundException e){
                   System.out.println("Map not found");
              catch (IOException e){
                   System.out.println("IOException Error!");
              // **** mouse Listener ****//
         public void mouseClicked(MouseEvent e){}
         public void mousePressed(MouseEvent e){}
         public void mouseReleased(MouseEvent e){
              if (e.getButton() == 1){
                   //System.out.println("player[0].movePlayer(" + e.getX() + ", " + e.getY() + ")");
                   aimX = e.getX();
                   aimY = e.getY();
                   movePlayer(aimX, aimY);
              else if (e.getButton() == 3){
                   aimX = e.getX();
                   aimY = e.getY();
                   drawBullet(aimX, aimY);
         public void mouseEntered(MouseEvent e){
              if (isFocusOwner() != true){
                   requestFocusInWindow();
         public void mouseExited(MouseEvent e){}
         // **** end mouse listener ****//
         // **** mouse motion listener ****//
         public void mouseDragged(MouseEvent e){}
         public void mouseMoved(MouseEvent e){}
         // **** end mouse motion listener ****/
         public void keyPressed(KeyEvent e){}
         public void keyReleased(KeyEvent e){}
         public void keyTyped(KeyEvent e){}
    }I removed a few unnecessary methods from this code to make it easier to view. EVERYTHING works except for the images displaying. The reason i'm having this problem now is i just redid my workspace and copied the code and i think some glitch stopped it from compiling correctly all along so now i experience this problem in the applet viewer. Though, even before, i couldn't get anything to display in an applet.
    And yes, everything is in the same place as the html file.
    Thanks for your help!

    Here's a way to keep track of and paint images with a simple Rectangle array. And also a way to remove lengthy initialization code blocks from paintComponent. Move the images by moving the rectangles.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class GameMapRx
        public static void main(String[] args)
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new GameMapPanel());
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class GameMapPanel extends JPanel
        Image[] images;
        Rectangle[] rects;
        boolean firstTime;
        final int PAD;
        public GameMapPanel()
            loadImages();
            firstTime = true;
            PAD = 20;
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            int w = getWidth();
            int h = getHeight();
            if(firstTime)
                initializeGameMap(w, h);
            for(int i = 0; i < rects.length; i++)
                Rectangle r = rects;
    g.drawImage(images[i], r.x, r.y, this);
    g2.draw(r);
    private void loadImages()
    String path = "images/duke/";
    String ext = ".gif";
    images = new Image[10];
    for(int i = 0; i < images.length; i++)
    try
    URL url = getClass().getResource(path + "T" + (i + 1) + ext);
    images[i] = ImageIO.read(url);
    catch(MalformedURLException mue)
    System.out.println("Bad URL: " + mue.getMessage());
    catch(IOException ioe)
    System.out.println("Unable to read: " + ioe.getMessage());
    private void initializeGameMap(int w, int h)
    rects = new Rectangle[images.length];
    int imageWidth = images[0].getWidth(this);
    int imageHeight = images[0].getHeight(this);
    int cols = (w - 2*PAD) / imageWidth;
    int xInc = imageWidth + (w - cols * imageWidth) / (cols + 1);
    int x0 = (w - cols * imageWidth -
    (cols - 1) * ((w - cols * imageWidth) / (cols + 1))) / 2;
    for(int i = 0; i < images.length; i++)
    int x = x0 + xInc * (i % cols);
    int rows = i / cols;
    int y = PAD + (imageHeight + PAD) * rows;
    rects[i] = new Rectangle(x, y, imageWidth, imageHeight);
    firstTime = false;

  • Applet Browser Display Problem

    Hello, I'm a student learning java, I'm on my final assignment and came across a confusing problem, my applet won't display in my browser, although when I compile it, I get no errors.
    Here's my code for anyone who can help.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    public class surveyapplet extends Applet implements ActionListener {
         ageSurvey Panel1;
         Options Panel2;
              public void init() {
              setLayout(new GridLayout(10,20));
              Panel1 = new ageSurvey();
              Panel2 = new Options();
              add(Panel1);
              Panel1.inputage.addActionListener(this);
              Panel1.thebutton.addActionListener(this);
              Panel1.thebutton.addActionListener(this);
              add(Panel2);
         public void actionPerformed(ActionEvent event) {
              String text = Panel1.inputage.getText();
                   if (event.getSource() == Panel1.thebutton) {
                        Panel2.outputage.setText(String.valueOf(text));
                   if (Integer.parseInt(text) < 21) {
                        Panel2.Option1.setState(true);
                        Panel2.Option2.setState(true);
                        Panel2.Option3.setState(false);
                        Panel2.Option4.setState(false);
                        Panel2.Option5.setState(true);
                        Panel2.Option6.setState(false);
                        Panel2.outputage.setText("likes to run, likes toys and eats burgers.");
                   if (Integer.parseInt(text) > 21 && Integer.parseInt(text) < 35) {
                        Panel2.Option1.setState(true);
                        Panel2.Option2.setState(true);
                        Panel2.Option3.setState(false);
                        Panel2.Option4.setState(false);
                        Panel2.Option5.setState(true);
                        Panel2.Option6.setState(false);
                        Panel2.outputage.setText("likes to run, eats burgers and likes toys.");
                   if (Integer.parseInt(text) > 36 && Integer.parseInt(text) < 60) {
                        Panel2.Option1.setState(false);
                        Panel2.Option2.setState(true);
                        Panel2.Option3.setState(true);
                        Panel2.Option4.setState(true);
                        Panel2.Option5.setState(true);
                        Panel2.Option6.setState(false);
                        Panel2.outputage.setText("needs reading glasses, eats burgers likes to sit and likes toys.");
                   if (Integer.parseInt(text) > 60) {
                        Panel2.Option1.setState(false);
                        Panel2.Option2.setState(false);
                        Panel2.Option3.setState(true);
                        Panel2.Option4.setState(true);
                        Panel2.Option5.setState(false);
                        Panel2.Option6.setState(true);
                        Panel2.outputage.setText("eats prunes, likes to sit and needs reading glasses.");
    class ageSurvey extends Panel {
         Label age;
         TextField inputage;
         Button thebutton;
         ageSurvey() {
              age = new Label("please enter age");
              add(age);
              inputage = new TextField(20);
              add(inputage);
              thebutton = new Button("Click Here!");
              add(thebutton);
    class Options extends Panel {
         Checkbox Option1, Option2, Option3, Option4, Option5, Option6;
         TextField outputage;
         Options() {
              add(Option1 = new Checkbox("likes to run"));
              add(Option2 = new Checkbox("eats burgers"));
              add(Option3 = new Checkbox("needs reading glasses"));
              add(Option4 = new Checkbox("likes to sit"));
              add(Option5 = new Checkbox("likes toys"));
              add(Option6 = new Checkbox("eats prunes"));
              outputage = new TextField(30);
              add(outputage);
    Thanks in advance for anyone with a solution.

    I've figured out the problem.
    the lesson:
    make sure you have all your class files in the same folder thatyour html file will be referencing.
    in my situtation, when I compiled, it created three .class files, and I only had the main .class file in the folder my html file was referencing, not all three of them.

  • Big Problem in Applet-Servlet Communication-(Help)

    I wrote an method to send serialized objects from Applet to Servlet,
    the method is as following:
    private ObjectInputStream postObjects (URL servlet, Serializable objs[], String sessionID) throws Exception {
    ObjectInputStream in = null;
    ObjectOutputStream out = null;
    try{
    URLConnection con = servlet.openConnection();
    con.setDoInput(true);
    con.setDoOutput(true);
    con.setUseCaches(false);
    con.setRequestProperty("Content-Type","application/x-java-serialized-object");
    con.setAllowUserInteraction(false);
    con.setRequestProperty("Cookie", sessionID);
    out = new ObjectOutputStream(con.getOutputStream());
    int numObjects = objs.length;
    for(int x = 0; x < numObjects; x++){
    out.writeObject(objs[x]);
    out.flush();
    out.close();
    in = new ObjectInputStream(con.getInputStream());
    }catch(Exception e){
    e.printStackTrace(System.err);
    throw e;
    }finally{
    return in;
    when I call this method, I got the following error message in Applet console,
    my platform is Salaris 5.8 + iPlanet 6.0.
    java.io.EOFException
         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2150)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2619)
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:726)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:251)
         at com.shinewave.lms.core.client.ServletProxy.postObjects(ServletProxy.java:255)
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:76)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    java.lang.NullPointerException
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:77)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    java.lang.NullPointerException
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:82)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    Please help me to solve this problem, thank you very much.

    Hi..
    Sorry abt this. But I was hoping if u could help out on this..
    I am trying to implement a applet to servlet communication...
    wherin the servlet would read data from the database... and send it back to the applet which gets displayed on the applet...
    But the problem is that the applet is not able to establish a connection with the servlet..
    I am also using another supportive class whose object is basically passed from the servlet to the applet..
    could u help me..
    below is the piece of code...
    APPLET:
    import java.net.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class TestApplet extends JApplet implements ActionListener
         JButton btnLoad;
         JTextField tfEmpno, tfFname, tfLname, tfSalary;
         URL url;
    private String webServerStr = null;
    private String hostName = "sandy";
    private int port = 8085;
    private String servletPath = "/jdbcTest.DBDetailsServlet";     
    public TestApplet()
         super();
    // suppress Warning Message
    getRootPane().putClientProperty"defeatSystemEventQueueCheck",Boolean.TRUE);
         public void actionPerformed(ActionEvent ae)
              if(btnLoad.getText().equals("Load"))
                   if(loadData())
                        btnLoad.setText("Save");
              else
                   btnLoad.setText("Load");
    //               saveData();
         public void init()
              setBackground(Color.pink);
              tfEmpno = new JTextField(10);
              tfFname = new JTextField(10);
              tfLname = new JTextField(10);
              tfSalary= new JTextField(10);
              JPanel panel = new JPanel();
              panel.setLayout(new FlowLayout());
              panel.add(tfEmpno);
              panel.add(tfFname);
              panel.add(tfLname);
              panel.add(tfSalary);
              getContentPane().add(panel, BorderLayout.CENTER);
              JPanel bottom = new JPanel(new FlowLayout());
              btnLoad = new JButton("Load");
              btnLoad.addActionListener(this);
              bottom.add(btnLoad);
              getContentPane().add(bottom, BorderLayout.SOUTH);
         public boolean loadData()
              try
         System.out.println("Web Server host name: " + hostName);
         webServerStr = "http://" + hostName + ":" + port + servletPath;
         System.out.println("Web String full = " + webServerStr);
                   String servletGET = webServerStr + "?"
         + URLEncoder.encode("UserOption") + "="
         + URLEncoder.encode("AppletDisplay");     
    //               url = new URL(getCodeBase(),"http://sandy:8080/servlet/jdbcTest.DBDetailsServlet");
                   System.out.println("Complete Servlet Url => " + servletGET);
                   url = new URL(servletGET);
                   URLConnection con = url.openConnection();
                   con.setUseCaches(false); // Turn off caching.
                   InputStream in = con.getInputStream();
                   System.out.println("\nsuccess ....... con.getInputStream() ");
                   ObjectInputStream ois = new ObjectInputStream(in);
                   System.out.println("\nsuccess ....... new ObjectInputStream(in) ");
                   Object object = ois.readObject();
                   System.out.println("\nGot the object from servlet...");
                   if(object != null)
                        System.out.println("\nObject NOT null ...");
                        ArrayList result = (ArrayList) object;
                        jdbcTest.EmployeeValue empval = (jdbcTest.EmployeeValue) result.get(0);
                        tfEmpno.setText(""+empval.getEmp_no());
                        tfFname.setText(empval.getFname());
                        tfLname.setText(empval.getLname());
                        tfSalary.setText(""+empval.getSalary());
                        System.out.println("\nObject processed " + result);
                        repaint();
                   return true;
              catch(Exception e)
                   e.printStackTrace();
                   System.out.println("\n\n loadData()=> E X C E P T I O N : " + e + "\n");
                   return false;               
         public void saveData()
              //yet to be implemented..
    SERVLEt:
    package jdbcTest;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DBDetailsServlet extends HttpServlet
         public void doGet(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
              System.out.println("\nInside the doGet()\n");
              ArrayList results = getDetails();
              ObjectOutputStream oos = new ObjectOutputStream(res.getOutputStream());
              oos.writeObject(results);
         public void doPost(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
              System.out.println("\nInside the doPost()\n");
              doGet(req,res);
         public ArrayList getDetails()
              try
                   System.out.println("\nServlet : inside GetDetails...");
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:SandyDSN","","");
                   java.sql.Statement stmt = con.createStatement();
                   System.out.println("\n Statement created..");
                   java.sql.ResultSet rs = stmt.executeQuery("SELECT * FROM EMP WHERE EMP_NO = 222");
                   System.out.println("\n Query Executed...");
                   ArrayList results = new ArrayList();
                   while(rs.next())
                        EmployeeValue empval = new EmployeeValue();
                        empval.setEmp_no(rs.getLong("EMP_NO"));
                        empval.setFname(rs.getString("FNAME"));
                        empval.setLname(rs.getString("LNAME"));
                        empval.setSalary(rs.getLong("SALARY"));
                        results.add(empval);
                   System.out.println("\n Resultset Obtained...");
                   stmt.close();
                   con.close();
                   return results;
              catch(Exception e)
                   System.out.println("Error while retreiving details....." + e);
                   return null;
         public boolean saveDetails(EmployeeValue empval)
              try
                   return true;
              catch(Exception e)
                   System.out.println("Error while updating details....." + e);
                   return false;
    The utility class EMployeeValue is as below:
    package jdbcTest;
    import java.io.*;
    class EmployeeValue implements Serializable
         private long emp_no;
         private String fname;
         private String lname;
         private long salary;
         public EmployeeValue()
              super();
         public EmployeeValue(long eno, String fn, String ln,long sal)
              super();
              setEmp_no(eno);
              setFname(fn);
              setLname(ln);
              setSalary(sal);
         public long getEmp_no()
              return emp_no;
         public java.lang.String getFname()
              return fname;
         public java.lang.String getLname()
              return lname;
         public long getSalary()
              return salary;
         public void setEmp_no(long newEmp_no)
              emp_no = newEmp_no;
         public void setFname(java.lang.String newFname)
              fname = newFname;
         public void setLname(java.lang.String newLname)
              lname = newLname;
         public void setSalary(long newSalary)
              salary = newSalary;

  • Chess: Java Swing problem!! Help need

    Hi, I have just learn java swing and now creating a chess game. I have sucessfully create a board and able to display chess pieces on the board. By using JLayeredPane, I am able to use drag and drop for the piece. However, there is a problem which is that I can drop the chess piece off the board and the piece would disappear. I have try to solve this problem by trying to find the location that the chess piece is on, store it somewhere and check if the chess piece have been drop off bound. However, I could not manage to solve it. Also, I am very confuse with all these layer thing.
    Any suggestion would be very helpful. Thanks in advance

    I wonder if you are biting off a little more than you can chew. This seems like a big project for a beginning coder. Anyway, my suggestions can only be general since we only have general information:
    1) Break the big problem down into little pieces. Get the pieces working, then put them together.
    2) Make sure your program logic is separate from your GUI.
    3) If still having problems, post an SSCCE. See this link to tell you how:
    http://homepage1.nifty.com/algafield/sscce.html
    4) And as camikr would say (and flounder just said): next time, post this in the Swing forum.
    Good luck!

  • Ideacentre B320 display problem

    I'm suffering from a display problem, and cannot figure if it's a software or hardware issue... I'm on Win7 64bit. Here are the symptoms:
    1) For a while now, intermittently the screen would go grey (or some sort of a messed up pattern of rgb pixels) and I would have to power down forcefully. The frequency of this has gone up very much in the recent weeks
    2) When the machine freezes, I can still hear the music playing, and Windows continues to do whatever it was doing before
    3) Recently (I'm guessing after a Windows update), I wasn't able to boot into normal mode anymore. It would show the Windows splash screen, then before the login screen appears it would just go black and freeze. Leaving it for a long time doesn't lead to recovery
    4) To try and fix this, I've updated the ATI driver to the latest version, which didn't work so progressively tried every version between the11.6 and 10.3 (4?) which was the default when the machine was purchased. No luck there. I've also flashed the bios and that didn't help either
    5) I can boot into safe mode, so I disabled amdkmdap using sysinternal's autoruns.exe, which meant that I can boot into normal mode, but it woud fall back onto Windows' vga driver (1400x1050 only!)
    6) Now, even in the low res mode, almost daily the grey screen freezing would happen and I would have to reboot. Tapping the power button allows the shutdown dialog to come up (I'm guessing), and pressing enter would shut down the machine then.
    There's an awful lot of posts on the internet regarding people having issues with ATI HD6450 and similar category cards, some of which sound similar to my case. They too experienced the freezing problem and reverting or upgrading the drivers had no effect (many even reinstalled windows completely). It sounds like though, the problem is software in origin at a guess.
    On the other hand, the machine is now 3-4 years old and I could imagine that the GPU or graphics memory might have suffered wear and tear -- emailing Lenovo support took a week to get a response, the only thing they asked was whether my warranty is still active (after that it's been a complete silence) are they usually this terrible?
    The last thing is, when the problem first occurred I booted using a linux live CD and it was all fine, at full resolution graphics. I haven't repeated this experiment since it takes quite a while to boot from a CD... but suggested that the hardware is intact. In fact, by messing about with the drivers I was able to boot into Windows normal mode and operate for 1-2 days, after which the grey freeze happened again. I haven't been able to get back into that since.
    Here is my question: Is there a way to find out whether it's software or hardware that's at fault? If it turns out to be hardware, what are my options at replacements? The GPU is soldered onto the motherboard, so do I have to replace the whole thing? If it's a software issue, would restoring to factory default state fix this issue, given that an unknown update could cause the same issue at any time... This is the last time I will buy an AIO without removable everything. 

    Welcome to the Lenovo Community !
    Probably a good test of the hardware is use the Linux Live CD that you used earlier.   If the graphics are still good when using the Live CD then your monitor and GPU are fine. 
    If the hardware checks out Ok then I suspect you have a driver problem.  Try using a driver cleaner to fully uninstall the ATI driver since bit and pieces left over from previous driver installs can cause problems.  The link below is for a free and highly recommended utility for cleaning the system of the graphic drivers.  After the clean up I would try installing the original driver that came with your system.
    http://www.guru3d.com/content-page/guru3d-driver-sweeper.html
    Owner & Operator of the following:
    ● Lenovo Ideapad Z570 w/ Win 7 & Win 8.1 Dual Boot ● Lenovo Yoga 3 Pro w/ Windows 8.1 ● Toshiba A75-S206 w/ Win 7
    ● IBM Thinkpad T-23 w/ Win XP ● IBM Thinkpad T-22 w/ Win XP • As well as multiple desktops dual/triple booting XP, Vista and Win 7.
    ★ Find a post helpful? Thank that member by clicking on the ☆Star☆ to the left awarding them a Kudo.
    ★ Posting a problem and a reply is helpful and it answers your question, please mark it as an "Accepted Solution"
    ★ I'm not a Lenovo employee, just a volunteer geek who likes to help folks. Enjoy your time here, pay it forward by helping others !
    ★ Sorry, I don't answer questions via Private Messages. Posting in the appropriate forum is the best way to get assistance.

  • Severe Problem in Applets

    I hav problem in Applets by use of threads.The prb. is that i am supposed to create three threads in applets.Thread one will read a file and extract a character array of size 10 from it and Thread 2 will display those characters in Textarea of Applets and after 10 seconds Thread3 will delete those chracters from textarea and next character set of Array of size 10 from Thread one will be assigned to Thread2 and process should go on untill it reads all character from file.Please sort this problem with source code.All are warmly welcome.
    Anuj.

    Thread one will read a file Since applets cannot read from the filesystem you have to use the URL object to read the file and place the
    file in the same location as your applet:
              try {
                   url = new URL(this.getCodeBase(), "yourfile.txt");
                   URLConnection conn = url.openConnection();
                   InputStream in = conn.getInputStream();
                   ByteArrayOutputStream bos = new ByteArrayOutputStream();
                   byte[] buf = new byte[1024];
                   int len;
                   while ((len = in.read(buf)) > 0) {
                        bos.write(buf, 0, len);
                   byte[] data = bos.toByteArray();
    //               String dataString = new String(data,"Shift_JIS"); // depending on your file encoding
              } catch (Exception e) {
                   e.printStackTrace(System.out);
              }How to use threads:
    http://java.sun.com/docs/books/tutorial/essential/threads/index.html

  • Firefox display problems

    Hello all,
    We're using Flash Paper 2 to make some extra documents
    available in external HTML pages from a flash site.
    These work fine in all browsers except for Firefox where only
    the top half of the document is visible - it's all functional, but
    there's some display problem
    thanks for any ideas

    I am having almost the same problem that Jon reports. I have
    made a PDF using the FlashPaper 2 that came with Studio 8. When the
    link to this PDF is clicked in MSIE 6 or NN 7.1, the PDF displays
    normally. When I do the same in Firefox 1.5.0.6 the PDF never
    finishes loading and never displays at all. Oddly when I click a
    link to view PDFs created through other means, they display
    normally in the Adobe Reader plug in for Firefox. So this appears
    to be a problem that is unique to PDFs produced with FlashPaper 2
    when the viewing is attempted in Firefox. Two of the three pieces
    of software, FlashPaper and Reader, are Adobe products, so I hope
    that someone at Adobe will take ownership of this problem and find
    out what needs to be corrected.

  • Wierd lines on my display and frequent lock-ups w/ and w/o display problems

    When booting I sometimes get weird lines and blocks on my display (the GRAY Apple screen) and then it hangs, other times the computer will boot and run fine for 20-30 minutes and then the display goes wonkers with blocks and lines and the computer does not respond. The only way I can get it to boot is to reset the PRAM by letting it CHIME 3x and then occasionally it will boot without issue and run, while other times I still get the blocks and lines on the display.
    When I am able to get it to recover and re-boot after the lock-up and display problems and occasionally the box in the middle asking me to re-boot similar to a kernel panic the OPS gives me the option to REPORT the error and here is the error for others who would know more...
    Thank you in advance,
    Darren
    Interval Since Last Panic Report: 104960 sec
    Panics Since Last Report: 5
    Anonymous UUID: 7D1AEF43-7E19-4F58-A1E0-48FA992A2814
    Wed Nov 18 15:49:50 2009
    panic(cpu 0 caller 0x9cdb10): NVRM[0/1:0:0]: Read Error 0x00009410: CFG 0xffffffff 0xffffffff 0xd2000000, BAR0 0xd2000000 0x5d3e2000 0x084700a2, D0, P1/4
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x5c99b7d8 : 0x21b2bd (0x5cf868 0x5c99b80c 0x223719 0x0)
    0x5c99b828 : 0x9cdb10 (0xbb7fec 0xc209c0 0xbc3660 0x0)
    0x5c99b8c8 : 0x147690d (0x8b5ac04 0x7edf004 0x9410 0xabd962)
    0x5c99b908 : 0x1534e6a (0x7edf004 0x9410 0x5c99b968 0x9)
    0x5c99b948 : 0xb51ca5 (0x7edf004 0x91ed004 0x0 0x0)
    0x5c99b968 : 0xac155b (0x91ed004 0x5c99baa4 0x0 0x0)
    0x5c99b9b8 : 0x145f290 (0x7edf004 0x3d0900 0x5c99baa4 0x0)
    0x5c99bad8 : 0xab2821 (0x7edf004 0x91cf004 0x815200c 0x200)
    0x5c99bb18 : 0xb1f172 (0x7edf004 0x91cf004 0xeb9bcc0 0xeb9bc04)
    0x5c99bbc8 : 0xb202db (0x7edf004 0x91f0404 0x0 0x0)
    0x5c99bc58 : 0x14bb7a3 (0x7edf004 0x91f0404 0x9 0x2)
    0x5c99bd68 : 0x14ed407 (0x7edf004 0x91cf404 0x0 0x0)
    0x5c99be98 : 0xad3934 (0x7edf004 0x91ca404 0x0 0x0)
    0x5c99bec8 : 0x9d61fb (0x7edf004 0x91ca404 0x0 0x0)
    0x5c99bf08 : 0x5491b5 (0x0 0x9499680 0x1 0x29c50a)
    0x5c99bf58 : 0x5481e6 (0x9499680 0x1 0x5c99bf88 0x547d9d)
    0x5c99bf88 : 0x548640 (0x8abaf00 0x7e9ecc0 0xe780850c 0x2a6e5f)
    0x5c99bfc8 : 0x29d68c (0x8abaf00 0x0 0x10 0x88bbfc4)
    Kernel Extensions in backtrace (with dependencies):
    com.apple.nvidia.nv50hal(6.0.6)@0x136b000->0x17f1fff
    dependency: com.apple.NVDAResman(6.0.6)@0x96f000
    com.apple.NVDAResman(6.0.6)@0x96f000->0xc21fff
    dependency: com.apple.iokit.IOPCIFamily(2.6)@0x932000
    dependency: com.apple.iokit.IONDRVSupport(2.0)@0x961000
    dependency: com.apple.iokit.IOGraphicsFamily(2.0)@0x943000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10C540
    Kernel version:
    Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
    System model name: MacBookPro3,1 (Mac-F4238BC8)
    System uptime in nanoseconds: 3788331456483
    unloaded kexts:
    com.apple.driver.AppleFileSystemDriver 2.0 (addr 0xf02000, size 0x12288) - last unloaded 94521475551
    loaded kexts:
    org.virtualbox.kext.VBoxNetAdp 2.2.2
    org.virtualbox.kext.VBoxNetFlt 2.2.2
    org.virtualbox.kext.VBoxUSB 2.2.2
    org.virtualbox.kext.VBoxDrv 2.2.2
    com.bresink.driver.BRESINKx86Monitoring 5.0
    com.pctools.iantivirus.kfs 1.0.1
    com.apple.driver.AppleHWSensor 1.9.2d0 - last loaded 31800108689
    com.apple.filesystems.ntfs 3.1
    com.apple.filesystems.autofs 2.1.0
    com.apple.driver.AppleHDA 1.7.9a4
    com.apple.driver.AirPort.Atheros 412.19.4
    com.apple.kext.AppleSMCLMU 1.4.5d1
    com.apple.driver.SMCMotionSensor 3.0.0d4
    com.apple.DontSteal_Mac_OSX 7.0.0
    com.apple.driver.AudioIPCDriver 1.1.2
    com.apple.driver.AppleIntelMeromProfile 19
    com.apple.driver.ACPISMCPlatformPlugin 4.0.1d0
    com.apple.driver.AppleLPC 1.4.9
    com.apple.driver.AppleBacklight 170.0.14
    com.apple.driver.AppleUpstreamUserClient 3.1.0
    com.apple.GeForce 6.0.6
    com.apple.driver.AppleUSBTrackpad 1.8.0b4
    com.apple.driver.AppleUSBTCKeyEventDriver 1.8.0b4
    com.apple.driver.AppleUSBTCKeyboard 1.8.0b4
    com.apple.iokit.SCSITaskUserClient 2.6.0
    com.apple.BootCache 31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.iokit.IOAHCIBlockStorage 1.6.0
    com.apple.iokit.AppleYukon2 3.1.14b1
    com.apple.driver.AppleAHCIPort 2.0.1
    com.apple.driver.AppleSmartBatteryManager 160.0.0
    com.apple.driver.AppleIntelPIIXATA 2.5.0
    com.apple.driver.AppleUSBHub 3.8.4
    com.apple.driver.AppleFWOHCI 4.4.0
    com.apple.driver.AppleUSBEHCI 3.7.5
    com.apple.driver.AppleUSBUHCI 3.7.5
    com.apple.driver.AppleEFINVRAM 1.3.0
    com.apple.driver.AppleRTC 1.3
    com.apple.driver.AppleHPET 1.4
    com.apple.driver.AppleACPIButtons 1.3
    com.apple.driver.AppleSMBIOS 1.4
    com.apple.driver.AppleACPIEC 1.3
    com.apple.driver.AppleAPIC 1.4
    com.apple.security.sandbox 0
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagementClient 96.0.0
    com.apple.driver.AppleIntelCPUPowerManagement 96.0.0
    com.apple.driver.DspFuncLib 1.7.9a4
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.iokit.IO80211Family 310.6
    com.apple.iokit.IOSurface 73.0
    com.apple.iokit.IOBluetoothSerialManager 2.2.4f3
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.iokit.IOAudioFamily 1.7.2fc1
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.driver.AppleHDAController 1.7.9a4
    com.apple.iokit.IOHDAFamily 1.7.9a4
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleSMC 3.0.1d2
    com.apple.driver.IOPlatformPluginFamily 4.0.1d0
    com.apple.nvidia.nv50hal 6.0.6
    com.apple.NVDAResman 6.0.6
    com.apple.iokit.IONDRVSupport 2.0
    com.apple.iokit.IOGraphicsFamily 2.0
    com.apple.driver.CSRUSBBluetoothHCIController 2.2.4f3
    com.apple.driver.AppleUSBBluetoothHCIController 2.2.4f3
    com.apple.iokit.IOBluetoothFamily 2.2.4f3
    com.apple.iokit.IOUSBHIDDriver 3.8.4
    com.apple.driver.AppleUSBMergeNub 3.8.5
    com.apple.driver.AppleUSBComposite 3.7.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.0
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IONetworkingFamily 1.9
    com.apple.iokit.IOATAPIProtocolTransport 2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.0
    com.apple.iokit.IOAHCIFamily 2.0.2
    com.apple.iokit.IOATAFamily 2.5.0
    com.apple.iokit.IOUSBUserClient 3.8.5
    com.apple.iokit.IOFireWireFamily 4.1.7
    com.apple.iokit.IOUSBFamily 3.8.5
    com.apple.driver.AppleEFIRuntime 1.3.0
    com.apple.iokit.IOHIDFamily 1.6.1
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 6
    com.apple.driver.DiskImages 281
    com.apple.iokit.IOStorageFamily 1.6
    com.apple.driver.AppleACPIPlatform 1.3
    com.apple.iokit.IOPCIFamily 2.6
    com.apple.iokit.IOACPIFamily 1.3.0
    Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.2 GHz, 4 GB, SMC 1.16f11
    Graphics: NVIDIA GeForce 8600M GT, GeForce 8600M GT, PCIe, 128 MB
    Memory Module: global_name
    AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x87), Atheros 5416: 2.0.19.4
    Bluetooth: Version 2.2.4f3, 2 service, 0 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
    Serial ATA Device: ST9320421ASG, 298.09 GB
    Parallel ATA Device: MATSHITADVD-R UJ-857E
    USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8502, 0xfd400000
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021a, 0x5d200000
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x1a100000
    Anyone know what is causing my problems? I thought it was heat so I downloaded a CPU and FAN temperature monitor and the CPU was getting VERY HOT at first so I then ramped-up the CPU FAN SPEED to maximum - it turns out the CPU FAN was not rotating well at low speed - since then I have cleaned and checked the fans and they all work as they should and blow on high(er) when the CPU temperature is above a certain level.

    S.U.
    Is there a kb article or something that would illuminate what to look for in these logs, or is it a matter of learning by osmosis?
    Both. I am not skilled in reading logs. It is a very technical and time consuming task for the uninitiated (me!) In scanning a log I look for the backtrace and loading dependencies. The first item in the backtrace is usually the roadblock.
    Beyond that you can look at the Technical Note TN2063: Understanding and Debugging Kernel Panics
    Should make for good bedtime reading. Puts you right to sleep.
    c

  • Using getter/setter for returing a string variable to display on an Applet

    have two classes called, class A and class testA.
    class A contains an instance variable called title and one getter & setter method. class A as follow.
    public class A extends Applet implements Runnable, KeyListener
         //Use setter and getter of the instance variable
         private String title;
         public void init()
              ASpriteFactory spriteFactory = ASpriteFactory.getSingleton();
              // Find the size of the screen .
              Dimension theDimension = getSize();
              width = theDimension.width;
              height = theDimension.height;
              //Create new ship
              ship = spriteFactory.createNewShip();
              fwdThruster = spriteFactory.createForwardThruster();
              revThruster = spriteFactory.createReverseThruster();
              ufo = spriteFactory.createUfo();
              missile = spriteFactory.createMissile();
              generateStars();
              generatePhotons();
              generateAsteroids();
              generateExplosions();
              initializeFonts();
              initializeGameData();
              //Example from Instructor
              //setMyControlPanel( new MyControlPanel(this) );
              // new for JDK 1.2.2
              addKeyListener(this);
              requestFocus();
         public void update(Graphics theGraphics)
              // Create the offscreen graphics context, if no good one exists.
              if (offGraphics == null || width != offDimension.width || height != offDimension.height)
                   // This better be the same as when the game was started
                   offDimension = getSize();
                   offImage = createImage(offDimension.width, offDimension.height);
                   offGraphics = offImage.getGraphics();
                   offGraphics.setFont(font);
              displayStars();
              displayPhotons();
              displayMissile();
              displayAsteroids();
              displayUfo();
              //displayShip();
              //Load the game with different color of the space ship          
              displayNewShip();
              displayExplosions();
              displayStatus();
              displayInfoScreen();
              // Copy the off screen buffer to the screen.
              theGraphics.drawImage(offImage, 0, 0, this);
         private void displayInfoScreen()
              String message;
              if (!playing)
                   offGraphics.setColor(Color.white);
                   offGraphics.drawString("\'A\' to Change Font Attribute", 25, 35);
                   offGraphics.drawString(getTitle(), (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             - fontHeight);
                   message = "The Training Mission";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2);
                   message = "Name of Author";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             + fontHeight);
                   message = "Original Copyright 1998-1999 by Mike Hall";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             + (fontHeight * 2));
                   if (!loaded)
                        message = "Loading sounds...";
                        int barWidth = 4 * fontWidth + fontMetrics.stringWidth(message);
                        int barHeight = fontHeight;
                        int startX = (width - barWidth) / 2;
                        int startY = 3 * height / 4 - fontMetrics.getMaxAscent();
                        offGraphics.setColor(Color.black);
                        offGraphics.fillRect(startX, startY, barWidth, barHeight);
                        offGraphics.setColor(Color.gray);
                        if (clipTotal > 0)
                             offGraphics.fillRect(startX, startY, (barWidth * clipsLoaded / clipTotal), barHeight);
                        offGraphics.setColor(Color.white);
                        offGraphics.drawRect(startX, startY, barWidth, barHeight);
                        offGraphics
                                  .drawString(message, startX + 2 * fontWidth, startY + fontMetrics.getMaxAscent());
                   else
                        message = "Game Over";
                        offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4);
                        message = "'S' to Start";
                        offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4
                                  + fontHeight);
              else if (paused)
                   offGraphics.setColor(Color.white);
                   message = "Game Paused";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4);
         public String getTitle() {
              System.out.print(title);
              return title;
         public void setTitle(String title) {
              this.title = title;
    }displayInfoScreen method in class A calls out for getTitle( ) to be displayed on an applet as an initial display string for the application.
    The instance variable title is set by setTitle method which is called out in class testA as follow,
    public class testA extends TestCase
          * testASprite constructor comment.
          * @param name
          *          java.lang.String
         public testA(String name)
              super(name);
          * Insert the method's description here.
          * @param args
          *          java.lang.String[]
         public static void main(String[] args)
              junit.textui.TestRunner.run(suite());
              // need to figure out how to get rid of the frame in this test
              System.exit(0);
         public static Test suite()
              return new TestSuite(testA.class);
          * Basic create and simple checks
         public void testCreate()
              A theGame = new A();
              assertNotNull("game was null!", theGame);
          * Basic create and simple checks
         public void testInit()
              A theGame = new A();
              Frame gameFrame = new Frame("THE GAME");
              gameFrame.add(theGame);
              int width = 640;
              int height = 480;
              gameFrame.setSize(width, height);
              // must pack to get graphics peer
              gameFrame.pack();
              theGame.resize(width, height);
              theGame.setTitle("TEST THE GAME");
              theGame.init();
              assertEquals("ASprite width not set", A.width, width);
              gameFrame.dispose();
              gameFrame.remove(theGame);
    }Basically, class testA invokes the init( ) method in class A and start the applet application. However, it displays a white blank display. If I change the getTitle( ) in the displayInfoScreen method to a fixed string, it works fine. Did I forget anything as far as using getter & setter method? Do I have to specify some type of handle to sync between setter and getter between two classes? Any feedback will be greatly appreciated.
    Thanks.

    Your class A extends runnable which leads me to believe that this is a multi-threaded application. In that case, title may or may not be a shared variable. Who knows? It's impossible to tell from what you posted.
    Anyway, what is happening is that your applet is being painted by the JFrame before setTitle is called. After that, who knows what's happening. It's a complicated application. I suspect that if you called setTitle before you added the applet to the frame, it would work.

  • Display Problem with RowHeader of a Scroll Pane

    Hi,
    I am trying to display row headers for a table using another table
    Here is the code
    import javax.swing.*;
    import javax.swing.table.*;
    public class RowNumberHeader extends JTable {
      protected JTable mainTable;
      public RowNumberHeader(JTable table) {
        super();
        mainTable = table;
        setModel(new RowNumberTableModel());
        setRowSelectionAllowed(false);
        JComponent renderer = (JComponent)getDefaultRenderer(Object.class);
      public int getRowHeight(int row) {
        return mainTable.getRowHeight();
      class RowNumberTableModel extends AbstractTableModel {
        public int getRowCount() {
          return mainTable.getModel().getRowCount();
        public int getColumnCount() {
          return 1;
        public Object getValueAt(int row, int column) {
          return new Integer(row + 1);
    }and then
            JTable displayTable = new JTable(...);
            scrollPane = new JScrollPane(displayTable);
            JViewport jvp = new JViewport();
            jvp.setView(new RowNumberHeader(displayTable));
            scrollPane.setRowHeader(jvp);the problem I have is that when a row is selected inside the row header, some rows go blank and you can see the selection is all screwed up. I tried setting the selection mode to ListSelectionModel.SINGLE_SELECTION but that didn't help.
    A refresh of the entire screen (minimize/maximize) seems to resolve the problem. I am using jdk1.4.1 in Windows 2000.
    Any ideas?
    Sylvain

    Again the problem is that when you click on the row headers, some row header rows go blank (completely white) so you can't see what they show.
    ie say I have table
    Row 1 - 1  2  3
    Row 2 - 2  4  5
    Row 3 - 5  7  7
    Row 4 - 5  6  7where Row X is the row header. So for example, if you click on Row 2, you will get something like
    Row 1 - 1  2  3
    Row 2 - 2  4  5
          - 5  7  7
    Row 4 - 5  6  7until the screen is refreshed or you click some other row header.
    hmm ok, I added calling repaint on the table whenever a row is selected and at least the display problem goes away; however, the selected indexes from the event don't always match the index of the row selected. I think actually that may be the source of the display problem.
    Here is the code I added in the constructor:
            getSelectionModel().addListSelectionListener(new ListSelectionListener()
                public void valueChanged(ListSelectionEvent e)
                    System.out.println("Header table selection is: First = " + e.getFirstIndex() +
                                       " Last = " + e.getLastIndex());
                    RowNumberHeader.this.repaint();
            });

  • Macbook and HP 2510i monitor display problem - help

    Hello,
    I am having display problem with my Macbook (Intel) and my 25'' HP 2510i monitor via DVI.. Until last monday I do not have any problems and my monitor was working flawless with my macbook.. Last monday I used the monitor with my HP Notebook to try Windows 8 on large screen. And after that try when I connect the monitor back to Macbook there is no display.. I tried the steps below
    - I connected Macbook to my Phillips Plasma TV and it worked (no error with display card of Macbook or the wire or the adaptor)
    - I connected the monitor back to HP laptop it worked.. (so no error with the monitor)
    - I unplugged monitor to cut electricity and tried.. nope not working
    - I did several tricks with macbook no effect
    - I reinstalled Mountain Lion .. no effect
    - I formatted Macbook, reinstalled Snow Leopard.. Not working.. I installed back Mountain Lion .. not working
    Whatever I tried the HP2510i is not displaying, mirroring my Macbook..
    Any help will be appreciated
    Thanks

    My graphic card details;
    NVIDIA GeForce 9400M:
      Chipset Model:          NVIDIA GeForce 9400M
      Type:          GPU
      Bus:          PCI
      VRAM (Total):          256 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0863
      Revision ID:          0x00b1
      ROM Revision:          3462

  • My original post, locked by this forum. Display problem related

    Hi G5 Gurus,
    The display problem first, we all know when screen savers display, a click on the mouse will bring you back to the active desktop, this was how it worked., but now, sometimes a click cause the G5 to sleep!
    As for the sleep, I dare not to put it to sleep these days, because I am afriad it may cause a fire by over heating. Sometmes, actually four times in the past few months, my G5 could wake up by itself, followed by a extrem high speed running of the cooling fan, it sounded like a hair dryer running in the same room. Sometimes the sreen could light up, just like real wake up, sometimes, it was black. No clicks the mouse or keyboeard could bring it back to normal, I had to press and hold the power button to turn it off.
    This crazy problem happened for the first time last summer, a dead hard disk was the cost. Apple replaced it, but failed to detect the cooling or power or display problem. I was given one month extended free service, but right after its end, the problem was back and happened even more often.
    Please let me know if any of you had the same problem and please advise what to do.
    100s Gs of thanks.
    Songyan
    iMac G5 Mac OS X (10.4.8)
    la teller
    Posts: 1
    From: Los Angeles
    Registered: Jan 10, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 10, 2007 2:21 PM in response to: Bad luck G5
    I have the EXACT same problem. In fact, I could not have described it better myself. What gives? I brought it in to the "genius" bar and they repolaced the power supply free of charge but the problem is still there. I noticed they ordered a new logic board but did not end up replacing it after all. Did you have yours replaced and did it work? Is this a known issue?
    imac G5 17 inch Mac OS X (10.3.9)
    Bad luck G5
    Posts: 8
    From: UK
    Registered: Jan 10, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 11, 2007 1:20 PM in response to: la teller
    Hi La teller,
    Thank you for your reply. The 'genius' here in London only replace the dead hard disk, which I belive was a victim of this problem. I was told they couldn't find anything wrong with the power supply or the cooling system.
    Now at lest I know I am not the only bad luck guy. Let's wait and see if others are having the same problem. I am not sure if this is a known issue to Apple, even if it is, it may take years before they can offer a recall or free repaire. I noticed that some G5s have already been suffering from power problems and a free repaire was offered.
    Thank you again and hope Apple can take our concerns into their consideration soon.
    Songyan
    iMac G5 Mac OS X (10.4.8)
    stopha6
    Posts: 1
    From: US
    Registered: Jan 12, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 12, 2007 7:43 AM in response to: Bad luck G5
    Hello,
    I'm also having this problem (fan running, won't come out of sleep), just spoke with an apple care rep. He confirmed my suspition that it was software, not hardware as I have just had the logic board and power supply replaced.
    His suggestions were to:
    1. Run disk repair from the startup CD
    try running OS X from a firewire drive and see if the same behavior happens or
    perform and archive and install.
    When the fan starts to run like that it means the OS is not communicating with the hardware properly. The OS could be somewhat corrupt if you were having hardware issues beforehand, hence the need for a reinstall. I will be performing an archive and install after the disk repair, I'll let you know if it fixes the problem!
    iMac G5 Mac OS X (10.4.8)
    Bad luck G5
    Posts: 8
    From: UK
    Registered: Jan 10, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 14, 2007 12:52 PM in response to: stopha6
    Hi Stopha6,
    Thank you for your message. I never imagined it could be a software issue, cos it looked so hardware.
    Please keep me updated with your progress.
    By the way, as I said in my old posts, a hard disk went dead when this happened for the very first time, how do you read this?
    Thank you.
    Songyan
    iMac G5 Mac OS X (10.4.8)
    Bad luck G5
    Posts: 8
    From: UK
    Registered: Jan 10, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 15, 2007 6:58 AM in response to: stopha6
    Hi Stopha6,
    After reading your reply again, I realized that the system had already been reinstalled. As I said when it happened for the first time, the hard disk died with it, which was replaced, of course with a new OS X, but the same problem is still happening. May this suggest that it is not just a software problem? Thank you. Songyan
    iMac G5 Mac OS X (10.4.8)
    AG-Nate
    Posts: 5
    From: Pismo Beach,CA
    Registered: Aug 26, 2006
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 14, 2007 3:38 PM in response to: Bad luck G5
    The Fans going at full is only because you have an application that is using a lot of cpu power and therefore causing the imac to heat up so it turns the fans on. The screen-saver and sleep problem you describe sounds like something that may just happen on accident. But this sounds mostly like a software problem. Try making sure to always quit all non-apple products and see if anything changes.
    eMac, iMacG5 Mac OS X (10.4.7) 800mhz 1gig ram, 2ghz 2gigs of ram
    Bad luck G5
    Posts: 8
    From: UK
    Registered: Jan 10, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 15, 2007 6:50 AM in response to: AG-Nate
    Thank you, Ag-Nate. I will try as you adivised but I con't think the fans were activeted my intensive CPU using. In most of the cases, the problems happened when the Mac was sleeping, when the minimum CPU were being used.
    iMac G5 Mac OS X (10.4.8)
    Timothy Klein
    Posts: 15
    From: Denver, CO, USA
    Registered: Dec 6, 2004
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Jan 31, 2007 1:02 PM in response to: AG-Nate
    "The Fans going at full is only because you have an application that is using a lot of cpu power and therefore causing the imac to heat up so it turns the fans on."
    That's only partly right. A hard-working process will make the fans run at high speed, of course.
    But, the OS is in touch with the firmware of the iMac, telling it how to run the fans, based upon information the OS X kernel is getting about the state of the hardware.
    If the firmware loses touch with the OS for some reason, and is not getting instructions on how to run the fan, it will default to running them at full blast, to be on the safe side (and this "full blast" fan mode is way louder than anything you'll generally experience during normal usage, I know from experience).
    So it may not be so simple as a hard-working cpu process kicking the fans on.
    iMac G5 17" 1.6 GHz Rev. A Mac OS X (10.4.8) 1 GB Ram
    Kensall
    Posts: 2
    From: London, England
    Registered: Feb 2, 2007
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Feb 2, 2007 9:05 AM in response to: Timothy Klein
    Hi I have a 20" G5 imac it's about 18 months old and I am having the same problem, It freezes and the fan runs really loud. It's nothing to do with software as my I.T. guy has done a complete re-install. All of our admin people have imacs of differring ages and the flat panels are all OK but every one of the G5s has had a booting problem. Some fell into the recall for replacement logic boards but the one I have at home is the newest and doesn't. I'm waiting for my apple reseller to get back to me, but it looks like it's the logic board and as none of the serial numbers fall into the recall, I'm expecting a big bill. I'm really disappointed as I've been a professional apple user for over 15 years and have grown to expect a certain amount of honesty and integrity from them. Looking at all of the discussion boards and the amount of people complaining of the same problem the logic boards are defective and apple should be replacing these free of charge.
    i mac G5 Mac OS X (10.4.8)
    a brody
    Posts: 15,170
    From: Silver Spring, Maryland. Don't forget to backup your data!
    Registered: Dec 23, 2000
    Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
    Posted: Feb 2, 2007 10:27 AM in response to: Kensall
    Kensall,
    Welcome to Apple Discussions!
    As in the other thread I wrote:
    Being from England, you may find the repair program under these pages:
    http://www.apple.com/uk/support/imac/repairextensionprogram/
    http://www.apple.com/uk/support/imac/powersupply/repairextension/
    Check both of them as they refer to different models.
    If neither of yours is under the program, please start a new topic thread so someone can help you.
    http://discussions.apple.com/forum.jspa?forumID=881
    First off, you'll get a wider audience who may be able to solve your problem. Secondly, responses to you won't confuse the original poster with solutions that don't apply to them. And thirdly, you'll know for certain whether or not a response applies to you.
    iMac C2D 2.17/20 inch/iMac G5 1.8 1st gen/iMac G4 800 Mac OS 9 Mac OS X (10.4.8) EyeTV 200, Canon PS A530 , Epson P-R220, iSight, Airport Extreme, 5th Gen iPod

    I am having a very similar problem. My G5 imac has already had the logic board replaced from the leaking capacitor problem. 8 mos. later the power supply was replaced under the second recall program when it failed to start up.
    It had been working now for almost a year, when about 3 mos. ago I started to experience the sudden dimming effect - if the display was untouched the screen would dim about 30% similar to a laptop in energy save mode. I checked and none of these types of options were set in the pref panes. At the same time I would have the iMac go to sleep after a while from non-use, and then when I tried to wake it it would stir for a few seconds and then go right back to sleep. It took 2-3 attempts to wake it up.
    Then last week, as I tried to wake it, it just shut down instead completely. I had to hold the power button down to recycle it to get it to come back to life (3 times).
    Today was it - I found what I thought was a sleeping iMac, but it will not power up at all. I opened the back cover and the power supply is working, but I cannot get the board to energize, I reset the PMU, but the #2 LED won't even blink. It is completely dead.
    Basically every time I used this computer I held my breath that it would not work. After 2 recalls I still only get 9 mos. out of it? Apple is really starting to show it is like the "big" computer makers, the quality is going right down the tubes.
    iMac G5   Mac OS X (10.4.4)  

Maybe you are looking for

  • Bad Performance with Oracle Lite 4.0.1

    I have a table in Oracle Lite with 17000 records and 110 fields. A SELECT on this table needs 1 minute to finish. The same table and query only needs 1 second on Oracle 8i Server. MSDE also needs 1 second. All the relevant fields are indexed. Are the

  • (X230) Connected to Wifi with excellent signal but unable to load internet pages:

    Hey everyone, Hoping for the community to help me figure out a problem of mine. Trying to connect my X230 to internet through a new router (Asus - security type WPA-Personal) and although the laptop connects without a problem (98% signal strength), i

  • DIFFRENT SUBNET IS POSSIBLE OR NOT FOR ONE VLAN

    Hi , i have a client they have main office and some 10 branches connected via 1 mbps link . We put new WLC 5508 in main office (software version 6.0.199.4) and i connected braches 1142 ap's and they registerd with WLC . Now client have 3 ssid 1> scan

  • Please Help! Adobe Premiere cs 5.5

    Hello, Currently I am using a trail version of adobe Premiere Pro cs 5.5 and I worked on a project shot on RED and the editing is almost done. Because I can't export the Film because of the limitation I was wondering if I can adapt the film to an ful

  • Nokia worried networks will reject selling n900 be...

    I know this is a user forum, but I'd like to make this thread a bit of a stand with Nokia.. You (Nokia) may be worried that networks won't like the fact they can't mess with the N900 operating system, but this is in my opinion, the best news I've hea