Forum: Java Feb 21st, 2007 |
| Replies: 8 Views: 1,839 Below is the code i am using.
As i have extended the frame it has no name. And "this" in actionListener points to the button. Then how can i use frame.setSize()
import java.awt.*;
import... |
Forum: Java Feb 21st, 2007 |
| Replies: 8 Views: 1,839 class ImgMod8 extends Frame { String msg = ""; int mX1 = 150; int mY1 = 150; int mX2 = 0; int mY2 = 0; int turn = 1; static int dst = 0; double sum = 0.0; int count; Image rawImg; int... |
Forum: VB.NET Feb 20th, 2007 |
| Replies: 2 Views: 3,015 Hi,
I want to develop a form in which i have a grid like structure(rows and columns). i can enter data in as many lines as i want. And in one cloumn i want to add a checkbox. When i click the... |
Forum: Java Feb 19th, 2007 |
| Replies: 8 Views: 1,839 Nobody knows any solution of the problem??? |
Forum: Java Feb 15th, 2007 |
| Replies: 8 Views: 1,839 i have tried what has been told above as
this.setSize();
but "this" is not recognized within ActionListener.
And i have extended frame class so there is no name for the frame as well.
... |
Forum: Java Feb 15th, 2007 |
| Replies: 8 Views: 1,839 Hi,
Can anybody tell me how can i set attributes of frame or components in a frame in ActionListener of a button.
Regards. |
Forum: Java Feb 14th, 2007 |
| Replies: 2 Views: 3,713 [INLINECODE]class ImgMod8 extends Frame {
String msg = "";
int mX1 = 150;
int mY1 = 150;
int mX2 = 0;
int mY2 = 0;
int turn = 1;
static int dst = 0;
double sum = 0.0;
int... |
Forum: Java Feb 13th, 2007 |
| Replies: 2 Views: 3,713 Hi,
I have written a code, when it runs it loads an image and after getting image size it sets the size of the frame in the constructor.
But now i want to load image using FileDialog box and... |
Forum: Java Dec 3rd, 2006 |
| Replies: 4 Views: 3,615 Hi,
I want to do that i have a fixed center point in a frame. when i enter raduis in textbox and click replot button, i want that lines are drawn originating from that center point in such a way... |
Forum: Java Nov 30th, 2006 |
| Replies: 4 Views: 1,936 Hi,
Someone has an idea if we can draw a line between two points with multiple colors i.e. some part of line is red and the rest part is green. Something like that.
Regards |
Forum: Java Nov 30th, 2006 |
| Replies: 3 Views: 2,575 Hi,
I have a program that draws a line between two points when the user clicks at two points on a canvas (added in a frame) and clicks Repolot button.
Each time i click the button the... |
Forum: Java Nov 24th, 2006 |
| Replies: 5 Views: 4,998 Hi,
Thanks for your help. It worked.
Regards. |
Forum: Java Nov 24th, 2006 |
| Replies: 9 Views: 6,703 Hi,
I have implemented the MouseListener on Canvas class and it worked that way too. But i still can't understand why is it not working on Frame.
Regards. |
Forum: Java Nov 24th, 2006 |
| Replies: 9 Views: 6,703 Its a long code but i hope u can easilt find the mouse events.
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
class ImgMod3 extends Frame implements MouseListener {... |
Forum: Graphics and Multimedia Nov 24th, 2006 |
| Replies: 3 Views: 1,870 Thanks for the reply.
But the problem is solved now. I deleted a few layers and the program started working. |
Forum: Graphics and Multimedia Nov 23rd, 2006 |
| Replies: 3 Views: 1,870 Hi,
I am having a problem but after all tries i cannot find out the cause of it. I added a movie clip in a .fla file and in that movie clip i called added an empty movie clip. I called a .swf... |
Forum: Java Nov 22nd, 2006 |
| Replies: 9 Views: 6,703 Yes i did the same. But the program did not respond to the mouse events. Nothing happened. |
Forum: Java Nov 21st, 2006 |
| Replies: 9 Views: 6,703 This is not a private message !!
I tried the applet code on frame but it didn't work. That's why asked if someone could help. |
Forum: Java Nov 21st, 2006 |
| Replies: 9 Views: 6,703 Hi,
Can someone tell me how i can implement a mouselistener interface on a frame.
I have a program that loads an image on a canvas. now i want to get the screen coordinate where user clicks... |
Forum: Graphics and Multimedia Nov 18th, 2006 |
| Replies: 6 Views: 3,637 It works but we cannot set the window size with it . |
Forum: Java Nov 17th, 2006 |
| Replies: 5 Views: 4,998 Hi,
Can someone tell me the code to calculate the distance between two pixel points.
If i enter Point(x1,y1) and Point(x2,y2) then i get length of the line between them (in pixels).
... |
Forum: Graphics and Multimedia Nov 15th, 2006 |
| Replies: 6 Views: 3,637 Hi,
Can someone tell me how can i do the following in Flash;
When i click on a button a movie clip is loaded but in a new pop up window.
Thanks |
Forum: Java Nov 9th, 2006 |
| Replies: 4 Views: 1,863 Hi,
Thanks for the reply, but your reply is so brief that i didn't come to know that exactly what can i do. Can u please explain your point.
Regards |
Forum: Java Nov 9th, 2006 |
| Replies: 4 Views: 1,863 Hi,
Thanks for the reply, but your reply is so brief that i didn't come to know that exactly what can i do. Can u please explain your point.
Regards |
Forum: Java Nov 7th, 2006 |
| Replies: 4 Views: 1,863 Hi,
Can someone tell me how can i edit the color of a pixel in a bmp image.
The actual scenario is that i have a white bmp image and i take input from the user. If user enter 'A' the i have... |
Forum: Java Nov 5th, 2006 |
| Replies: 1 Views: 1,500 Hi,
I am doing a research work on radio signal propogation in indoor environment. And i have to make a simulation for it. Can someone tell me that is it possible to make the following simulation... |
Forum: Java Nov 5th, 2006 |
| Replies: 1 Views: 1,648 Hi,
Can someone tell me that how can i place a transparent image over another plain image in java.
Thanks |