shalini gnana

Ranch Hand
+ Follow
since Sep 18, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by shalini gnana

element.setAttribute("value", "newValue1");



I tried to set value to the attribute,but its not getting
edited...Can anyone say,how to edit?
How to set flag on javac?

Thank you....
10 years ago
when i try to launch my applet IE,its not...Showing these exception in
Java console:

Java(TM) Plug-in: Version 1.4.2_02
Using JRE version 1.4.2_02 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\8563

Proxy Configuration: Manual Configuration
Proxy: http=172.16.4.246:8080,https=172.16.4.246:8080,ftp=172.16.4.246:8080,gopher=172.16.4.246:8080
Proxy Overrides: 172.16.*.*,172.26.*.*,127.0.*.*,172.16.53.23,https://rsimail4.ramco.com:83,<local>





----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
java.lang.UnsupportedClassVersionError: mousedragg (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.UnsupportedClassVersionError: mousedragg (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

10 years ago
Its no throwing any error,now...
But the attribute "value1" is not changing into newValue1..

Thank you...
I tried to change the content of the attribute in the xml using
DOM.Its throwing nullpointer exception...


This is my xml:


Anyone help me please...
10 years ago
*How to edit the attribute of the element in an existing xml in java*...Anyone help me,please...
[ March 11, 2008: Message edited by: shalini gnana ]
I have to edit an xml(only specified attributes) based on the output from
the applet..so how can i do it...Either by using dom/sax/xpath?
Any help,please!!
[ March 03, 2008: Message edited by: shalini gnana ]
10 years ago
If its a single rectangle- hard coded,(i.e., not an array of rectangle)then i can able to
drag(inspite of the scrollpane)...but the problem arises only when a list of values comes.
10 years ago
I tried but still its not working...

10 years ago
sorry for the repeated posting...
If you don't mind, can you explain me want should i have to
do..

Its enough,to create a map and to modify the mouseDragg method....
10 years ago
My doubt is, 1.My inner class had extended a panel, as per your code,should i have to use another panel inside the constructor,like you used:



JPanel panel = new JPanel()
{
@Override



2.In my code,i add some methods to paintComponent() should i have to write that method,too inside the constructor... 3.I tried,in the way you said.but nothing was painted in the panel...



I did how you said in the mousedragg

rt.translate((int) (p.getX() - lastP.getX()),(int) (p.getY() - lastP.getY()));

10 years ago
In your code you placed everything inside the constructor...
Even the paintComponent()..Its quite difficult
for me to follow.because,i have to place all the
methods that i'm going to call in the paintmethod..I can't keep it everything is a
seperate method.Is there any other way for dragging the
drawing..

Thanks alot...
10 years ago