Mixing textfields and graphics

My students are creating a simulation that uses graphics paint and repaint to draw circles at random locations in a container. This is an applet. Currently our initial conditions (radius, number circles, etc. ) are "hardwired" in the code. We want a GUI "JTestfield to let the user input initial conditions. The problem is the init() method runs before we can get the user input.
Question: How can we create a GUI user input that will allow user to input initial conditions before the graphics methods execute in our applet?

Why don't you just use the textfield's setText method, like so:
public void ActionPerformed(ActionEvent e) {
   if (Interger.parseInt(e.getActionCommand()) == rigthAnswer) input.setText("You got it!");
   else input.setText("Hey man, you're wrong,but don't give up");
}The above is predicated on the valid use of the condition you're checking for (I don't know what rightAnswer is, hopefully it's defined somewhere!).
;o)
V.V.

Similar Messages

  • How do I limit the size of a TextField and do an auto advance of that field

    Attached is a copy of my program. It reads a bar code and enters that bar code into a textfield and 2 text areas. everything is working fine except I want the bar code read to trigger a print to the 2 text areas automatically instead of the user having to hit the enter key. Any suggestions on where I should start researching or any snippets of code that I could use would be appreciated.
    //-------------------Buffalo Offline Scan Program------------
    //This program will allow the Buffalo user to continue scanning cases on pallets
    //when the AS\400 is down. The scans will be sent to a flat file that will be
    //FTPed to the AS\400 when it is back up and update the proper files.
    //Program Author: Susan Riggin
    package javalab;
    import javabook.*;
    import javalab.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.applet.*;
    import java.io.*;
    import java.io.File.*;
    import java.util.*;
    public class BuffOff extends Applet implements ActionListener
    //               Data Members
         //Variables
         private int scanCount = 0;
         private int sessionCount = 0;
         //Labels
         private Label buffaloLabel = new Label();
         private Label scanLabel = new Label();
         private Label cPalletLabel = new Label();
         private Label cCountLabel = new Label();
         private Label tPalletLabel = new Label();
         private Label tCountLabel = new Label();
         private Label rButtonLabel = new Label();
         private Label eButtonLabel = new Label();
         //TextFields
         private TextField scanTextField = new TextField(6);
         //Buttons
         private Button rButton = new Button("Reset");
         private Button eButton = new Button("Exit");
         //Text Areas
         private TextArea cTextArea = new TextArea( 10, 40);
         private TextArea tTextArea = new TextArea(10, 40);
         public void paint(Graphics g){
         Toolkit kit = Toolkit.getDefaultToolkit();
         Image imageA = kit.getImage("d:\\\\javaproj\\javalab\\abbott.gif");
         g.drawImage(imageA, 555, 5, 50, 50, this);
    //               Constructor
    public BuffOff()
         //Attach the GUI objects so they will appear on the screen.
         setLayout (null);
         buffaloLabel.setBounds(203, 5, 200, 27);
         buffaloLabel.setFont(new Font ("dialog",Font.BOLD, 18));
         buffaloLabel.setAlignment(Label.CENTER);
         buffaloLabel.setText("Buffalo OffLine Scan");
         cPalletLabel.setBounds(18, 60, 291, 23);
         cPalletLabel.setFont(new Font ("dialog", Font.BOLD, 14));
         cPalletLabel.setAlignment(Label.CENTER);
         cPalletLabel.setText("Current Pallet");
         cPalletLabel.setBackground(Color.cyan);
         tPalletLabel.setBounds(322, 62, 291, 23);
         tPalletLabel.setFont(new Font ("dialog", Font.BOLD, 14));
         tPalletLabel.setAlignment(Label.CENTER);
         tPalletLabel.setText("Total Pallets");
         tPalletLabel.setBackground(Color.pink);
         rButton.setBounds(129, 485, 56, 23);
         rButton.setBackground(Color.cyan);
         rButton.setLabel("Reset");
         eButton.setBounds(459, 485, 56, 23);
         eButton.setBackground(Color.pink);
         eButton.setLabel("Exit");
         cCountLabel.setBounds(18, 88, 291, 23);
         cCountLabel.setFont(new Font("dialog", Font.BOLD, 12));
         cCountLabel.setAlignment(Label.CENTER);
         cCountLabel.setText("Current Pallet Case Count = " + scanCount);
         cCountLabel.setBackground(Color.lightGray);
         tCountLabel.setBounds(322, 88, 291, 23);
         tCountLabel.setFont(new Font("dialog", Font.BOLD, 12));
         tCountLabel.setAlignment(Label.CENTER);
         tCountLabel.setText("Total Pallet Case Count = " + sessionCount);
         tCountLabel.setBackground(Color.lightGray);
         scanLabel.setBounds(120, 33, 160, 23);
         scanLabel.setFont(new Font("dialog", Font.BOLD, 14));
         scanLabel.setAlignment(Label.CENTER);
         scanLabel.setText(" Current Barcode Scan: ");
         scanTextField.setBounds(300, 34, 58, 23);
         scanTextField.setBackground(Color.white);
         eButtonLabel.setBounds(322, 460, 291, 23);
         eButtonLabel.setAlignment(Label.CENTER);
         eButtonLabel.setBackground(Color.pink);
         eButtonLabel.setText("Press Exit to end Program.");
         rButtonLabel.setBounds(18, 460, 291, 23);
         rButtonLabel.setAlignment(Label.CENTER);
         rButtonLabel.setBackground(Color.cyan);
         rButtonLabel.setText("Press Reset for next pallet scan.");
         cTextArea.setBounds(18, 118, 291, 333);
         cTextArea.setBackground(Color.cyan);
         tTextArea.setBounds(322, 118, 291, 333);
         tTextArea.setBackground(Color.pink);
         //Place the GUI objects on the applet.
         add(buffaloLabel);
         add(scanLabel);
         add(cPalletLabel);
         add(cCountLabel);
         add(tCountLabel);
         add(tPalletLabel);
         add(cCountLabel);
         add(rButtonLabel);
         add(eButtonLabel);
         add(scanTextField);
         add(rButton);
         add(eButton);
         add(cTextArea);
         add(tTextArea);
         //Add applet as an action listener.
         scanTextField.addActionListener(this);
         rButton.addActionListener(this);
         eButton.addActionListener(this);
    //               Methods that make the program work
    //---------method for action performed and action event---------
         public void actionPerformed(ActionEvent e)
         if (e.getSource() == eButton) exit();
         if (e.getSource() == scanTextField) {
              try {     
                   scan();
              catch(IOException f){}
         if (e.getSource() == rButton) reset();
    //-------------method for pressing the exit button---------------
         private void exit()
         System.exit(0);
    //------------method for pressing the reset button---------------
         private void reset()
         scanCount = 0;
         scanTextField.setText("");
         cTextArea.setText("");
         cCountLabel.setText("Current Pallet Case Count = " + scanCount);
         scanTextField.requestFocus();
    //------------method for scanning barcode------------------------
         private void scan() throws FileNotFoundException
         String scanText = scanTextField.getText();
         if (scanText.equals("999999")) reset();
         else{
         String cTime, cDate;
         File scan = new File("d:\\\\javaproj\\javalab", "scan.txt");
         //adds the date and time to entries
         Clock myClock = new Clock();
         cTime = myClock.getCurrentTime();
         cDate = myClock.getCurrentDate();
         //Add to counts
         ++scanCount;
         ++sessionCount;     
         //Append scanned data to text areas
         cTextArea.append(scanCount + "->" + scanText + " " + " " + cDate + " " + cTime );
         cCountLabel.setText("Current Pallet Case Count = " + scanCount);
         cTextArea.append("\r\n");
         tTextArea.append(sessionCount + "->" + scanText + " " + " " + cDate + " " + cTime);
         tCountLabel.setText("Total Pallet Case Count = " + sessionCount);
         tTextArea.append("\r\n");
         //Append scanned data directly to flat file.
         try
         FileWriter outputFile = new FileWriter("d:\\\\javaproj\\javalab\\scan.txt", true);
         outputFile.write(scanTextField.getText());
         outputFile.write(myClock.getCurrentDate());
         outputFile.write(myClock.getCurrentTime());
         outputFile.write("\r\n");
         outputFile.close();
    catch (IOException e)
         //clear the scan field
         scanTextField.setText("");
         // position the cursor
         scanTextField.requestFocus();
    Thanking you in advance for your assistance!!!!!!!!!
         

    Sorry that you're still having trouble :-( The title of your post seems a little different to your description of the problem, but I'm assuming you want the textfields to auto-scroll so they always show the last entry?
    Try this://Append scanned data to text areas
    cTextArea.append(scanCount + "->" + scanText + " " + " " + cDate + " " + cTime );
    cCountLabel.setText("Current Pallet Case Count = " + scanCount);
    cTextArea.append("\r\n");
    //ADD CALL TO AUTO-SCROLL METHOD:
    autoScroll(cTextArea);
    tTextArea.append(sessionCount + "->" + scanText + " " + " " + cDate + " " + cTime);
    tCountLabel.setText("Total Pallet Case Count = " + sessionCount);
    tTextArea.append("\r\n");
    //ADD CALL TO AUTO-SCROLL METHOD:
    autoScroll(tTextArea);Then you need to add this method to your class:private void autoScroll(TextArea textArea){
        //get the length of the text in the text area:
        int endOfText = (textArea.getText()).length();
        //...then set the caret position to the end:
        textArea.setCaretPosition(endOfText);

  • How can i clear the textfield and the list selections?

    How can i clear the textfield and the list selections?
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    <applet code="ListDemo" width=300 height=400>
    </applet>
    public class ListDemo extends Applet implements ActionListener {
    List os, browser;
    String msg = "";
    String text;
    String named = "";
    TextField name;
    Button Ok, reset;
    public void init() {
    Ok = new Button("Ok");
    reset = new Button("reset");
    add(reset);
    add(Ok);
    reset.addActionListener(this);
    Ok.addActionListener(this);
    Label namep = new Label("Name: ", Label.RIGHT);
    name = new TextField(12);
    add(namep);
    add(name);
    name.addActionListener(this);
    os = new List(4, false);
    browser = new List(4, false);
    os.add("default");
    os.add("BMW");
    os.add("BENZ");
    os.add("Lexus");
    os.add("Acura");
    browser.add("default");
    browser.add("Red");
    browser.add("Black");
    browser.add("Silver");
    browser.add("Blue");
    browser.add("Yellow");
    browser.add("Pink");
    browser.add("Grey");
    browser.add("Blue/Black");
    os.select(0);
    browser.select(0);
    add(os);
    add(browser);
    os.addActionListener(this);
    browser.addActionListener(this);
    public void actionPerformed(ActionEvent ae) {
    String str = ae.getActionCommand();
    if(str.equals("Ok")){
    text = "You pressed Ok";
    else
    if(str.equals("reset")){
    browser.select(0);
    os.select(0);
    text = "";
    repaint();
    public void paint(Graphics g) {
    g.drawString("Name: " + name.getText(), 6, 120);
    int idx[];
    msg = "Current Car: ";
    idx = os.getSelectedIndexes();
    for(int i=0; i<idx.length; i++)
    msg += os.getItem(idx) + " ";
    g.drawString(msg, 6, 140);
    msg = "Current Color: ";
    msg += browser.getSelectedItem();
    g.drawString(msg, 6, 160);
    g.drawString(text, 6, 200);

    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    <applet code="ListDemo" width=300 height=400>
    </applet>
    public class ListDemo extends Applet implements ActionListener {
    List os, browser;
    String msg = "";
    String text;
    String named = "";
    TextField name;
    Button Ok, reset;
    public void init() {
    Ok = new Button("Ok");
    reset = new Button("reset");
    add(reset);
    add(Ok);
    reset.addActionListener(this);
    Ok.addActionListener(this);
    Label namep = new Label("Name: ", Label.RIGHT);
    name = new TextField(12);
    add(namep);
    add(name);
    name.addActionListener(this);
    os = new List(4, false);
    browser = new List(4, false);
    os.add("default");
    os.add("BMW");
    os.add("BENZ");
    os.add("Lexus");
    os.add("Acura");
    browser.add("default");
    browser.add("Red");
    browser.add("Black");
    browser.add("Silver");
    browser.add("Blue");
    browser.add("Yellow");
    browser.add("Pink");
    browser.add("Grey");
    browser.add("Blue/Black");
    os.select(0);
    browser.select(0);
    add(os);
    add(browser);
    os.addActionListener(this);
    browser.addActionListener(this);
    public void actionPerformed(ActionEvent ae) {
    String str = ae.getActionCommand();
    if(str.equals("Ok")){
    text = "You pressed Ok";
    else
    if(str.equals("reset")){
    browser.select(0);
    os.select(0);
    text = "";
    name.setText("");
    repaint();
    public void paint(Graphics g) {
    g.drawString("Name: " + name.getText(), 6, 120);
    int idx[];
    msg = "Current Car: ";
    idx = os.getSelectedIndexes();
    for(int i=0; i<idx.length; i++)
    msg += os.getItem(idx) + " ";
    g.drawString(msg, 6, 140);
    msg = "Current Color: ";
    msg += browser.getSelectedItem();
    g.drawString(msg, 6, 160);
    g.drawString(text, 6, 200);

  • Questions on Report Builder and Graphics Builder

    Hi there:
    I'm currently using Report/Graphics builder V 6.0.8.11.3 NT version to create RDF and OGD files.
    I was wondering with the following confusions:
    1) Is the RDF/OGD file that I create under NT plat form portable to Sun Unix?? (ie. would Report Server for Sun understand this NT RDF/OGD file?)
    2) Is/will there a Sun solaris version of Report/Graphic Builder?? And would RDF/OGD file be compatible for both NT and Sun plat form??
    Thank you very much.
    Mark

    The answer to both your questions is yes. the rdf and ogd are portable to the solaris version of reports and graphics which you can download from http://technet.oracle.com/products/reports/ on the software tab.

  • The Crew –Racing with Your Coolest MSI Gaming Motherboard and Graphics Card

    Most gaming fans are crazy about racing games, and there is a new game title just launched to fulfill gamers’ dream. We want to share with you the experience from Taiwan user who assembles a rig with a brand new MSI Z97 Gaming 5 motherboard and 960 graphics card, along with a hardware and game (The Crew) benchmarks. You may find the original article from:
    https://forum-tc.msi.com/index.php?topic=113352.0
    The Crew - Launch Trailer
    PC configuration:
    CPU: Intel i5-4670K
    RAM: Avexir DDR3-1600 8G*2
    VGA: MSI GTX960 GAMING 2G
    SSD: Kingston HyberX 3K SSD 240G
    CPU Cooler: SilverStone AR01
    The MSI Z97 Gaming 5 motherboard box
    Overview of the motherboard: Black and Red color scheme, it’s also the favorite color combination from MSI’s user reservation.
    The PCI-E slots and bandwidth are enough for a two-way SLI setting.
    Killer Ethernet, outstanding performance on internet access, especially reduce the lag issue.
    The new arrival MSI GTX960 GAMING 2G graphics card
    New cooling design: ZeroFrozr
    The dragon symbol on LED panel
    With MSI Gaming series motherboard plus graphics card, you can enable a Gaming App to overclock CPU and GPU. There are 3 modes to choose.
    6-month free trail of the XSplit game caster software, free bundled with MSI gaming motherboard and graphics card
    Done with assembling, quiet nice color combination and clean cable arrangement.
    An overview of the very gaming look system.
    Some benchmark results before racing with The Crew.
    CPU and GPU info on CPU-Z and GPU-Z applications:
    3DMark Fire Strike score: 6441
    3DMark Fire Strike Extreme score: 3384
    3DMark Fire Strike Ultra score:1262
    The excel performance proof the brand new 960 graphics card comes with good a high Cost/Performance Value.
    Now, check out this test benchmark score of the renowned game “The Crew”.
    The game presents an ultra-quality display, 60 Frames Per Second (FPS)
    FPS: Average frames is at:
    Frames: 3859 - Time: 76828ms - Avg: 50.229 - Min: 43 - Max: 56
    The comments of the game for your reference:
    There are many types of missions that can be chosen from the America’s map.
    Street racing, high-speed collision, breakaway from police, sky jumps, zigzagging, etc… make the game quite dynamic.
    Now, when it comes to multi-player matches, the performance has exceeded expectations. Perhaps, it is the killer Ethernet that’s working the magic. Thus, this game is highly recommended if you have the right rig.
    The downside is that the display intricacy is not as refined as GTA V and in addition, the game FPS is limited at 60 FPS. However, the overall gaming flow and performance is better than good.
    The user's comment for using MSI Gaming 5 motherboard and 960 graphics card:
    (The following commends are translated from user’s article, does not represent the viewpoint of MSI) ^^
    Recently, MSI GTX 960 just launched so the initial price tag is still adjustable.
    According to the current product line, it seems like this GPU is going to replace 750Ti. So once all the stocks (750Ti) at the store empties, we are most likely to see a price drop on GTX960.
    Once the price hits the sweet spot, it’s time to try out GTX960 SLI’s performance.
    The CP value on MSI GTX960 and GAMING 5 MB is pretty high. But the XSplit software that comes with the product is a bit annoying since the authentication steps are divided into 2 parts to go through for using it.     
    Enough said, anyways, GAME ON!

    NVIDIA 960 card  + GAMING 5 motherboard = best bundle for budget gaming!
    it would be nice to see more testing of hardware-demanding games!

  • Processor and graphics card upgrade for hp dc5100 MT(EF633US)

    Can someone kindly tell me a variety of Intel processors and graphic cards which i can install in my pc coz right now i'm using Intel pentium 4 CPU 2.80 GHz and Intel 82915G/GV/910GL express chipset. but i would like to upgrade to a faster processor and a graphics card which can play games which require large graphic memory (eg FIFA 2013,GTA 5.etc)

    Hi:
    Personally, I wouldn't invest the money to upgrade that PC.
    You would be better off getting an off lease newer dc5800 MT or dc7800/dc7900 model that has a PCIe x16 video slot.
    The killer for your model is you can only install a PCI graphics card.
    Very inefficient and pretty expensive for what you get in return.
    After you install the required microcode update, the best processor I know for sure you can install would be the P4 650.
    Below is the link to the quickspecs.  The supported processors are listed on page 7.
    I do not know of anyone who that has installed the 651 or 661 processors and got them to work--even though the specs state they are supported.
    You can try the 651 or 661 and if you do, please let me know if they worked for you.
    http://h18000.www1.hp.com/products/quickspecs/12145_ca/12145_ca.pdf

  • Satellite P200D-11R sound and graphics crash after waking up from sleep mode

    Hi,
    I am wondering if anyone here has had similar experiences to mine (below) or can offer any solutions.
    I have upgraded my P200D-11R OS to Vista 64 Ultimate to take advantage of the extra performance. I also add that the BIOS has already been updated to version 1.4.
    Well, everything works fine with the standard 2Gig of RAM which the laptop was supplied with originally, however, when I upgrade the RAM to 4Gig (2 x 2GB Samsung 667mHz modules), sound and graphics problems appear every time the machine is brought back from sleep mode.
    The sound card makes a very laud fuzzy noise every time it wants to play a sound and the graphics produce lots of horizontal lines on the screen. I then just have to restart the machine which means loosing all my unsaved work.
    Everything works fine as long as the machine does not enter sleep mode. I have currently disabled the sleep mode to prevent the machine from entering it but I am finding life very hard without it.
    I am very surprised and also disappointed at the fact that Toshiba did not test these machines with Vista 64 Ultimate and 4Gig of RAM!
    Extra info:
    The memory is the same Samsung type as the 1Gig modules supplied by Toshiba originally with the machine, and the part number Toshiba recommends.
    I have tried installing other (more recent) device drivers by Realtek and ATI without any improvements.
    The memory modules pass all tests and are not defective. They have also been tested on my friends Dell notebook with no problems even in sleep mode.
    I have installed my friends Dell 2Gig memory modules in my P200D and they too produce exactly the same results with post-sleep crashes.
    My thoughts are that this must be another BIOS issue unless anyone can shed some light on the issue from another angle.
    Please help! Many thanks in advance.

    Hi Sascha
    Since you are running a Vista 32bit version, the upper limit of the memory recocnised by the machine is 3.2gb which is the maximum a 32bit operating system can address and use. The diffrence here is that I also upgraded my OS to Vista Ultimate 64bit to get yet better performance out of the 64bit dual AMD processor.
    3.2gb of RAM on 32bit OS does not necessarily increase the performance. However, it keeps the performance stable when you open many more programs at the same time since the machine has more RAM to play with before staring to use the much slower hard drive as operating memory (Page File), to keep all thoes open programs running.
    A 64bit OS such as Vista Ultimate 64, recognises the whole 4gb of RAM and much more (for instance, 8gb with 2 x 4gb RAM modules). The 64bit OS itself would generally consume more RAM to start with, however, with 4gb I found the general performance to be much better. Going back to the problem however, my P200D-11R with Ultimate 64 and 4gb RAM refuses to wake up from sleep mode gracefully and the graphics and sound crash every time, forcing me to restart.
    My feelings at present is that eventhough your machine may be slightly different, I bet if you upgrade your OS to 64bit, the machine will start recognising all of the 4gb of RAM and post-sleep crashes will start to appear!

  • Mixing ECC and NECC (Non-ECC) RAM Modules

    Hi,
    I have a G5 Dual Core 2.0 with a pair of 512Mb Non-ECC (NECC) RAM installed and I want to upgrade to 3Gb. I'm thinking of getting 2Gb ECC modules and discarding the 1Mb NECC installed. But I came across a phrase in the Apple Manual of my G5 that states "DO NOT MIX ECC and NON-ECC Memory Modules WITHIN A PAIR." Does that mean I can mix ECC and NECC within Memory Banks and NOT within a PAIR? Because in that case I won't have to discard my NECC 1Gb and have a mixed 3Gb Memory!? I'm afraid to actually try it so I would appreciate your insights. Thanks much.
    G5 Dual Core 2.0   Mac OS X (10.4.7)  

    Yes. You can mix ECC and nonECC as long as you don't pair the ECC with the nonECC. The computer will just treat all RAM as nonECC.
    You can keep the original memory as long as the two 512MB DIMMs are always paired with each other.

  • Mixing XDCAM and HDV?? Outputting to SD DVD...

    Hi
    Earlier this year we shot a documentary on a Sony PDW-F350L HD XDCam (great camera, stunning footage - 35Mbps). Working in FCP has been fine.
    We're doing a follow up and budget and logistics dictate that we sadly can't use 350s again (where we're going, carrying 2 Z1s for example is going to be a lot easier). We're also on a fairly steep learning curve (being relatively new to FCP, Compressor etc).
    So I'm looking at options. We know that there are significant differences between say a Z1 and a 350 but from my research so far and from some relatively simple testing mixing Z1 footage (native) and 350 footage on FCP, at least editing on the timeline doesn't seem like it's going to present any problems (although thoughts on that welcome).
    The issue seems to be outputting. In the first instance we'll be outputting to SD DVD. Yes, that old gem...
    Searching round various forums, it seems this problem (HDV - SD) is fairly universal. Solutions seem to range from not working in Native HDV (suggestions vary on the format to ingest in - AIC etc); outputting to different formats first (eg DVCPro HD) and then to MPEG-2; outputting the timeline to tape (DV), re-importing; using some thing like a Matrox MXO to output and others...
    We're aware of the shortcoming of HDV and the compressed nature of the format and our expectations, given our kit are realistic. I've even tried putting some PD150 footage on the timeline but that's just not going to cut it.
    So, I've got to put a kit list together by next week and wondered if anyone had any thoughts on:
    1) Mixing XDCAM and HDV on the timeline and any gotchas we should watch out for.
    but more importantly
    2) Any suggested routes I can look at to get some reasonable output with these two formats on the timeline - particularly HDV (don't think we'll have time to look at the Matrox route right now).
    Many thanks in advance for any thoughts.
    Cheers

    Thanks Andy, Michael
    That's good input. From an editing point of view we seem to be ok. Although, Michael, I take your point and that's a good suggestion.
    The main problem is the workflow to create a decent SD DVD without the artefacts caused by compression/motion etc in HDV (and to some extent XDCAM).
    Have read the prores whitepaper at
    http://images.apple.com/finalcutstudio/resources/whitepapers/L342568A_ProResWP.pdf
    And looked a little more into understanding GOP structures and it seems that ProRes will help in terms of editing.
    The white paper seems to suggest that converting to ProRes, because it uses I frame–only encoding "Ensures consistent quality in every frame and no artifacts from complex motion. "
    We'll try some tests but, does anyone know if this is true?
    But it also seems that deinterlacing may solve some of the horrendous vertical edge rippling we're getting on the HDV footage when outputting to SD DVD - although if I'm honest I'm not sure how we achive that with our current setting.

  • Want to add Video and Graphic Card to my computer system

    I Notice that one of the users' in the Apple discussion Board is Listed, (AndyO) he has help me many times in the Past and was succesful in my problrm solution, would he might be able to help me with this?
    I had Purchased the Game Spore Creature Creator the Starter Kit which is just the Creature creator game and not the actual game itself. I wasn't able to install the the game on my computer because I don't have the right or not at all Video and Graphic Card install on my computer. I had Contacted the Company "EA" that puts out the Game Spore, this is what they said what the game requirements are: The minimum system requirements for Spore and Spore the Galactic Edition for Mac are as follows:
    * Mac OS X 10.5.3 Leopard or higher
    * Intel Core Duo Processor
    * 1024 MB RAM
    * At least 345 MB of hard drive space for installation, plus additional space for created creatures. (260 MB for the Trial Edition)
    * Video Card - ATI X1600 or NVidia 7300 GT with 128 MB of Video RAM, or Intel Integrated GMA X3100
    This game will not run on PowerPC (G3/G4/G5) based Mac systems (PowerMac).
    For computers using built-in graphics chipsets, the game requires at least: an Intel Integrated Chipset GMA X3100 or Dual 2.0GHz CPUs, or 1.7GHz Core 2 Duo, or equivalent
    Supported Video Cards
    ATI Radeon(TM) series
    * X1600, X1900, HD 2400, HD 2600
    NVIDIA GeForce series
    * 7300, 7600, 8600, 8800
    Intel(R) Extreme Graphics
    * GMA X3100
    and that I need to upgrade my system. Basically I need; ATI Radeon 1600 or NVIDIA Geforce 7300 and a INTEL Extreme Graphic Video Card-GMA X3100, in order to be able to install and play this game. Since I already have this game, I would like to be able to upgrade my computer system which brings me to ask; does somone know or refer me to a web site that has and sells these Video and Graphic Card and supports for the Mini Mac?
    Plus they say that I need a 1020 of MB of Ram, I Have already found that 1024 MB of Ram but I just need those Video and Graphic Cards for my computer system. I am adding my computer system Profile to my discussion board to show you what I have on my system, would you be able to tell me if I would be able to add these Video and Graphic card and the memory or Ram 1024 to my computer system?
    Note: Here is a web site that I am looking at to add the 1024 MB of Ram to my computer system:
    http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=24188 41&CatId=2453
    what do you think?
    Here is part a copy info of my computer system Profile:
    Trisha Foster’s Mac mini
    10/10/08 5:39 PM
    Hardware:
    Hardware Overview:
    Model Name: Mac mini
    Model Identifier: Macmini2,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 1 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MM21.009A.B00
    SMC Version: 1.19f2
    Serial Number: YM8073Q**
    Network:
    AirPort:
    Type: AirPort
    Hardware: AirPort
    BSD Device Name: en1
    IPv4 Addresses: 169.254.247.182
    IPv4:
    Addresses: 169.254.247.182
    Configuration Method: DHCP
    Interface Name: en1
    Subnet Masks: 255.255.0.0
    IPv6:
    Configuration Method: Automatic
    Proxies:
    Exceptions List: *.local, 169.254/16
    FTP Passive Mode: Yes
    Ethernet:
    MAC Address: 00:1f:5b:3e:ce:93
    Media Options:
    Media Subtype: Auto Select
    Bluetooth:
    Type: PPP (PPPSerial)
    Hardware: Modem
    BSD Device Name: Bluetooth-Modem
    IPv4:
    Configuration Method: PPP
    IPv6:
    Configuration Method: Automatic
    Proxies:
    FTP Passive Mode: Yes
    Ethernet:
    Type: Ethernet
    Hardware: Ethernet
    BSD Device Name: en0
    IPv4 Addresses: 192.168.1.102
    IPv4:
    Addresses: 192.168.1.102
    Configuration Method: DHCP
    Interface Name: en0
    NetworkSignature: IPv4.Router=192.168.1.1;IPv4.RouterHardwareAddress=00:21:29:c3:12:ae
    Router: 192.168.1.1
    Subnet Masks: 255.255.255.0
    IPv6:
    Configuration Method: Automatic
    DNS:
    Domain Name: cruzio.com
    Server Addresses: 74.220.64.45, 74.220.64.55
    DHCP Server Responses:
    Domain Name: cruzio.com
    Domain Name Servers: 74.220.64.45,74.220.64.55
    Lease Duration (seconds): 0
    DHCP Message Type: 0x05
    Routers: 192.168.1.1
    Server Identifier: 192.168.1.1
    Subnet Mask: 255.255.255.0
    Proxies:
    Exceptions List: *.local, 169.254/16
    FTP Passive Mode: Yes
    Ethernet:
    MAC Address: 00:16:cb:af:11:7f
    Media Options: Full Duplex, flow-control
    Media Subtype: 100baseTX
    FireWire:
    Type: FireWire
    Hardware: FireWire
    BSD Device Name: fw0
    IPv4:
    Configuration Method: DHCP
    IPv6:
    Configuration Method: Automatic
    Proxies:
    Exceptions List: *.local, 169.254/16
    FTP Passive Mode: Yes
    Ethernet:
    MAC Address: 00:1f:5b:ff:fe:17:17:2a
    Media Options: Full Duplex
    Media Subtype: Auto Select
    Software:
    System Software Overview:
    System Version: Mac OS X 10.5.5 (9F33)
    Kernel Version: Darwin 9.5.0
    Boot Volume: Macintosh HD
    Boot Mode: Normal
    Computer Name: Trisha Foster’s Mac mini
    User Name: Trisha Foster (tiger)
    Time since boot: 59 minutes
    ATA:
    ATA Bus:
    PIONEER DVD-RW DVR-K06:
    Capacity: 423.4 MB
    Model: PIONEER DVD-RW DVR-K06
    Revision: Q614
    Removable Media: Yes
    Detachable Drive: No
    BSD Name: disk2
    Protocol: ATAPI
    Unit Number: 0
    Socket Type: Internal
    Low Power Polling: Yes
    Mac OS 9 Drivers: No
    Partition Map Type: Unknown
    S.M.A.R.T. status: Not Supported
    Volumes:
    SPORE:
    Capacity: 368.7 MB
    Media Type: CD-ROM
    Writable: No
    File System: ISO Rockridge
    BSD Name: disk2s0
    Mount Point: /Volumes/SPORE
    Audio (Built In):
    Intel High Definition Audio:
    Device ID: 0x83847680
    Audio ID: 8
    Available Devices:
    Headphone:
    Connection: Combo
    Speaker:
    Connection: Internal
    Line In:
    Connection: Combo
    S/P-DIF Out:
    Connection: Combo
    S/P-DIF In:
    Connection: Combo
    Bluetooth:
    Apple Bluetooth Software Version: 2.1.0f17
    Hardware Settings:
    Trisha Foster’s Mac mini:
    Address: 00-1f-5b-72-12-aa
    Manufacturer: Cambridge Silicon Radio
    Firmware Version: 3.1965 (3.1965)
    Bluetooth Power: On
    Discoverable: Yes
    HCI Version: 3 ($3)
    HCI Revision: 1965 ($7ad)
    LMP Version: 3 ($3)
    LMP Subversion: 1965 ($7ad)
    Device Type (Major): Computer
    Device Type (Complete): Macintosh Desktop
    Composite Class Of Device: 3154180 ($302104)
    Device Class (Major): 1 ($1)
    Device Class (Minor): 1 ($1)
    Service Class: 385 ($181)
    Requires Authentication: No
    Services:
    Bluetooth File Transfer:
    Folder other devices can browse: ~/Public
    Requires Authentication: Yes
    State: Enabled
    Bluetooth File Exchange:
    Folder for accepted items: ~/Downloads
    Requires Authentication: No
    When other items are accepted: Ask
    When PIM items are accepted: Ask
    When receiving items: Prompt for each file
    State: Enabled
    Incoming Serial Ports:
    Serial Port 1:
    Name: Bluetooth-PDA-Sync
    RFCOMM Channel: 3
    Requires Authentication: No
    Outgoing Serial Ports:
    Serial Port 1:
    Address:
    Name: Bluetooth-Modem
    RFCOMM Channel: 0
    Requires Authentication: No
    Diagnostics:
    Power On Self-Test:
    Last Run: 10/10/08 4:41 PM
    Result: Passed
    Disc Burning:
    TEAC CD-W540E:
    Firmware Revision: 1.0F
    Interconnect: FireWire
    Burn Support: Yes (Apple Supported Drive)
    Cache: 8192 KB
    Reads DVD: No
    CD-Write: -R, -RW
    Write Strategies: CD-TAO, CD-SAO, CD-Raw
    Media: Insert media and refresh to show available burn speeds
    PIONEER DVD-RW DVR-K06:
    Firmware Revision: Q614
    Interconnect: ATAPI
    Burn Support: Yes (Apple Shipping Drive)
    Cache: 2000 KB
    Reads DVD: Yes
    CD-Write: -R, -RW
    DVD-Write: -R, -R DL, -RW, +R, +R DL, +RW
    Write Strategies: CD-TAO, CD-SAO, CD-Raw, DVD-DAO
    Media:
    Type: CD-ROM
    Blank: No
    Erasable: No
    Overwritable: No
    Appendable: No
    FireWire:
    FireWire Bus:
    Maximum Speed: Up to 400 Mb/sec
    OXFORD IDE Device LUN 0:
    Manufacturer: Oxford Semiconductor Ltd.
    Model: 0x42A258
    GUID: 0x1D200500648AF
    Maximum Speed: Up to 400 Mb/sec
    Connection Speed: Up to 400 Mb/sec
    Sub-units:
    OXFORD IDE Device LUN 0 Unit:
    Unit Software Version: 0x10483
    Unit Spec ID: 0x609E
    Firmware Revision: 0x444133
    Product Revision Level: 1.0F
    Sub-units:
    OXFORD IDE Device LUN 0 SBP-LUN:
    Graphics/Displays:
    Intel GMA 950:
    Chipset Model: GMA 950
    Type: Display
    Bus: Built-In
    VRAM (Total): 64 MB of shared system memory
    Vendor: Intel (0x8086)
    Device ID: 0x27a2
    Revision ID: 0x0003
    Displays:
    L1916HW:
    Resolution: 1280 x 800 @ 60 Hz
    Depth: 32-bit Color
    Core Image: Hardware Accelerated
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Rotation: Supported
    Memory:
    BANK 0/DIMM0:
    Size: 512 MB
    Type: DDR2 SDRAM
    Speed: 667 MHz
    Status: OK
    Manufacturer: 0xAD00000000000000
    Part Number: 0x48594D503536345336344350362D59352020
    Serial Number: 0x0000**
    BANK 1/DIMM1:
    Size: 512 MB
    Type: DDR2 SDRAM
    Speed: 667 MHz
    Status: OK
    Manufacturer: 0xAD00000000000000
    Part Number: 0x48594D503536345336344350362D59352020
    Serial Number: 0x00001*
    Power:
    System Power Settings:
    AC Power:
    System Sleep Timer (Minutes): 10
    Disk Sleep Timer (Minutes): 10
    Display Sleep Timer (Minutes): 10
    Sleep On Power Button: Yes
    Automatic Restart On Power Loss: No
    Wake On LAN: Yes
    Hardware Configuration:
    UPS Installed: No
    Printers:
    Canon MP830:
    Status: Idle
    Print Server: Local
    Driver Version: 4.8.3
    Default: Yes
    URI: usb://Canon/MP830?serial=19702D
    PPD: Canon MP830
    PPD File Version: 1.0
    PostScript Version: (3011.104) 0
    Serial-ATA:
    Intel ICH7-M AHCI:
    Vendor: Intel
    Product: ICH7-M AHCI
    Speed: 1.5 Gigabit
    Description: AHCI Version 1.10 Supported
    Hitachi HTS541612J9SA00:
    Capacity: 111.79 GB
    Model: Hitachi HTS541612J9SA00
    Revision: SBDAC7MP
    Serial Number: SB2EF9L7G3**
    Native Command Queuing: Yes
    Queue Depth: 32
    Removable Media: No
    Detachable Drive: No
    BSD Name: disk0
    Mac OS 9 Drivers: No
    Partition Map Type: GPT (GUID Partition Table)
    S.M.A.R.T. status: Verified
    Volumes:
    Macintosh HD:
    Capacity: 111.47 GB
    Available: 63.14 GB
    Writable: Yes
    File System: Journaled HFS+
    BSD Name: disk0s2
    Mount Point: /
    USB:
    USB High-Speed Bus:
    Host Controller Location: Built In USB
    Host Controller Driver: AppleUSBEHCI
    PCI Device ID: 0x27cc
    PCI Revision ID: 0x0002
    PCI Vendor ID: 0x8086
    Bus Number: 0xfd
    Keyboard Hub:
    Version: 94.15
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: Apple, Inc.
    Product ID: 0x1006
    Serial Number: 000000000000
    Vendor ID: 0x05ac (Apple Computer, Inc.)
    USB RECEIVER:
    Version: 25.10
    Bus Power (mA): 100
    Speed: Up to 1.5 Mb/sec
    Manufacturer: Logitech
    Product ID: 0xc50e
    Vendor ID: 0x046d
    Apple Keyboard:
    Version: 0.69
    Bus Power (mA): 100
    Speed: Up to 1.5 Mb/sec
    Manufacturer: Apple, Inc
    Product ID: 0x0220
    Vendor ID: 0x05ac (Apple Computer, Inc.)
    iPod:
    Version: 0.01
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: Apple Inc.
    Product ID: 0x1291
    Serial Number: aa1186ca1738fd28eef1eeb1b22754********
    Vendor ID: 0x05ac (Apple Computer, Inc.)
    USB2.0 Hub:
    Version: 7.02
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Product ID: 0x0606
    Vendor ID: 0x05e3
    USB 2.0 3.5" DEVICE:
    Capacity: 153.39 GB
    Removable Media: Yes
    Detachable Drive: Yes
    BSD Name: disk1
    Version: 0.01
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: Macpower Technology Co.LTD.
    Mac OS 9 Drivers: Yes
    Partition Map Type: APM (Apple Partition Map)
    Product ID: 0x0073
    Serial Number: BC0*
    S.M.A.R.T. status: Not Supported
    Vendor ID: 0x0dc4
    Volumes:
    miniStack:
    Capacity: 153.26 GB
    Available: 42.96 GB
    Writable: Yes
    File System: Journaled HFS+
    BSD Name: disk1s10
    Mount Point: /Volumes/miniStack
    MP830:
    Version: 1.15
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: Canon
    Product ID: 0x1713
    Serial Number: 197*
    Vendor ID: 0x04a9
    USB Bus:
    Host Controller Location: Built In USB
    Host Controller Driver: AppleUSBUHCI
    PCI Device ID: 0x27c8
    PCI Revision ID: 0x0002
    PCI Vendor ID: 0x8086
    Bus Number: 0x1d
    USB Bus:
    Host Controller Location: Built In USB
    Host Controller Driver: AppleUSBUHCI
    PCI Device ID: 0x27c9
    PCI Revision ID: 0x0002
    PCI Vendor ID: 0x8086
    Bus Number: 0x3d
    USB Bus:
    Host Controller Location: Built In USB
    Host Controller Driver: AppleUSBUHCI
    PCI Device ID: 0x27ca
    PCI Revision ID: 0x0002
    PCI Vendor ID: 0x8086
    Bus Number: 0x5d
    USB Bus:
    Host Controller Location: Built In USB
    Host Controller Driver: AppleUSBUHCI
    PCI Device ID: 0x27cb
    PCI Revision ID: 0x0002
    PCI Vendor ID: 0x8086
    Bus Number: 0x7d
    Bluetooth USB Host Controller:
    Version: 19.65
    Bus Power (mA): 500
    Speed: Up to 12 Mb/sec
    Manufacturer: Apple, Inc.
    Product ID: 0x8205
    Vendor ID: 0x05ac (Apple Computer, Inc.)
    IR Receiver:
    Version: 1.10
    Bus Power (mA): 500
    Speed: Up to 12 Mb/sec
    Manufacturer: Apple Computer, Inc.
    Product ID: 0x8240
    Vendor ID: 0x05ac (Apple Computer, Inc.)
    AirPort Card:
    AirPort Card Information:
    Wireless Card Type: AirPort Extreme (0x168C, 0x86)
    Wireless Card Locale: USA
    Wireless Card Firmware Version: 1.4.4
    Current Wireless Network: Trisha's iPod
    Wireless Channel: 11
    Firewall:
    Firewall Settings:
    Mode: Allow all incoming connections
    Locations:
    Automatic:
    Active Location: Yes
    Services:
    AirPort:
    Type: IEEE80211
    BSD Device Name: en1
    Hardware (MAC) Address: 00:1f:5b:3e:ce:93
    IPv4:
    Configuration Method: DHCP
    IPv6:
    Configuration Method: Automatic
    AppleTalk:
    Configuration Method: Node
    Proxies:
    Exceptions List: *.local, 169.254/16
    FTP Passive Mode: Yes
    IEEE80211:
    Join Mode: Automatic
    JoinModeFallback: Prompt
    PowerEnabled: 1
    PreferredNetworks:
    SecurityType: Open
    SSID_STR: Apple Store
    Unique Network ID: 4BCBEE2D-83B9-4CC1-B110-8D0E8E5DF49C
    SecurityType: Open
    SSID_STR: linksys
    Unique Network ID: F2551FD6-95A7-4F98-9F7F-758A89DBD931
    Bluetooth:
    Type: PPP
    IPv4:
    Configuration Method: PPP
    IPv6:
    Configuration Method: Automatic
    Proxies:
    FTP Passive Mode: Yes
    PPP:
    ACSP Enabled: No
    Display Terminal Window: No
    Redial Count: 1
    Redial Enabled: Yes
    Redial Interval: 5
    Use Terminal Script: No
    Dial On Demand: No
    Disconnect On Fast User Switch: Yes
    Disconnect On Idle: Yes
    Disconnect On Idle Time: 600
    Disconnect On Logout: Yes
    Disconnect On Sleep: Yes
    Idle Reminder: No
    Idle Reminder Time: 1800
    IPCP Compression VJ: Yes
    LCP Echo Enabled: No
    LCP Echo Failure: 4
    LCP Echo Interval: 10
    Log File: /var/log/ppp.log
    Verbose Logging: No
    Ethernet:
    Type: Ethernet
    BSD Device Name: en0
    Hardware (MAC) Address: 00:16:cb:af:11:7f
    IPv4:
    Configuration Method: DHCP
    IPv6:
    Configuration Method: Automatic
    AppleTalk:
    Configuration Method: Node
    Proxies:
    Exceptions List: *.local, 169.254/16
    FTP Passive Mode: Yes
    FireWire:
    Type: FireWire
    BSD Device Name: fw0
    Hardware (MAC) Address: 00:1f:5b:ff:fe:17:17:2a
    IPv4:
    Configuration Method: DHCP
    IPv6:
    Configuration Method: Automatic
    Proxies:
    Exceptions List: *.local, 169.254/16
    Can someone Please help me with any suggestions or otherwisde I will have to go to a Apple store and ask for help there.
    Thank You,
    Trisha Foster
    <Edited by Moderator>

    Hi Trisha,
    The only modern Mac's with video cards are the Mac Pro and Xserve (server) systems. They both are priced quite a bit higher than any Mac Mini.
    Some systems, like the Mac Book Pro laptop can be ordered with different graphics cards, but that has be done when the system is built, as it is not replaceable once the system is built. To find out which systems, go to store.apple.com. For each system that you select, you can see if there's an option for a better video card.
    David

  • Mixing static and dynamic content in a single outputText value causes NPEs

    Hi,
    I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
    I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
    [#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
            at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
            at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
            at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
            at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
            at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
            at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
            at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
            at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
            at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
            at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
            at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
            at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
            at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
            at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
            at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
            at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
    <h:outputText escape="false"
              value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css"  />' />If I replace this with a much more convoluted set of tags, it works:
    <h:outputText escape="false"
              value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
              /><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
    If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
    Thanks,
    Bill

    Yes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
    I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
    For now, multiple tags is the work-around, I guess.
    Thanks,
    Bill

  • Adding a jar to the classpath of an executable jar (mixing -jar and -cp)

    Hello,
    frankly I hesitated over posting this to "New to Java"; my apologies (but also, eternal gratefulness) if there is an ultra-simple answer I have overlooked...
    I integrate a black-box app (I'm not supposed to have the source) that comes packaged as an executable jar (with a Manifest.MF that specifies the main class and a bunch of dependent jars), along with a few dependent jars and a startup script. Long story short, the application code supports adding jars in the classpath, but I can't find a painless way to add a jar in its "classpath".
    The app's "vendor" (another department of my customer company) has a slow turnaround on support requests, so while waiting for their suggestion as to how exactly to integrate custom jars, I'm trying to find a solution at the pure Java level.
    The startup script features a "just run the jar" launch line:
    java -jar startup.jarI tried tweaking this line to add a custom jar in the classpath
    java -cp mycustomclasses.jar -jar startup.jarBut that didn't seem to work ( NoClassDefFound at the point where the extension class is supposed to be loaded).
    I tried various combination of order, -cp/-classpath, using the CLASSPATH environment variable,... and eventually gave up and devised a manual launch line, which obviously worked:
    java -cp startup.jar;dependency1.jar;dependency2.jar;mycustomclasses.jar fully.qualified.name.of.StartupClassI resent this approach though, which not only makes me have to know the main class of the app, but also forces me to specify all the dependencies explicitly (the whole content of the Manifest's class-path entry).
    I'm surprised there isn't another approach: really, can't I mix -jar and -cp options?
    - [url http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html]This document (apparently a bible on the CLASSPATH), pointed out by a repited forum member recently, does not document the -jar option.
    - the [url http://download.oracle.com/javase/tutorial/deployment/jar/run.html]Java tutorial describes how to use the -jar option, but does not mention how it could play along with -cp
    Thanks in advance, and best regards,
    J.
    Edited by: jduprez on Dec 7, 2010 11:35 PM
    Ahem, the "Java application launcher" page bundled with the JDK doc (http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html) specifies that +When you use [the -jar] option, the JAR file is the source of all user classes, and other user class path settings are ignored+
    So this behavior is deliberate indeed... my chances diminish to find a way around other than specifying the full classpath and main class...

    I would have thought that the main-class attribute of the JAR you name in the -jar option is the one that is executed.Then I still have the burden of copying that from the initial startup.jar's manifest. Slightly less annoying than copying the whole Class-path entry, but it's an impediment to integrating it as a "black-box".
    The 'cascading' behavior is implicit in the specification
    I know at least one regular in addition to me that would issue some irony about putting those terms together :o)
    Anyway, thank you for confirming the original issue, and merci beaucoup for your handy "wrapper" trick.
    I'll revisit the post markers once I've actually tried it.
    Best regards,
    Jérôme

  • Where can I get a new replacemen​t motherboar​d and graphics card for HP Tx2 touchsmart 1340ea? Cost?

    my computer has been getting either blue screen of death, or your machine has been turned off to save your computer or pixels jumping around across screen, so on white screen was getting streaks of blue from top to bottom and on black streaks of red dancing about, OR no screen at all - blank. 
    Now machine won't even boot up.  This all happened both on cable and wireless.   Product no VJ667EA #    TX2 Touchsmart 1340ea.
    There have been no upgrades of hardware , and on software front only thing is regular updates of windows.  It was running Windows 7 64 bit professional.
    It is now totally dead.  If you try to boot up you get the electric symbol light up, and caps lock and end /number lock light up and flash... thats it.
    We just tried to blow out dust that is all.  I have a nasty feeling HP doesn't want to sell any parts and only bothered about selling folks like me  a new machine which I am not going to buy.    This one didn't last more than 18 months, just long enough to be out of guarantee.  Here's hoping I am wrong and there are replacement motherboards and graphics cards (it

    You're very welcome.
    What seems to be unfair is I can buy that motherboard directly from HP in the USA as you saw, but for whatever reason you can't buy it directly from HP in the UK.
    I still think you would be better off checking out what related notebooks may be for sale out there on eBay UK.
    I buy all my PC's on eBay in used condition for great bargains. I do limit myself to the business PC's and notebooks that HP makes, however.
    Best of luck in whatever you decide to do.
    Regards,
    Paul

  • Right side of start up screen is black and graphics flicker.....help!

    For the last 2-3 months whenever I turn on my macbook (Mid 2007 white 13in model) the right 3 inches of the screen are black and the log in screen is shifted to the left 1/3 of the screen. These graphics flicker constantly. If I log in my computer stays like that.....black on the right and flickering graphics on the left. I usually have to power off and on around 10 or so times to get it to boot normally. Once it is running normal....it stays like that until I turn it off and back on. When I put it to sleep and back on it never has a problem, only from power off to power on. The screen and graphics are working perfectly except on startup.
    Anybody have an idea of what it could be or how to fix it?
    I was running snow leopard when this first started. About 1 month ago my HDD crashed so I replaced it and now am running Tiger again as I haven't had time to upgrade the OS yet.

    Also- When my computer starts up normally it has a grayish/light blue screen with an apple on it for 2-3 seconds and then the log in screen appears.
    However, when it is messed up the screen stays black for 5 seconds and then the log in screen appears distorted on the left side of the screen and the right side stays black.
    Both times I hear the initial "ding"

  • Can I upgrade my processor and graphics card in my HP Pavilion g6-2244sa Notebook PC?

    Hi I bought this laptop 2 years ago for gaming purposes and school work. I was told by the shop assistant that it can run most fo your big games such as Call Of Duty and FIFA. Well frankly i was lied to and this laptop struggles to even play the simplest game Minecraft a game about pixelated blocks that you destroy and place and this can't even run it I am very annoyed about this and seeing if i can upgrade the machine never crossed my mind until now. So i am asking to see if it would be possible to upgrade the Hardware of this machine mainly the processor and graphics card, here are the specs of my laptop:
    Processor- AMD E2-1800 APU w/ Radeon HD graphics (2CPUs) (1.80)GHz
    Graphics Card - AMD Radeon HD 7340G
    RAM - 8Gb
    Memory - 1Tb
    Now I am wondering if this machine's processor and graphic's card can be upgraded and if so what would be the price of it and where would be the best place and if the cost is too much would i be better off buying a new machine? 
    If you need more specs reply with the ones you need and i'll get them for you thank you for the help! 

    joshua_2020 wrote:
    Hi I bought this laptop 2 years ago for gaming purposes and school work. I was told by the shop assistant that it can run most fo your big games such as Call Of Duty and FIFA. Well frankly i was lied to and this laptop struggles to even play the simplest game Minecraft a game about pixelated blocks that you destroy and place and this can't even run it I am very annoyed about this and seeing if i can upgrade the machine never crossed my mind until now. So i am asking to see if it would be possible to upgrade the Hardware of this machine mainly the processor and graphics card, here are the specs of my laptop:
    Processor- AMD E2-1800 APU w/ Radeon HD graphics (2CPUs) (1.80)GHz
    Graphics Card - AMD Radeon HD 7340G
    RAM - 8Gb
    Memory - 1Tb
    Now I am wondering if this machine's processor and graphic's card can be upgraded and if so what would be the price of it and where would be the best place and if the cost is too much would i be better off buying a new machine? 
    If you need more specs reply with the ones you need and i'll get them for you thank you for the help! 
    Put this way if that system isn't costing you 2,000US or more then it will not play Call Of Duty and FIFA regardless of what the store sales person says. To play those games your laptop has to fall into the catgory called "Gaming Laptop" Specs and those come with cost and weight to show for it. Your laptop is only good at low games resolution and will not handle graphics intensive games. Those requires Gaming Laptop specs those cost money to be had. So if you still want to Game COD style you need to put down the cash for serious Game Laptop to perform under pressure. Forget about upgrading your current system what you want is a Serious Gaming Laptop if your going to play COD.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

Maybe you are looking for