


Hello!I have a litle problem with my zooming method. The thing is that it i can only zoom objects from the BufferedImage class which are images. What i have is a Panel i drew on and i do not know how to implement this. Since the Panel is not an Image a nullpointer exception comes as soon as he ...
Hi ! i have a JPanel that i load an image into . how do i add the zoom in capabillity to it ?another thing , if i load the jpanel inside a JScrollBar , and i load the image as it is , if the image is bigger then the jpanel , will the user be able to cruse inside it with the scroll bars ? ...
Hi everybody,I need to create a JPanel with some figure on it drawn using the graphics context, and when one clicks on a particular part on that figure, or select a rectangle on it using mouse, that small part should be zoomed and displayed in another panel.Can u please suggest me the best way ...
i am getting problem in zooming in and out of the image as i dont know the concept behind thismy image is of BIL format and i am not getting what to do nextif any one knows about this then reply as i am in very need PLEASE ...
Hi Everybody ! I am just new this forum. I am working on a project which creates some drawing on the JPanel using Polygon class and now what I need is to zoom In and Zoom Out that Image. I have made that concept of zoom In and Zoom Out by Scaling Concept. It works but it also actutally creating ...
Hello!,I need to zoom a specific part of my image ( rectangle of 30x30 pixels from the right top of my image for example)How can I do it ?Thanks!...
I've seen lots of posts in the forums about zooming in/out on a JPanel that displays an image. What about zoom on any generic JComponent? For instance, zooming in/out of a JPanel that contains two JButtons and a JTable? Or any other collections of Swing components? Has anyone ever done this ...
Hi,I have a JTable that allows the user to drag rows to other locationations on its application. With unpredictable regularity it hits a state where clicking on a row of the table iniates a complete drag and drop. If I look at the DragGestureEvent's mouse events, the last point is the same as ...
Hi,now I am developing a project that transfers voice , video and also shares desktop over network or Internet.I use JAVA.plz,I want your advices about the best techniques to transfer voice ,video in JAVA.And I want a method to share desktop . ...
hello all. now i've read through alot of articles in the forum on this topic and i still can't figure it out. i have a multiple client server program and i can only send to all clients once they have sent something to the server first. any help is appreciated.the code is ...
Im busy writing a chat program and am having a problem figuring out how to show the users that are online. The ChatServer class contains methods for recieving messages, broadcasting messages, accepting new connections etc.Im using non-blocking mode and I register all the connections with a ...
HOw do you implement a yes and no button and what it does if you press yes and no?...
Hello,I want to show a classic yellow hint when the user move the mouse over an object (i.e. a to long JLabel).Is there a JAVA-class or do I have to programm it all on my own?Thanks. ...
hi. here is my program for y2k detector import java.util.Scanner;class yDetector{public static void main(String args[]) {Scanner myScanner = new Scanner (System.in);int age;int year;int total;System.out.println("Enter your age ");age = myScanner.nextInt();System.out.println("Enter the year ...
hi,this is not really a technical Q, it is more of an algorithm.i have many x-y points to read from a file, they so close to each other; fortunatly i need to draw a symbolic skitch for the points spacing isn't important, what's important is that each point is large enough to be clickable. i ...
