


Hello,I am trying to implement zooming by change the scale factors on my Graphics2D object, and keeping my text and graphics drawing methods untouched.The zoom is working, but I am getting very jagged output. Is there a way to fix this?Thanks,Adrian. ...
Hi all, I want to compress or zip a folder, that contains several folders and files in it.how to do that in java.Please help me...Thanks in advanceRavisenan...
Hello Sir/Madam,I am Deepkant Ayarekar, I am currently studying the SYMBIAN OS as a project I am very interested in porting the Yahoo Messenger to SYMBIAN but I am unable to find the Yahoo Messenger Specifications can you help in the same, (I need the Client Server Protocol used by Yahoo ...
Hi all,I have downloaded XPLookAndFeel from the following site:http://www.stefan-krause.combut then I齰e stuck! I have no idea what to do to get it going, so I thought if there is somebody who have already tested this, to give me a helping ...
Folks,Do you know how to implement the outlook-like mail notification in Java?i am talking about whenever a new mail arrived in yoru outlook, a fading notification box appear at the bottom right hand corner of the xp desktop...many thx....
hello, I have developed a java desktop application, tested it on more than 10 xp installed machines with jvm 1.4.2_08 and it has great problems with system look and feel..On some XP systems, radio buttons' 'click hole' does not appear, on some systems checkbozes' box part does not appear, ...
Help!My application has many JFrames. When Icon grouping is disabled on the XP toolbar, I still want my Java application icons grouped. Is there a way in Java to group icons from the same application on the XP toolbar?Thanks,John...
Executing the following code will create a frame which contains a JComboBox and a JCheckBox, and is subsequently written to the XML file dump.xml. The code will then reconstruct a new frame from that xml file and show the new frame at cords 100,100.It is my experience that the new code does ...
Hi,I hope anyone here has used XMLEncoder sometime. Well I want to write an object to an XML file with the encoder.The object is in fact a bean but with several setter and getter methods defined in superclasses. I have done introspection and it shows all the properties nicely.However, I am ...
Given the class definitions below, is there a way to persist an instance of MyClass1 using XMLEncoder? public class MyBaseClass {String name;intsize;inttype;public MyBaseClass(String name, int size, int type) {this.name = name;this.size = size;this.type = type;}}public class MyClass1 extends ...
Is there some way I can turn the XML produced by XMLEncoder into the equivilant Java code that I can compile directly into a class? Perhaps an XSLT sheet to convert one to the other? Or can this be done directly with the XMLEncoder itself?...
Hi, AllI'm tring encoding my object using XMLEncoder, the objects are from the custom classloader like URLClassLoader which is importing several jar files at run-time.source code is like this:-- XMLEncoder e = new XMLEncoder(new BufferedOutputStream(os)); e.writeObject( sourceObj);--When I run ...
I have two classes lets say A and B. B is contained within A, so when A is xml encoded and decoded, both A and B are encoded/decoded....fine. However, I want B to know who its parent is, so when I add B to A using the method A.addB(B bClass); I have code which not only adds B to A, but also ...
I am trying to use the XMLEncoder but I keep getting this cryptic error:java.lang.IllegalArgumentException: object is not an instance of declaring classContinuing ...java.lang.Exception: discarding statement XMLEncoder0.writeObject(HopfieldGene0);Continuing ...I am able to write and read these ...
Hi,I'm trying to use XMLEncoder to encode my singleton class. It has a static getInstance() and JavaBeans properties. I created a PersistenceDelegate for it, but it doesn't seem to encode any of the bean properties. My PersistenceDelegate reads:new DefaultPersistenceDelegate(){protected ...
