[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
need help to remove some features form java applet  XML
Forum Index » GUI Development
Author Message
smilem

Newbie

Joined: 01/16/2010 08:13:50
Messages: 2
Offline

I'm trying to remove some features from gallery2 upload applet written in java.

I was able to translate it using winrar to extract and repack it but I'm told if I need to remove some functionality I need to recompile.

Unfortunately I never had to work with java and like you say you need many tools from various places then you need to configure them right etc.

If you have free time could you take a look at the plugin GalleryRemoteAppletMini.jar
http://fisheye3.atlassian.com/browse/gallery/trunk/gallery2/modules/uploadapplet/applets/GalleryRemoteAppletMini.jar

How can I remove the "Summary" and "description" from Upload applet. Also is possible to remove checkbox "resize pictures before upload"

If it's impossible to remove the above from java upload applet then how can I slide the vertical divider all the way to the right to hide those fields.

Thanks.
[Thumb - applet.gif]
 Filename applet.gif [Disk] Download
 Description
 Filesize 13 Kbytes
 Downloaded:  43 time(s)

This message was edited 1 time. Last update was at 01/16/2010 10:02:37

smilem

Newbie

Joined: 01/16/2010 08:13:50
Messages: 2
Offline

It seems the variables I need to change are in defaults.properties file

Lines 209 to 217
#
# --- Applet ---
#

# show resize before upload checkbox in applet mini mode
appletShowResize=true

# divider location in applet mini mode
appletDividerLocation = 250

Hoever when I put the file back with winrar the applet does not run. "Error click for details"

load: class com.gallery.GalleryRemote.GRAppletMini not found.
java.lang.ClassNotFoundException: com.gallery.GalleryRemote.GRAppletMini
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: com.gallery.GalleryRemote.GRAppletMini
load: class com.gallery.GalleryRemote.GRAppletMini not found.

Also is it possible fo fix digital signature certificate from failing? It's said expired.
 
Forum Index » GUI Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle