Debugger and the graphics object

I have the graphics (Graphics2D) and want to run the code in the debugger to see how the elements of the object are drawn. But I just can't.
I can watch how the values of variables are changed, but the window, where the graph is supposed to belong is all black with nothing in it.

Does anyone know why this is and if there is a way to draw step by step graphics?

Luke wrote:

Kaj says:
You can call it a limitation of the Swing, but not Java. Swing is simply a graphics library, and most of the graphics libraries are truly unique threaded. Writing the user interface code would be much harder to if it is multithreaded.

Yes, I meant actually Swing, no Java.

I don't know what you want to do.

Suppose I have

g.drawLine( 0, 0, 50, 0 );
g.drawLine( 0, 0, 0, 50 );

I wanted to see how the two lines are drawn one after the other. As you step through the code.

I don't see how you would be able to do it in a simple way. The only thing I can think is to create a new thread messages draw commands using SwingUtilities.invokeAndWait

Tags: Java

Similar Questions

  • Satellite L30: Cannot watch DVDs - error between the decoder and the graphics card.

    I'm watching DVDs on my satellite L30, but also good Windows media player and the application of Toshiba, will not let me.
    He said that there is an error between the decoder and the graphics card.

    I checked and I'm set for region 2 and windows says I have the right drivers for the dvd and the graphics.

    Any help would be appreciated with gratitude

    Hello

    Try it please with the K-lite codec pack. Download and install it. Maybe it helps.

  • to get the id of the page containing the graphic object

    How can we get the id of the page the file FrameMaker containing the graphic object using the FrameMaker API?

    For example: If there are four body pages in a file with the third page containing a graphical object. How can I get the id of page 3?

    Hi Asha,

    If FP_FrameParent is to give you the frame of the page, then I think that is the answer you are looking for. This means that the graphic is not in an anchored frame.

    Russ

  • Y at - it a simple method to disable and flatten graphical objects in the .pdf file?

    I often send .pdf files to my clients. I do not protect the files because it seems that I do not trust my clients

    I do generally two types of activity:

    (1) change a Word file where to paste my graphic signature, then export it in. PDF. Unfortunately, my graphicla signature object is always there, and anyone with Acrobat can enter.

    (2) modify the existing Acrobat files where I hide parts of the page with white spots. I print the files in. PDF, but the patches/items are still there and anyone can remove.

    I can protect the file, but there not a method to flatten objects and make them NOT SELECTABLE at all? I don't care if surrounding text does not become achievable OCR.

    I tried with optimization and deleting objects, but no way to success.

    I'm sure there's a solution, but I was not able to find it.

    Thank you

    Paolo of Italy

    You do not trust of your customers. You fear that they can somehow extract the content and use it in a way that is detrimental to you. If something is in PDF format, it can be extracted, even if you apply security. Addition of security will make impossible to extract or modify the content with Acrobat or any other Adobe software.

    On the contrary if obscuring the content with the white objects, use the writing tool to remove content completely. You can configure the properties of redaction to set fill in white color.

  • Can I upgrade the memory and the graphics card on Satellite A60

    Hi all..
    I have a satellite a60 652.
    I want to improve it with new ram and graficcard.
    can I use more than 1, 5 GB of ram? later with an update of the bios?
    and if I can change the graficcard? If the answer is Yes... What is the best card I can actually use?
    or is there a map which is almost a geforce 7600 or 6600 (or ati 9700) I can use?

    Thank you for the help
    Ingo

    PS excuse my English ;)

    > I want to upgrade the ram and the new graphics card

    Upgrading RAM is possible but the graphics card is unable to be updated!

    If you want to upgrade the memory you could update to 1536 MB max.
    The A60 supports 512MB internal memory and it is so that one memory slot where the extra RAM module can be inserted.

    These modules are compatible:
    PC2700 512 MB (PA3312U - 1 M 51)
    1024MO PC2700 (PA3313U-1M1G)

    Concerning

  • Satellite P10 and the graphics card driver updates

    Hello

    I'm a newbie on this forum, but let's get to the point. I have Toshiba Satellite PSP10E (PIV 2.8HT 800 Mhz, 1 GB of system memory bus speed and UNFORTUNATELY a GF 5600go...).
    My (not only) problem is that Toshiba use engineering video BIOS version and it does not have the latest drivers for the geforce series. The most up-to-date driver that really works is the last of the series 5xxx... so you can see that none of the newer games can be run with a performance on this map... because older drivers don't use really not (available at directx9.0) 2.0 pixel shader. It would not be a problem if Toshiba would give an update not only BIOS system, but also the bios video (new system BIOS contains the same old video bios.

    I really had to settle for playing games that are 2 years old? First of all pay a lot of money for a witch of the computer has enough power to run some new but don't care support Toshiba for this...

    I was the proud owner of a Toshiba laptop, but I'm not! If I had to choose again, I decide to buy computer Toshiba...
    My Question: is that Toshiba will do something with this problem? Someone knows how to help? Thanks for any help (I have not found such a problem in this forum, sorry if it has been the front sign) and sorry for my English (hope that's understandable)
    My video Bios is: v4.31.20.56.A6

    [Edited by: admin]

    Hello

    We know that you can not install the drivers downloaded from the download page of GF because of the restriction of material. It's not only the Toshiba models, but also on other producers of portable and if you visit the download page of graphics cards, it is always recommended to download drivers designed by the manufacturers of portable.

    I think that nobody can explain why it's because I'm sure you know the reason. The performance of the graphics card will always be a topic of discussion and you will always want to have maximum performance for games with laptop, although performance may not be the same as on the desktop where you have the possibility to change the graphics card and install the latest drivers.

    Because of this, I think that it is really unnecessary to some turbulence here. Believe me, you can buy what you want, but after two or three years you will be always satisfied with something.

    In any case, good luck and enjoy life!

  • Problems with the Precision M4400 and the graphic card Nvidia quadro 770M

    I have a problem with my Precision M4400 and Nvidia Quadro 770 M. After I installed Windows 7 64 bit, I have problems with the graphics card. I get a blue screen or graphic errors. I tried several versions of the driver. In the Nvidia forum had this problem even more. Here, they told me that only a BIOS update for the graphics card to solve the problem. Update the BIOS, but I should refer by DELL. So my question is this problem with Dell is also known, and there is already an update of the BIOS to the Quadro 770 M?

    Hi all

    I have the solution by chance. I was looking for the latest drivers GeForce for Windows 7 x 64 and I read the accompanying note: http://fr.download.nvidia.com/Windows/337.88/337.88-win8-win7-notebook-release-notes.pdf
    On page 17, you can read the following note to fix: "[GeForce FX 770 M] [portable]: blocking of the blue screen occurs after Windows starts."

    Of course, GeForce FX 770 M does not exist (and never was), and it should be Quadro FX 770 M. I can bet that nVidia has corrected this famous BSOD problem in the wrong driver because always there is nothing about any "Quadro FX 770 M - fix" in the note accompanying the latest Quadro (340.52) driver.

    You try the GeForce driver above, but to install it, you may need to download an INF file modified with the addition of the ID of Quadro FX 770 M (= "NVIDIA_DEV.065C ="NVIDIA Quadro FX 770 M"). Try without the first modified INF file because the Quadro FX 770 M is listed as a compatible chip in the version of the driver GeForce 337.88 note...

    I'll try that, even though I am completely sastified with the latest driver for Quadro (feasible) (285.62) without disable Powermizer. I did not try the latest Quadro drivers again (to be honest).

    Late me know please.

  • The BlackBerry object Handles and the persistent object Handles?

    Can someone please what are the object Handles and handles of object persistent in Blackberry? and how are they different?

    Object handles are pointers to a Java object.  Each object that you create in your application using one of them.  Similarly, each object stored in the persistent store contains a handful.

    If you have a complex object you want to store in the persistent store, as a vector that contains a number of complex classes, you can store the vector in a group of objects that you want to save the object handles.  Grouped objects use a single Treaty when it is stored in the persistent store.  The disadvantage is to ungroup the object for editing.

    You will need to balance saving handles object against the drop in performance of separate objects.  Object groups are ideal for the complex elements that are frequently changed.

  • Need help to "Bring order" of the graphical object in PDF format

    Hi all

    I work with a PDF writer and got stuck in a problem which is as follows:

    I have two rectangles that is written in the form S (stroke) and the second is a filled rectangle designated by B, two rectangles specification is as follows:

    0 0 0 RG

    0,936 w 1 J

    0 0 0 rg

    27.864 m 453.096

    27,864 453.096 453.096 27,864 v

    375.84 l 453.096

    375,84 453.096 453.096 375,84 v

    375.84 l 507.096

    375,84 507.096 507.096 375,84 v

    27.864 l 507.096

    27,864 507.096 507.096 27,864 v

    27.864 l 453.096

    S

    0 0 0 RG

    1 1 1 RG

    0 d 0 H

    0.7529 0.7529 0,7529 rg

    0.7529 0.7529 0,7529 RG

    70.344 452.16 515,304 165.384 re

    B

    As you can see the empty rectangle is drawn before the filled rectangle, but I need to be reversed I need to draw the rectangle filled first and then the rectangle empty then, this overlap does not hide the empty rectangle. So, is there a way I can achieve this?

    Thank you

    Pankaj

    The order of the objects in the content stream is the order that they are trained.

  • Satellite M70-147 - rpm and the graphics card.

    What is the number of turns of the M70 - 147?

    HTTP://BE.COMPUTERS.TOSHIBA-EUROPE.COM/CGI-BIN/TOSHIBACSG/SELECTED_PRODUCT_OPTION.JSP?LNG=10&SERVICE=BE&PROD UCT_ID = 109802 & DISC_MODEL = 0

    It is also not clear what graphics card is inside. In the header, it says:

    ATI MOBILITY RADEON X600SE with up to 128 MB of RAM or the ATI MOBILITY RADEON X 700 with up to 256 MB of RAM

    but it says in the specification:

    MOBILITY® RADEON X600SE 256 MB HyperMemory

    Thanks for your time and your answers.

    Post edited by: jerdefox

    Hello

    AFAIK the m70-147 was delivered with a 80 GB HARD drive.
    This HARD drive has the rotation of serial ATA interface and 5400 RPM of the training.
    I put t know if is it possible to use the 7200 due to heat production.
    The HARD disk with a 7200 RPM produce more heat as a 5400 RPM HARD drive.
    In this case, it is possible to s that you have an overheating problem.

    Good bye

  • Want to 700-410: how install the drivers and the graphics card in a fancy 700-410 destop

    I want to install a graphics card in my computer, but I want a step by step tutorial to make sure I'm doing things. Please tell me what I'd do anything first to last

    I want to install a Zotac GTX 750 TI in my computer

    I appreciate the help,

    Thank you

    Hi there @IanSchm,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, other users, HP experts and other support staff. I understand that you are looking for assistance to change the video card. I'll be happy to help you.

    Here is a document for the upgrade and maintenance Guide see page 18

    I also found a YouTube video on the way to change video card, graphics card.

    Please keep me informed of the progress of things.

    If you need help, let me know and I will gladly make all that I can to help you.

    Please let me know if that solves the problem by marking this post as "accept as a Solution.
    To simply say thank you, click the Thumbs up below!

    Thank you.

  • Pavilion 17-g127ds: upgrade of processor and the graphics card Intel

    Hello. I was wondering if I could update the processor and graphics card in the HP Pavilion g127ds 17. It has an Intel Pentium N3700 (1.6 GHz) processor. I really want to know if I could pass this processor to something better. Also, if I can improve the Intel HD Graphics, it would be good as well.

    Hello

    Unfortunately NO, you can not upgarde to better CPU or GPU because N3700 Pentium processor and Intel HD graphics card equipped motherboard. If you want to update, you must purchase a new motherborad which is = to buy the new machine.

    Kind regards

       
  • DAQ Assist and the graphic representation

    A very simple problem...

    Very new to LabView, and I fight with wiring to the top of my Daq Assistant, in order for a chart data of a load cell. I have plugged my scale to the acquisition of data and you want to measure strength readings over a period of time / when I press stop. When I run my program it graphic only a finite number of readings and then clears the graph to copy the new readings on top. I put my chart outside the while loop so that it would be graphic a reading at the same time as they were read, but it does not work. If my son is not what is wrong, I feel that my time parameters for the Daq Assistant is not appropriate (and I do not know how to set those either.) I don't understand the description/effects rates and samples to read.

    Thanks for your help.

    AFLR wrote:

    A very simple problem...

    Very new to LabView, and I fight with wiring to the top of my Daq Assistant, in order for a chart data of a load cell. I have plugged my scale to the acquisition of data and you want to measure strength readings over a period of time / when I press stop. When I run my program it graphic only a finite number of readings and then clears the graph to copy the new readings on top. I put my chart outside the while loop so that it would be graphic a reading at the same time as they were read, but it does not work. If my son is not what is wrong, I feel that my time parameters for the Daq Assistant is not appropriate (and I do not know how to set those either.) I don't understand the description/effects rates and samples to read.

    Thanks for your help.

    Hi, AFLR,.

    I think the settings are fine, you have defined DAQ to read 100 samples at a rate of 100samples per second, you will get 100 samples per second.

    Now to maintain the previous data in the graph (which is not the nature of the chart), you will need to keep by writing additional code.

    If you already know:

    1. SHIFT registers and

    2. waveform components

    You can easily implement this requirement, find the attached VI for your reference.

  • It is better to have graphical objects superimposed on the images?

    Hi, I have a doubt as to the best practice to prepare a file for printing.

    This file will be exported to PDF / X - 1a: 2001 and I wonder if there is any problem with the graphic object (especially dark) with the tangent of one side to an image.

    Is probably a silly question, but I would like to know from your experience, which is the best way to do it.

    Is he better have the overlay for images, or enough of the rectangle is dark align the two borders on the same principle?

    Rectangle and the image isn't any style.

    Thanks in advance!

    indesign-forum.png

    Maybe I understood you.

    Of course, the image must be more large that part which is masking the image, so you can adjust it in InDesign and you should have the material to make changes in the presentation.

    But that you shouldn't do, cover images with white frames to make them invisble.

  • Invert the colors of a graphic object?

    Hello, I use the graphics of the image object to draw lines/rectangles etc...

    How to invert the colors of the graphics object?

    Change the blendMode to BlendMode.Invert affect the image (what there are none) not the graphics object.

    You can set a ColorTransform (-1, -1, -1, 1, 255, 255, 255, 0);

    I'll probably get to test this a bit more later, but I think that should reverse the colors in the image...

Maybe you are looking for