Search Results

Showing results 1 to 27 of 27
Search took 0.01 seconds.
Search: Posts Made By: anti_genius
Forum: Java Feb 21st, 2007
Replies: 8
Views: 1,839
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
Nobody knows any solution of the problem???
Forum: Java Feb 15th, 2007
Replies: 8
Views: 1,839
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
[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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
Hi,

Thanks for your help. It worked.

Regards.
Forum: Java Nov 24th, 2006
Replies: 9
Views: 6,703
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
It works but we cannot set the window size with it .
Forum: Java Nov 17th, 2006
Replies: 5
Views: 4,998
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
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
Posted By anti_genius
Hi,

Can someone tell me that how can i place a transparent image over another plain image in java.

Thanks
Showing results 1 to 27 of 27

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC