I have been writing a program that allows the user to select and then post items to a screen. It will also redraw the screen. It sets up fine the first time the classes are called. However, after redrawing the container, I cannot make a call to draw to the container from the object used to set it up. I have tried using JFrames, JPanels; a separate class. Is there a way to do this?
The object called to create the GUI is below.
...
Search Result
Collapse
8 results in 0.0028 seconds.
Keywords
Members
Tags
-
How Do I Implement Java Swing and JLabel?
-
3D Graphics in vb.net
HI,
I have looked pretty extensively on the web and have NOT found any good tutorials or samples on 3d graphics using VB.Net. I did download the XNA game studio but I cant seem to get any of the samples to work. Maybe i'm just overlooking something blatantly obvious. If someone could shed some light on this topic it would be highly appreciated.
Thanks.
Rob S -
CopyFromScrenn - The handle invalid error
Hi All,
I am using the below code to take print screen of my web page.
> using (Bitmap bitmap = new Bitmap(620, 850))
{
using (Graphics g = Graphics.FromIm age(bitmap))
{
g.CopyFromScree n(new Point(bounds.Le ft, bounds.Top), Point.Empty, bounds.Size);
}
bitmap.Save(Sys tem.AppDomain.C urrentDomain.Ba seDirectory.ToS tring()... -
Create such a graphic with PHP ?
Hi there,
I would like to create a small graph, such as the one attached.
Principally, it's just a x-axis, with a couple of shorter and longer vertical axis crossing.
I haven't use the graphics library yet. Used to work with JpGraph, but there it seems difficult to implement.
Thanks for any hints.... -
How to use images in JFrame's and JComponent's
Hey, I'm trying to make a game for a school project that uses image files. I've been working on changing some pre-written code (I believe from IBM) that we used for pong as I'm not yet an expert on swing; however, the pre-written code only allows for the insertion of solid colored objects, not images. The pre-written code was divided into Game (which was a child of JFrame) and GameObject (which was a child of JComponent). The original paint method... -
Missing Graphics Folder in Vb.Net 2003
In Vb.net 2003 you are supposed to have a graphics folder,and I'm missing it.
Is there any way I could get the graphics folder from a download? -
Problem with Bitmaps and Graphics
I'm new to C#, so please forgive the ~407,000 coding sins I'm probably making.
The purpose of this function is to take a bitmap and return a bitmap of double the height, with two of the images stacked on top of each other.
Code:private Bitmap ProcessBitmap(Bitmap sourceBitmap) { int w = sourceBitmap.Width; int h = sourceBitmap.Height;
-
Complex Graphics Generation via PHP?
Hi there,
I wonder if anyone can tell me if it's possible with PHP to generate an graphic like this:
(or see attachement) (see image in high resolution here, in PDF here or other examples here)
In the moment, it's a Javascript which is used in Illustrator to read data from the UNEP GEO Data Portal and display them automatically in this way.
I know that there is some potential of generating images...