Get graphics

I have a class called Myclass and it has a switch statment
and in the gui class which extends JFrame i want to make instances of the myclass class. which ive done
BASICALLY I HAVE A CLASS CALLED myclass AND I WANT TO PUT INSTANCES OF IT IN THE create class, AND PASS PARAMETER TO IT TO DECIDE WHAT TO DRAW. EG. myclass myclass1 = new myclass();
then say myclass1.myswitch(8) and draw this on the screen in the clas gui.
if possible pease show code I wuld would to position one instance of the left of the screen, and then the other instance 100 pixelx to the right of it and so on.
i want to pass it a parameter of 8 which will then go through to the swicth statmment as decide what to display. Now how do i display this on the screen in gui class
window.add(myclass1.myswitch(8));
This line is wrong
class Myclass extends JPanel{
public Myclass(){
super();
public void myswitch(int i){
Graphics paper = this.getGraphics();
paper.setColor(Color.black);
Graphics remove = this.getGraphics();
hit.setColor(Color.white);
switch (i){
case 1:
paper.drawLine(20,20,50,50);
hit.drawLine(70,70,50,50)
// code to draw football colour black
case 5:
// code to draw rugby ball colour black
default:
// draw trainers colour black
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class create extends JFrame{
public static void main(String []args){
Myclass myclass1 = new Myclass();
myclass1.setPreferredSize(new Dimension(100, 100));
myclass1.setBackground(Color.black);
create mycreate = new create();
mycreate.add( myclass1 );
mycreate.setVisible(true);
myclass1.mymethod(8); // trying to put this on the screen but doesnt work
}

sorry for the inconvienece i cause i shouldnt have reposted i though maybe in another section i would get more replies.
Sorry i should have been more explicit your code works perferctly boo bear.
But now i have the troble
import java.awt.*;
import javax.swing.*;
public class MainWindow extends JFrame {
     public static void main(String[] args) {
          // SwingUtilities.invokeLater ensures your GUI is created on the
          // Event Dispatch Thread.
          SwingUtilities.invokeLater(new Runnable() {
               public void run() {
                    MyPanel panel = new MyPanel();
                    panel.setPreferredSize(new Dimension(100, 100));
                    //panel.setBackground(Color.black);
                    MainWindow window = new MainWindow();
                    window.getContentPane().add(panel);
                    window.setDefaultCloseOperation(EXIT_ON_CLOSE);
                    window.pack(); // Makes window display at proper size.
                    window.setVisible(true);
                    panel.setPaintState(1);
     static class MyPanel extends JPanel {
          private int paintState;
          public MyPanel() {
               super();
          public void setPaintState(int state) {
               this.paintState = state;
               repaint(); // Tells the panel to repaint itself since state has changed
          protected void paintComponent(Graphics g) {
               super.paintComponent(g);
               g.setColor(Color.black);
               switch (paintState) {
                    case 1:
                         // code to draw football colour black
                         break;
                    case 5:
                         // code to draw rugby ball colour black
                         break;
                    default:
                         // draw trainers colour black
                         break;
}I want to set two colours one red and one yellow
paintComponent(Graphics g, Graphics hit)
super.paintComponent(g);
               g.setColor(Color.red);
super.paintComponent(hit);
hit.setColor(Color.yellow);then when i code through the switch statment i.e
switch (paintState){
case1:
g.drawLine(20,20,80,80);
hit.drawLine(10,10,40,40);
}but when i compile nothing (no lines) comes up and once i remove hit.drawLine(10,10,40,40); super.paintComponent(hit); and hit.setColor(Color.yellow);it display the orgininal line.
i seems i am unable to set two different colours

Similar Messages

  • Need to get graphics to work on HP Envy 17t-3000 CTO

    Please bear with me. I'm not very tech savvy but am great at following directions to solve problems.
    I received a used HP Envy 17t-3000 CTO laptop with 750 GB...i7 - 2670 QM...6GB...64 Bit. with no restore on it to get back to original config.
    I received it updated to Windows 8.1 Pro which didn't allow video drivers to work (Intel HDGraphics 3000 and AMD 7690M XT switchable graphics).
    I installed Windows 7 Home Premium back on it (originally on it when made) from an ISO download on line.
    My problem is that I need to know exactly what drivers in which order to download on top of Win 7 install to get switchable graphics display to work as it's still not working with 8.1 Pro removed. I currently have a black screen and only see the screen with HDMI connected to the tv.
    I need to be sure I am downloading all the needed drivers for it to work properly ASAP as I have a time limit to return it if that isn't the problem / isn't fixable / is a hardware problem.
    I really want to keep it if it is fixable with correct driver installations and I don't have time to order restore disc from HP before my return window is closed.
    So, can someone please help me and list the drivers in order of installation for my laptop?
    Thanks!
    PS: When I reinstall Windows 7 Home Premium from my burned ISO file does that remove all the drivers I tried to install before that aren't working? If not...how do I do that? I want to start over beginning with the Win 7 install followed by the correct drivers in correct order....back to original config.

    Hi,
    Same post as:
       http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-and-Software/Need-to-get-graphics-to-work-on...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Get graphics of JTextPane and write into image

    Hi!
    i want to get graphics of textpane including images ,text position font and every thing in it and desiring to write in an image text should be in same alignment too.

    I'd try as follows:
    1. Create a BufferedImage.
    2. Pass the graphics object of this BufferedImage to the paint() method of the respective text pane.

  • Few days back I installed Autocad 2014 in my macbook pro 15" early 2012.For few days it worked fine but since last two days I'm getting graphical lag in my mac. Finger gestures and dock movement all seems to be lagging badly.Please help.I'm using maverick

    Few days back I installed Autocad 2014 in my macbook pro 15" early 2012.For few days it worked fine but since last two days I'm getting graphical lag in my mac. Finger gestures and dock movement all seems to be lagging badly.Please help.I'm using mavericks

    We regularly use Cocktail by Maintain software. You run the whole gamut of options but the important one is in System - Databases - Rebuild launch services. Also in Files - Caches - then clear the lot.
    This is just houskeeping really but there are so many 'links' in A/cad it needs 'cleaning'

  • Cann't I get Graphics object in JVM?

    I developed a java stored procedure in which I want to generate a picture.
    So I use this:
    BufferedImage bufferedImage = new BufferedImage(width,height,1);
    Graphics g2 = bufferedImage.createGraphics();
    System.out.println(g2.toString());
    I can get the bufferedImage succesfully but when running to g2.toString(), NullPointerException are thrown.
    Cann't I get Graphics Object in Oracle's JVM?
    How can I develop this procedure to generate a picture which have to running background at databaserver.
    Need your help.
    Thanks.

    Hi Guoshun,
    Cann't I get Graphics Object in Oracle's JVM?As far as I know, you can't. Since Oracle's JVM is certified by SUN, it has to include all of the classes in the J2SE core libraries. However (and I recall reading this in the Oracle documentation) the graphics related classes cannot be used. Sorry :-(
    [But someone else may prove me wrong :-]
    I don't know if this will help you, but for your information, there are some examples in the book Java Servlet Programming by Jason Hunter about servlets creating images. Perhaps it will give you some ideas:
    http://www.servlets.com/jservlet2/examples/ch06/index.html
    And there is also Marco Schmidt's Java Image FAQ (which may also be helpful)
    Good Luck,
    Avi.

  • Installed latest ver. of Firefox, getting graphical glitches when scrolling

    While using Firefox on my LG Optimus e400 phone, the screen starts to flicker with images of the status bar and produce other weird graphical glitches. When I stop scrolling, the flickering goes away, but if I try to scroll up or down on the phone I get graphics glitches. I will try to get a screenshot if possible

    A screenshot would be helpful.

  • Getting graphics card replaced under Apple Care, How?

    Hi everyone
    I have a Mac Pro, 3Ghz Quad with 5 GB of RAM and a Radeon X1900 XT and Apple Cinema 30".
    For the first few months that I had it I could play games fine on it. Then slowly it started malfunctioning on anything that is GPU intensive. At first the monitor would black out in game and then the computer would restart. I had the machine cleaned and that fixed the problem for a while. Then problems started to appear again. The machine would completely hard freeze while in-game.
    I came on here and asked about the problem and found out that a lot of people who play WOW on 30" Cinema Displays with Radeon X 1900 XTs were having the same problem. It was due to the fact that the graphics card overheats (bad design on apples part). I have never played WOW but I get the same problem. They suggested using smcFanControl to up the idle speed of my PCIe/HDD fan (the fan still runs within its rated RPMs). This helped for a while when I ran the fan at 3x its normal idle speed. But I really didn't enjoy hafting to go and change my fan speed before playing a game, and games within windows wouldn't work at all.
    Now my games ether hard freeze a few minuets in (under OS X or Windows), or I get graphics glitches (polygons get stretched out into infinity off of different objects). This is unacceptable considering the machine is hardly 8 months old (and I have Apple Care on it), also considering I have done nothing wrong or out of the ordinary and the GPU just deteriorated into this state on its own.
    So I was wondering how I can go about getting Apple to replace my GPU for free under the Apple Care. I'm located in Guatemala and there is an apple authorized repair place here.

    Call AppleCare. Open a problem report/ticket on this.
    * Order parts (Do-it-Yourself)
    * Request a repair online
    * Check your repair status
    * Service FAQ
    Before you seek service, check out our Mac Pro support articles to see if an article can help you resolve the issue. For information about getting hardware service, see our Mac Pro service FAQ and Contacting Apple Support pages, or get help from these options:
    * Find a retail Apple Store near you
    * Find a local Apple Authorized Service Provider
    * Order a replacement part or upgrade
    * Check my repair status
    Have AppleCare Protection Plan? Download TechTool Deluxe
    http://www.apple.com/support/macpro/
    I would also run Apple Hardware Test in the meantime. There is suppose to be a revised 2nd generation Radeon. I know it has been discussed heavily on the WoW forums.

  • Cant get graphics card to work on MS6166 board

    Iam tring to install nvidia graphics card(PCI) to my MS6166 mother board but cant get new drivers to work,I have disabled on board graphics via jumper on board but new graphics card still wont work.
    HELP!
    Anybody had same problem?

    Well, have you tried leaving the monitor cable connected to the onboard VGA and tried booting up? Sometimes you need to disable it within BIOS.

  • Can't get graphical mapping to work - subelements

    Hello,
    I'm new to SAP XI, and I'm struggling with a graphical mapping.
    This is what I have in the source message schema:
    <Root>
      <Group>             (occurrance 1..1)
         <A>              (occurrance 1..n)
            <Value>       (occurrance 1..1)
            <B>           (occurrance 0..n)
               <Value>    (occurrance 1..1)
    So element "A" can have possible 0, 1 or more subelements "B".  Element A has always a subelement "Value", and if B occurs, every occurrance of B has also a subelement "Value".
    The purpose of the mapping is: if there are "B" subelements, then map the "Value" subelement of B to the target message element (and this for each "B" subelement). If there are no "B" subelements, then map the "Value" subelement of A to the target message element.
    The example message instance I have is:
    <Root>
      <Group>
        <A>
           <Value>test1</Value>
        </A>
        <A>
           <Value>test2</Value>
           <B>
             <Value>test3</Value>
           </B>
           <B>
             <Value>test4</Value>
           </B>
        </A>
        <A>
           <Value>test5</Value>
        </A>
      </Group>
    </Root>
    This would have to be mapped to a target result which looks like this:
    <Results>
       <Records>
          <Result>test1</Result>
          <Result>test3</Result>
          <Result>test4</Result>
          <Result>test5</Result>
       </Records>
    </Results>
    (as you probably already remarked, the "test2" value should not be mapped to the target, because the A-parent element has B subelements, so the values should be taken from that element.)
    I already tried several things and combinations (exists node function, splitbyvalue,...) that I found on the forum, but I don't succeed in creating the correct structure.
    Can you guys help me ? Thank you very much in advance !
    (I marked this thread as a question so I can reward the answers)
    Kindly,

    This is my exampel to loop over a special node and to find out a special value inside this node or to find a special subnode. In this case i have to search in the node "PARAM1" similar to your "A" that a subnode or special Value is existing
    Maybe this code is helpful to get your solution.
    Create a Queue Function with parameters (string).
    Beware: It´s only an idea !
    //write your code here
    int i = 0;
    i = PARAM1.length;
    boolean WEExist = false;
    //result.clear();
    // loop over PARAM1 and find a special value or //subnode:in_this_case_insert_PARAM2_instead_of_equals_to_constant_WE
    for (int j = 0; j<i; j++)
                        if( PARAM1[j].equals("WE"))
         WEExist = true;
         result.addValue("trueWE");
    if( WEExist == false)
         result.addValue("falseWE");
    You can work with this result to get the "value" from "A" or "B".
    Note: you have to use the removecontext after the UDF in the Graphical mapping.
    I hope you can use this simple UDF to get an idea for your solution.
    Regards,
    Gordon
    Message was edited by:
            Gordon Breuer

  • Getting graphic display with GL4java

    Hello .. I'm trying to get a basic display with GL4java. I'm able
    to create the main window but cannot get any openGL display. I've first defined a class which extends from JFrame who is the main window. From the panel, I've added a class which extends from Canvas. This is the class where I define the openGL configurations.. !
    I don't know why I can't get an openGL display. Would you know what I'm doing wrong.
    -=-=-=-=-=-=-
    code from Graphique.java
    /* Generated by Together */
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.*;
    import java.net.*;
    import java.lang.*;
    import java.util.*;
    import java.io.*;
    import gl4java.*;
    import gl4java.awt.*;
    import gl4java.drawable.*;
    import gl4java.utils.textures.*;
    import gl4java.utils.glut.*;
    public class Graphique extends Canvas implements GLEventListener, MouseListener, MouseMotionListener, KeyListener{
    constructeur
    public Graphique()
    setSize(400,400);
    addKeyListener(this);
    x = 0;
    y = 0;
    public void init(GLDrawable drawable)
    System.out.println("ICI");
    gl = drawable.getGL();
    glu = drawable.getGLU();
    glut = new GLUTFuncLightImpl(gl, glu);
    glj = drawable.getGLContext();
    this.gldrawable = drawable;
    public void display(GLDrawable drawable)
    //gl.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glu.gluLookAt(0.0,0.0,10.0,0.0,0.0,0.0,0.0,-1.0,0.0);
    gl.glMatrixMode(GL_PROJECTION);
    gl.glLoadIdentity();
    glu.gluPerspective(45.0f,1.0,0.1f,150.0f);
    gl.glMatrixMode(GL_MODELVIEW);
    gl.glBegin(gl.GL_QUADS);
    gl.glColor3d(1.0,0.0,0.0);
    gl.glVertex3d(0.0,0.0,1.0);
    gl.glVertex3d(1.0,0.0,1.0);
    gl.glVertex3d(1.0,1.0,1.0);
    gl.glVertex3d(0.0,1.0,1.0);
    gl.glColor3d(0.0,1.0,0.0);
    gl.glVertex3d(3.0,3.0,1.0);
    gl.glVertex3d(4.0,3.0,1.0);
    gl.glVertex3d(4.0,4.0,1.0);
    gl.glVertex3d(3.0,4.0,1.0);
    gl.glColor3d(0.0,0.0,1.0);
    gl.glVertex3d(4.0,4.0,1.0);
    gl.glVertex3d(5.0,4.0,1.0);
    gl.glVertex3d(5.0,5.0,1.0);
    gl.glVertex3d(4.0,5.0,1.0);
    gl.glEnd();
    public void reshape(gl4java.drawable.GLDrawable gld, int width, int height)
    float h = (float) height / (float) width;
    gl.glViewport(0,0,width,height);
    gl.glMatrixMode(GL_PROJECTION);
    gl.glLoadIdentity();
    glu.gluPerspective(45.0f,1.0,0.1f,150.0f);
    gl.glMatrixMode(GL_MODELVIEW);
    gl.glLoadIdentity();
    public void cleanup(GLDrawable drawable)
    System.out.println("destroy(): " + this);
    drawable.removeMouseListener(this);
    drawable.removeMouseMotionListener(this);
    public void postDisplay(GLDrawable drawable) {}
    public void preDisplay(GLDrawable drawable) {}
    paint(Graphics)
    public void paint(Graphics g) {
    //g.drawRect(x, y, x+1, y+1); // draw border
    //g.drawString("le jeu va ici :)", 20,20);
    //setBackground(Color.blue);
    GLFunc gl;
    gl.glPushMatrix();
    gl.glPopMatrix();
    keyPressed(KeyEvent)
    public void keyPressed(KeyEvent evt)
    int no = evt.getKeyCode();
    System.out.println(no);
    switch(no)
    case 40: //DOWN
    y += 5;
    break;
    case 39: //RIGHT
    x += 5;
    break;
    case 37: //LEFT
    x -= 5;
    break;
    case 38: //UP
    y -= 5;
    break;
    case 10: //ENTER
    break;
    case 27: //ESC
    break;
    case 17: //CTRL
    break;
    case 18: //ALT
    break;
    //repaint();
    keyReleased(KeyEvent)
    public void keyReleased(KeyEvent evt)
    int no = evt.getKeyCode();
    //System.out.println(c);
    keyTyped(KeyEvent)
    public void keyTyped(KeyEvent evt){}
    public void mouseExited(MouseEvent evt) {}
    public void mousePressed(MouseEvent evt) {}
    public void mouseReleased(MouseEvent evt) {}
    public void mouseClicked(MouseEvent evt) {}
    public void mouseDragged(MouseEvent evt) {}
    public void mouseMoved(MouseEvent e) {}
    public void mouseEntered(MouseEvent evt) {}
    int x;
    int y;
    private GLFunc gl;
    private GLUFunc glu;
    private GLUTFunc glut;
    private GLContext glj;
    private GLDrawable gldrawable;
    //private Joueur joueur1;
    //private Joueur joueur2;
    //private Joueur joueur3;
    //private Joueur joueur4;
    //private Plateau UnPlateau;
    }

    That's what I did. However, I browse the code given with the NeHe jars and was able to retrieve the information I needed to start my application.
    Still, there's something that's bugging me. I can run my application with JBuilder, but not using java, javac MSdos tools. I receive an error saying that my class is not recognized when I add to classpath to gl4java jars.
    the reason why I want to use java basic tools is that my computer just crashed a few time when I executed the program. I believe it's because of JBuilder which is oversurpassing my computer's ressources. You see, I use a pII 266 with 64meg ram, while the recommended speed is 128meg ram.
    thanks again for your time :)

  • I keep getting graphics errors codes when trying to run simple things

    In a nutshell, I bought a laptop, installed the game "Spore", and played it FLAWLESSLY. A couple hours later the computer started acting up, and turns out the hard drive is bad (a scanned it through a usb device on another computer and it had many
    bad sectors) So I buy a new Hard drive, install Windows 7 Ultimate on it, and updated the graphics drivers and installed the latest version of DirectX on it, but now when I try to play Spore, I keep getting the error "could not create the graphics device.
    Direct X is not available. [1002]" and when I try to use windows movie maker I get the error message: "Windows movie maker cannot start. Make sure your computer meets the minimum system requirements before trying to start Movie Maker again, and then
    try to update the drivers for your video card if Movie Maker still doesn't start."
    I used the DxDiag tool and for some reason the apporox total memory (for my graphics card) read n/a. 
    my standard VGA Graphics Adapter (AMD ATOMBIOS) has up-to-date, Digitally signed drivers
    my hardware acceleration is turned all the way up
    I have the latest version of DirectX installed
    I have an I7, 4GB of RAM, this laptop has incredible modern features.... why can't I get simple things to work when I exceed the system requirements by so far, AND I'VE USED THEM IN THE PAST ON THIS MACHINE???... the
    only reason I bought this laptop was so I can use movie maker faster and play games.... Thank you for your tech knowledge....
    -Lucas

    Windows 7 includes DirectX 11 in its baseline and it is not necessary to install another version of it.  Your problems may be caused by the installation of the version of DirectX you installed.  Uninstall the one you installed and see if you
    still have the errors.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • To get Image or get graphics for any JComponent

    My requirment is that I need to get the Graphics object for any JComponent.
    I used createImage() method and tried and used getGraphics() method for the image, Iam getting NullPointer Exception.Since createImage() is giving a null value.
    Help urgently needed.
    Code looks something like this:
    tSource is the Component iam passing to the method.Iam getting the component correctly.
    JPanel compPnl = (JPanel)tSource;
    Image tImage = compPnl.createImage(compPnl.getWidth(), compPnl.getHeight());
    Graphics tGraph = tImage.getGraphics();
    Iam getting Null value for tImage.Help needed very urgently.
    Thanx in advance

    Try this: (include rt.jar in classpath when compiling and running)
    import com.sun.image.codec.jpeg.*;
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.image.*;
    public class Image
         public static void main(String[] args)
              JFrame theGeneratorFrame = new JFrame("Raa");
              theGeneratorFrame.getContentPane().setLayout(new FlowLayout());
              JButton theButton = new JButton("Hi there!");          
              theGeneratorFrame.setVisible(true);
              theGeneratorFrame.setVisible(false);
              theGeneratorFrame.getContentPane().add(theButton);
              theGeneratorFrame.pack();
              BufferedImage theImage = (BufferedImage) theGeneratorFrame.createImage(theButton.getWidth(), theButton.getHeight());
              theButton.paint(theImage.createGraphics());
              JButton theSecondButton = new JButton("Bye!");
              theGeneratorFrame.getContentPane().add(theSecondButton);
              theGeneratorFrame.pack();
              BufferedImage theSecondImage = (BufferedImage) theGeneratorFrame.createImage(theSecondButton.getWidth(), theSecondButton.getHeight());
              theSecondButton.paint(theSecondImage.createGraphics());
              try
                   FileOutputStream theStream = new FileOutputStream("button.jpg");
                   JPEGImageEncoder theEncoder = JPEGCodec.createJPEGEncoder(theStream);
                   theEncoder.encode(theImage);
                   theStream.close();
                   theStream = new FileOutputStream("secondbutton.jpg");
                   theEncoder = JPEGCodec.createJPEGEncoder(theStream);
                   theEncoder.encode(theSecondImage);
              catch (Exception e)
              {e.printStackTrace();}
    }The key in this one is that I add the button to the JFrame and call pack(), because otherwise the button doesn't know its dimensions, and they will remain 0. It doesn't matter that the JFrame is invisible, since I have already shown it once, then hidden it again. (the two setVisible() ones in a row).
    This approach should be usable on any component.
    Just ignore the JPEG encoder bit; I just chose to save the images to file as proof of concept...as so many have already pointed out, the stuff in rt.jar shouldn't be used this way.
    HTH,
    F

  • Can TM2-2050us get graphics upgrade

    I was wondering if the Hp Touchsmart Tm2-2050us can get a graphics updrade, and if so would I have to send it back to HP to get it done or take it to a third party vendor.  There are versions of the Tm2 that have dedicated graphics in them, I was aware of this when I purchased mine.
    Current Build:
    Hp Tm2-2050us
    Windows 7 64 bit
    4.00 GB of RAM
    Intel Core i3 U330 @ 1.20ghz

    Hi:
    Yes you could but IMO, you would be better off selling yours and getting one with the graphics solution you want.
    That is because you would need to have the entire motherboard replaced and then all of the components currently in your PC attached to your current motherboard would have to be removed and installed on the new one (processor, heat sink, wireless card, etc).
    Below is the link to the service manual.
    You would probably need to replace the current motherboard with this one  Equipped with discrete graphics subsystem and Intel Core i3-330UM 1.20-GHz processor (800-MHz FSB, 3-MB L2 cache, 18-W) Part # 611489-001.
    See the service manual, link below, Chapter 3, page 17 for the list of motherboards.
    http://h10032.www1.hp.com/ctg/Manual/c02613455.pdf
    $786 for the above motherboard, and it has to come with the processor.  You may be able to get some credit for yours, but I can't say for sure.
    You would have to call HP technical support to see if they will replace the board and how much it will cost.
    Again, I would think the cost to do this would be more than buying a new one with the graphics you want.
    Paul

  • Best place to get graphics and icons

    I did not ask this question in my previous post as I was
    afraid I would be told it was one question per post. Can anyone
    rec. some good sites to get web graphics and icons etc for
    websites. Thank you in advance for any replies.

    I like SXC for royalty free images
    Stock.Xchng

  • Can't get graphics analyzer to work

    Hi There,
    I'm trying to profile a (unity) game I'm currently working on. The graphics analyzer in visual studio should be perfect. Before I've been using Pix on xbox 360 (D3D9 mode) but that's showing it's age. Now I would want to profile the app in D3D11 mode.
    In Visual studio 2012 I simply point to the exe in Debug->Properties->Configuration Properties->Debugging->Command. I press alt-F5 to start the app. Capturing a frame works and I can step through the API calls etc, great!
    In visual studio 2015 however, I point to the exe as mentioned, alt-F5 and capture a frame. So far so good, but when I click the frame I only get an empty Visual Studio Graphics Analyzer:
    g2f.nl/0m43ywt
    This reproduces on any project, a simple cube (like above) and on the full game. I've tried on both 2013 update 4 and 2015 preview with the same result.
    Thanks in advance!
    Best regards,
    Arthur Brussee

    Hi There,
    I'm trying to profile a (unity) game I'm currently working on. The graphics analyzer in visual studio should be perfect. Before I've been using Pix on xbox 360 (D3D9 mode) but that's showing it's age. Now I would want to profile the app in D3D11 mode.
    In Visual studio 2012 I simply point to the exe in Debug->Properties->Configuration Properties->Debugging->Command. I press alt-F5 to start the app. Capturing a frame works and I can step through the API calls etc, great!
    In visual studio 2015 however, I point to the exe as mentioned, alt-F5 and capture a frame. So far so good, but when I click the frame I only get an empty Visual Studio Graphics Analyzer:
    g2f.nl/0m43ywt
    This reproduces on any project, a simple cube (like above) and on the full game. I've tried on both 2013 update 4 and 2015 preview with the same result.
    Thanks in advance!
    Best regards,
    Arthur Brussee
    Hello Arthur Brussee,
    Issues about VS2015 are not supported currently, let's focus on VS2013 update 4.
    And in order to make sure this issue is not related to VS2015, I would recommend you keep single version of Visual Studio to test, if possible, unintall VS2015, VS2013, and then reinstall VS2013 update4 to test.
    The result of my testing with VS2013 update4, windows 8.1 as the image below.
    1. Maybe the information about that frame were not passed to analyzer successfully, you could close that analyzer and double click that frame again.
    2. Since you shared that any project has the same result, you could create another simple sample (without any reference of unity)which has the same issue, then test it with another machine which installed VS2013 update4 to see whether it has the same
    result.
    If it works fine, then it seems that this issue may be related to the environment of your machine, you could restart your pc and close the firewall, anti-virus and the other softwares, and if possible disable all add-ins to test.
    If that has the same issue, you could share it with us by uploading it to OneDrive and sharing its link with us. We will test it to narrow down this issue.
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How to call request object of IPortalComponent in KM Scheduler application

    Hi We are reading RFC Table data using JCO Connection Pool(JCOClientPoolEntry. Please find the below teo line code.If we put this code in KM Scheduler application then its throwing error for the request objecct of IPortalComponenetRequest. IJCOClient

  • Have I had a hard drive failure on a new Powerbook G4?

    Help!!!!!!!!!!!!!!! I bought my laptop for Christmas and came home today to a blue screen. I tried to restart and get a white screen with an apple and a beeping noise. Then it goes to just a blue screen and that's it??????? What do I do? Please help.

  • Override lifecycle event-handler in 11g

    Hello, I am trying to override lifecycle event-handling in 11g environment with the standard ADFPhaseListener. In faces-config.xml I registered: <lifecycle> <phase-listener>oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener</phase-listene

  • Project Export Issue CRAW 2.1.3 AP 2.1.2

    Today I exported a project out of AP 2.1.2 with CRAW 2.1.3 OS 10.5.5 into a project file. The images were referenced images and I consolidated the images during export. Size of the exported project was appropriate to contain all the RAW referenced fi

  • License has stopped working

    After my AV software disabled a virus, CS3 won't open: Says "Licensing for this product has stopped working. You cannot use this product at this time. You must repair the problem by uninstalling and the reinstalling the product or contacting your IT