Multiple .jar in libary directory
Hi.
My application is using more and more libraries that are packed as jars. Is there anyway to include all jar files in applications /lib when executing the program whit out that every jar must be declared in the classpath...
You can use a jar manifest to specify the additional jars you need as part of the classpath. Here's an example manifest:
Manifest-Version: 1.0
Class-Path: myjar-1.jar myjar-2.jar
Main-Class: MyMain
The 'Main-Class' attribute above is optional but useful; it allows you to run your application by specifying only a jar file name (i.e., you don't have to include the name of the class that contains the main() method on the command line):
java -jar myjar.jar
Look for 'jar' on the tool documentation at http://java.sun.com/javase/6/docs/technotes/tools/index.html#basic
to see how to use the manifest file with the jar command. Details on the manifest file format are available at http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#JAR%20Manifest.
Similar Messages
-
Including multiple jar files to applet
In one of my application I am using severla third party apis (JavaHelp, JFreeReport, NanoXml ...) which comes as a seperate jar file each.
Is there is a way that I can include these multiple jar files to be downloaded automaticaly when the applet is starting.
currently I am extracting all the jar files and then re compressing them in to one file and place it in the archive property in the applet tab.
Is there a way I can avoid extraction and recompression and directly use the jar files<param nama="archive" value="myjar.jar, myOtherjar.jar" />
You could try to create an installer that wil put the 3rd party jars in the users lib/ext directory. -
How to configure multiple domains in Active directory
HI,
How can I configure multiple domains on Active Directory. When I installed AD it asked for a domain name, there I gave ravigupta.com as domain name. But now I find no way of creating another domain.
I am a java developer and my task is to write a programme which returns all the domains available in LDAP server.
To start with ,I tried to create few domains in LDAP server ( AD ) but stuck up ,as i found there could exist only one domain.
Please tell me how to configure multiple domains in LDAP server ( Active Directory).
I skiped DNS configuration while AD installation.
-raviI'm sorry, but you should be asking on a different forum. This has nothing to do with Java.
-
Here's a basic question that none of the examples seem to address. If my applet is comprised of multiple jars (some dynamically loaded based on system configuration), do they all have to be signed, or does just the jar file containing the applet entry point need to be signed?
Conversely, could it be that only the jar files that contain code that wants to write files to the local file system need to be signed, or does everything need to be signed?Conversely, could it be that only the jar files that contain code that wants to write files to
the local file system need to be signedThe Stack needs to be "trusted" code. If an unsigned applet "not trusted" calls a method
of the signed applet it should not be allowed to do "trusted" things.
One example is when you call a public method of the applet from javascript. There is a
sollution other that signing all.
http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
second post -
To Move Multiple Files from one directory to another.
Hi,
I need to move multiple files from one directory in UNIX (application server ) to another. I need something like an FM 'STRALAN_COPY_FILES' which is also valid in ECC 6.0.
Thanks in advance.Hello Sachin
Below you see a copy of how to use EPS_FTP_PUT using transaction SE37.
Import parameters Value
RFC_DESTINATION = NONE
LOCAL_FILE = filename
LOCAL_DIRECTORY = /dir1/dir2
REMOTE_FILE = filename
REMOTE_DIRECTORY = /dir1
OVERWRITE_MODE = F " force -> overwrite existing file
TEXT_MODE = B " binary
TRANSMISSION_MONITOR X " display transmission monitor
*RECORDS_PER_TRANSFER 10
*REQUESTED_FILE_SIZE 0
*MONITOR_TITLE
*MONITOR_TEXT1
*MONITOR_TEXT2
*PROGRESS_TEXT
*OBJECT_NAME
Regards,
Uwe -
How to use an Applet with multiple-jars
Hi everybody,
I would like to use an applet with multiple-jars.
ex:
<applet codebase="." archive="main.jar,Addon1.jar,Addon2.jar" code="Appl.class" id="MyTest" width="600" height="30">
<param name = "MyParam" value = "1;2">
</applet>
An applet with :
-> 1 Main JAR
-> X Addon JARs (X : a parameter "PRM")
My main part knows the parameter "PRM" -> knows which addon to use
My question is, how do I use classes from addons, inside the main part (and vise-versa if possible) ?
Thanks in advance
Best regardsI try what you say :
=== HTML ===
<applet codebase="." archive="Main.jar,Addon1.jar" code="Test.Appli.class" id="MyTest" width="600" height="30">
<param name = "myPrm1" value = "1;2">
</applet>=== MAIN JAR ===
package retest;
interface InterfAddOn1 {
public void AfficheTest1(String sStrTest);
public class Ctest {
public Ctest() {}
public void unTest(String sClassNameR) {
String sClassName = "PackTestAddon.TestClass1";
try {
Object oObj = Class.forName(sClassName).newInstance();
((InterfAddOn1) oObj).AfficheTest1(" Hello World ");
} catch (ClassNotFoundException ex1) {
System.out.println("ERR Class not found");
} catch (IllegalAccessException ex1) {
System.out.println("ERR Illegal Access");
} catch (InstantiationException ex1) {
System.out.println("ERR Instantiation Exception");
}=== ADDON JAR ===
package PackTestAddon;
public interface InterfAddOn1 {
public void AfficheTest1(String sStrTest);
package PackTestAddon;
public class TestClass1 implements InterfAddOn1 {
public TestClass1() {}
public void AfficheTest1(String sStrTest) {
System.out.println("Test :"+sStrTest);
}I have this error :
Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: PackTestAddon.TestClass1
at retest.Ctest.unTest(Ctest.java:58)
at retest.Appli.actionPerformed(Appli.java:442)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I don't really know why ... =;o(
Helppppp ... Thanks in advance. -
How do I print multiple reports to a directory at the same time
I'm trying to print a list of monthly reports to a directory by using the code below. The first part of the code runs a query to select Business Units that will receive the reports. The idea is to cycle through this list and print one report for each
Business Unit. These vary from month to month. I create a record set from that query. Where I'm getting stuck is in trying to pass the Business unit selected in the first query to the query that runs the final report. I end up getting multiple
reports with different titles but the content is the same, so I'm doing something incorrect. Here is the code. Any help would be greatly appreciated. QryNewMOR runs the report.
Private Sub Cmd012815_Click()
Dim qdf As DAO.QueryDef
Dim strSQL As String
Dim strPathName As String
Dim blRet As Boolean
Dim rs As DAO.Recordset
Dim stDocName As String
Dim strSavedSQL As String
Dim strBus As String
Dim strExec As String
If Me.Dirty Then Me.Dirty = False
stDocName = "RptNewMOR"
strSQL = "SELECT [Business Unit Long],[Responsible Executive] FROM tblRespExec WHERE (((tblRespExec.SelectedPrint)=True));"
Set rs = CurrentDb.OpenRecordset(strSQL)
If rs.RecordCount < 1 Then
MsgBox "No Bus lines or Execs selected", vbCritical, "Error"
Exit Sub
End If
'CreateFolder "C:\Test MOR"
'store the current SQL
Set qdf = CurrentDb.QueryDefs("QryNewMOR")
strSavedSQL = qdf.SQL
qdf.Close
Set qdf = Nothing
Do
strBus = rs![Business Unit Long]
strExec = rs![Responsible Executive]
Set qdf = CurrentDb.QueryDefs("QryNewMOR")
strSQL = strSQL + Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=" & rs![Responsible Executive] & ");"
strSQL = strSavedSQL
qdf.SQL = strSQL
Debug.Print strSQL
qdf.Close
Set qdf = Nothing
strPathName = "C:\Test MOR\" & rs![Business Unit Long] & ".pdf"
DoCmd.OutputTo acOutputReport, stDocName, acFormatPDF, strPathName
rs.MoveNext
Loop Until rs.EOF
rs.Close
Set rs = Nothing
'restore the SQL
Set qdf = CurrentDb.QueryDefs("QryNewMOR")
qdf.SQL = strSavedSQL
qdf.Close
Set qdf = Nothing
End Sub
Dean J. WaringI'm trying to figure out how to combine the two and am obviously not succeeding. Do you have a suggestion on how to make that work?
Hi Dean,
I am not completely sure of what you want. I suppose you want to modify the SQL definition of QryNewMOR, and use that modified query for the report?
In that case, and in the line of your program, I would make a QueryDef: QryStdMOR, with the "standard" strSavedSQL (so: strSavedSQL = QryStdMOR), construct strSQL in the same way, and assign this to the SQL definition of QryNewMOR.
Thus, in your code at the very beginning, skip the line strSQL = strSavedSQL.
strSQL = Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=""" & rs![Responsible Executive] & """);"
' skip this line: strSQL = strSavedSQL
qdf.SQL = strSQL
Within the loop you should not start with strSQL = strSQL & ...., because strSQL will retain then its value from the previous loop, and increases and increases...
Finally, I have added some double doublequotes around rs![Resposible Executive], because string expressions must be enclosed by double doublequotes (or eventually a single singlequote).
Imb.
strSQL = strSQL + Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=" & rs![Responsible Executive] & ");"
strSQL = strSavedSQL
qdf.SQL = strSQL -
URGENT ! Forms (jar file vs directory and classes)
Hi,
Our java developper has made an applet that we have to integrate with Forms.
I said that I need a jar file that I will put in the forms90/java directory.
The java developper want's to deploy instead of a jar file the whole directory and sub directory and all classes under the forms90/java.
My question is, are both deployement giving the same result in term of performance on the client side when downloading the classes or the jar file.
I always tought that jar file was better in performance.
What is the best way to deploy our applet?
Thanks for quick answer.
Jean-YvesIf you choose jar file client JVM will probably cache your jar. This will increase speed of application loading.
Another benefit is that when you use jar file there is lazy/on demand loading option available (in my experience on demand loading doesn't work out of the box - jar file and all referenced jar files must be indexed). In other words: users that don't use forms that use your applet will not download that jar file (I have used this for FormsGraph example and some custom java application) and they don't have to download all of the jars your jar file references. -
Multiple files in different directory using single FILE adaptor
Hi Guys,
How can we handle multiple files having different format(PDF,TXT,EXCEL) and in different directory with the single FILE adaptor.
I know by using "." we ca get mutilple files, but here tthe files are of different format and in different directory.
Could you please explain as to how we can handle this scenarios?
Thanks
SahilHi,
The short answer is - "No".
The Long Question - "Why do you want to use a SINGLE channel".
If your idea is to reuse the interface then dont worry... Except for the Senderchannel and Sender agreement all your other objects can be reused ...provided your sender apter converts the different files into the same XML format..
For TXT you can use the simple file adpater..
For excel see if you can use save the file as .CSV format...then you can use it directlky by the simple FIle adapter..
For PDF use conversion agent... Here a blog to get u started on that ->
/people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
regards
Arvind R -
How to find multiple entries in the Directory
Hi,
my directory contains lot of multiple entires and I want to find out is there a easier method by a script or command to find out all the mutiple entries in the directory.
Thanks!!
Message was edited by:
Sun_One@TCS
Message was edited by:
Sun_One@TCSAre you talking about entries that have been renamed because of a Replication Naming conflict (like the entry was added on 2 masters at the same time) ?
If so, please check the Administration Guide, Replication section.
<http://docs.sun.com/app/docs/doc/819-0995/6n3cq3av8?a=view#gdquf>
If you were talking about something else, please be more explicit. Directory Server does not allow you to create multiple entries with the same name. DNs are unique.
Regards,
Ludovic -
FTP Adapter to read multiple files from a directory. Not through polling.
Dear Friends,
I would like to know is it possible to configure the FTP adapter in Oracle BPEL 10.1.3.4 to read multiple files (different names, same structure) from a given directory. I do not want the BPEL to do a polling. Instead when I submit the BPEL process it should read all files from the directory.
I was looking at the option of Synchronous read but I am not able to specify wild card in the file name field. I do not know the file names at the time of reading.
Thanks for your help!Hi,
While you read the file, you can configure an adapter property in 'Receive'. This will store the filename, this filename can be used for sync read as the input parameter.
1. Create a message type variable called 'fileheader'. This should be of type Inboundheader_msg (whatever relevant Receive activity).
2. This variable will contain three parts - filename, FTPhost, FTPPort
3. Copy this fileheader to 'Syncheader'.
4. syncheader can be passed as an adapter proerty during sync read of the file.
During Receive and Invoke, you need to navigate to 'Adapter' tab to choose the created message type variable.
Let me know if you have further questions.
regards,
Rev -
Could not find Main Class while running JAR outside /dist directory
Hello
I can make jar on netbeans by clicking Shift+F11. But the problem occurs when I copy paste my jar file out of /dist directory. It only works at /dist directory. I think my way making jar is incorrect. Anyone knows a way to make runnable jar by NetBeans instead of Shift + F11Crossposted here:
[http://forums.sun.com/thread.jspa?threadID=5369074]
Don't do that. -
Problem: Multiple jar files in Class-Path [ IOException: line too long]
Hello Folks,
I am trying to create a jar file using the following command:
jar -cvfm mygrid.jar MANIFEST.MF -C grid-jar/ .
My MANIFEST.MF file is as following:
Manifest-Version: 1.0
Main-Class: com.gridftp.INSPgridFTP
Class-Path: lib/activation.jar lib/ant.jar lib/antlr.jar lib/axis.jar lib/castor-0.9.3.jar lib/cog-abstraction-common-2.0.jar lib/cog-abstraction-examples-2.1.jar lib/cog-certmanagement-1.0.jar lib/cog-certrequest-1.0.jar lib/cog-grapheditor-0.46.jar lib/cog-gridfaces-1.0.jar lib/cog-gridshell-1.0.jar lib/cog-jglobus-1.2-050621.jar lib/cog-karajan-0.31.jar lib/cog-provider-clref-gt3_0_2.jar lib/cog-provider-clref-gt3_2_0.jar lib/cog-provider-clref-gt3_2_1.jar lib/cog-provider-clref-gt4_0_0.jar lib/cog-provider-condor-2.0.jar lib/cog-provider-gt2-2.0.jar lib/cog-provider-gt2ft-1.0.jar lib/cog-provider-gt3_0_2-2.0.jar lib/cog-provider-gt3_2_0-2.0.jar lib/cog-provider-gt3_2_1-2.0.jar lib/cog-provider-gt4_0_0-2.2.jar lib/cog-provider-local-2.0.jar lib/cog-provider-ssh-2.0.jar lib/cog-provider-webdav-1.0.jar lib/cog-resources-1.0.jar lib/cog-setup-0.91.jar lib/cog-util-0.91.jar lib/commons-discovery.jar lib/commons-httpclient.jar lib/commons-logging.jar lib/concurrent.jar lib/cryptix32.jar lib/cryptix-asn1.jar lib/cryptix.jar lib/j2ssh-common-0.2.2.jar lib/j2ssh-core-0.2.2.jar lib/jaas.jar lib/jakarta-regexp-1.2.jar lib/jakarta-slide-webdavlib-2.0.jar lib/jaxrpc.jar lib/jce-jdk13-125.jar lib/jgss.jar lib/jug-1.0.1.jar lib/junit.jar lib/log4j-1.2.8.jar lib/mail.jar lib/puretls.jar lib/saaj.jar lib/wsdl4j.jar lib/xercesImpl.jar lib/xml4j.jar lib/xml-apis-1.1.jar lib/xmlsec.jar lib/xpp3-1.1.3.4d_b4_min.jar lib/xstream-1.1.1-patched.jar .
The grid-jar directory structure is:
| - com -- all classes are under this dir.
| - lib -- all the required jar files are in this dir.
There are 59 jar files in the lib directory. When I try to create the jar file, I get the following exception:
jar -cvfm mygrid.jar MANIFEST.MF -C grid-jar/ .
java.io.IOException: line too long
at java.util.jar.Attributes.read(Attributes.java:356)
at java.util.jar.Manifest.read(Manifest.java:167)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at sun.tools.jar.Main.run(Main.java:124)
at sun.tools.jar.Main.main(Main.java:904)
Any idea, why do I get this exception? Is there any restriction as to how many jar files (or characters) can be there in the Class-Path value in the MANIFEST.MF file?
Please help.
Thanks,
Anause as the following way to resolve the problem:
(1) use separate lines, to avoid too long a line for java package name lists
(2) type a preceding space before each folloing lines, for example:
Class-Path: ...jar ...jar ...jar
...jar ..jar
...jar ...jar
...jar ...jar
Hello Folks,
I am trying to create a jar file using the following
command:
jar -cvfm mygrid.jar MANIFEST.MF -C grid-jar/ .
My MANIFEST.MF file is as following:
Manifest-Version: 1.0
Main-Class: com.gridftp.INSPgridFTP
Class-Path: lib/activation.jar lib/ant.jar
lib/antlr.jar lib/axis.jar lib/castor-0.9.3.jar
lib/cog-abstraction-common-2.0.jar
lib/cog-abstraction-examples-2.1.jar
lib/cog-certmanagement-1.0.jar
lib/cog-certrequest-1.0.jar
lib/cog-grapheditor-0.46.jar
lib/cog-gridfaces-1.0.jar lib/cog-gridshell-1.0.jar
lib/cog-jglobus-1.2-050621.jar
lib/cog-karajan-0.31.jar
lib/cog-provider-clref-gt3_0_2.jar
lib/cog-provider-clref-gt3_2_0.jar
lib/cog-provider-clref-gt3_2_1.jar
lib/cog-provider-clref-gt4_0_0.jar
lib/cog-provider-condor-2.0.jar
lib/cog-provider-gt2-2.0.jar
lib/cog-provider-gt2ft-1.0.jar
lib/cog-provider-gt3_0_2-2.0.jar
lib/cog-provider-gt3_2_0-2.0.jar
lib/cog-provider-gt3_2_1-2.0.jar
lib/cog-provider-gt4_0_0-2.2.jar
lib/cog-provider-local-2.0.jar
lib/cog-provider-ssh-2.0.jar
lib/cog-provider-webdav-1.0.jar
lib/cog-resources-1.0.jar lib/cog-setup-0.91.jar
lib/cog-util-0.91.jar lib/commons-discovery.jar
lib/commons-httpclient.jar lib/commons-logging.jar
lib/concurrent.jar lib/cryptix32.jar
lib/cryptix-asn1.jar lib/cryptix.jar
lib/j2ssh-common-0.2.2.jar lib/j2ssh-core-0.2.2.jar
lib/jaas.jar lib/jakarta-regexp-1.2.jar
lib/jakarta-slide-webdavlib-2.0.jar lib/jaxrpc.jar
lib/jce-jdk13-125.jar lib/jgss.jar lib/jug-1.0.1.jar
lib/junit.jar lib/log4j-1.2.8.jar lib/mail.jar
lib/puretls.jar lib/saaj.jar lib/wsdl4j.jar
lib/xercesImpl.jar lib/xml4j.jar lib/xml-apis-1.1.jar
lib/xmlsec.jar lib/xpp3-1.1.3.4d_b4_min.jar
lib/xstream-1.1.1-patched.jar .
The grid-jar directory structure is:
| - com -- all classes are under this dir.
| - lib -- all the required jar files are in
e in this dir.
There are 59 jar files in the lib directory. When I
try to create the jar file, I get the following
exception:
jar -cvfm mygrid.jar MANIFEST.MF -C grid-jar/ .
java.io.IOException: line too long
at
at
at
at
java.util.jar.Attributes.read(Attributes.java:356)
at
at
at java.util.jar.Manifest.read(Manifest.java:167)
at
at
at java.util.jar.Manifest.<init>(Manifest.java:52)
at sun.tools.jar.Main.run(Main.java:124)
at sun.tools.jar.Main.main(Main.java:904)
Any idea, why do I get this exception? Is there any
restriction as to how many jar files (or characters)
can be there in the Class-Path value in the
MANIFEST.MF file?
Please help.
Thanks,
Anajust -
Packaging multiple jars in one jar file.
Hi I have an application that is packaged into a jar, but I have a library I would like to pack with it, so that my jar-file contains the other jar inside. I thought using Java indexing (jar -i) would work, but it didn't for me.
Any ideas?
Thanks.I extract 3rd party JARs and then include them in my JAR as follows:
jar xf jakarta-oro-2.0.5.jar
jar xf jasperreports-1.2.1.jar
jar xf iReport.jar
jar cmf mainClass Spec Remote.jar *.class org/ net/ it/The extraction of jakarta... produces the org/ path, jasperreports... produces the net/ path and iReport ... produces the it/ path. All are in my working directory as are my *.class files. I hope this is the answer you need. -
Loading all images from Jar include the directory structure.
Hi I would like to puts all my images in a Jar. is it going to improve the loading speed?
I have a ImageLibary that load all the images to a hashtable and access each image by their path and filename.
I only have to input the image root directory and it will load all the images including sub-directory. If I decide to put these directories in a JAR. is this still going to work? Do all the class files has to be in the same JAR?
use getResourse()?
My current ImageLibary is like this:
public class ImagesLibary extends Component
private Hashtable imagesBank;
private Vector imagesName;
private MediaTracker tracker;
public ImagesLibary()
imagesBank = new Hashtable();
imagesName = new Vector();
tracker= new MediaTracker(this);
loadImageFile("./images");
for(int i=0; i<imagesName.size(); i++)
String key = (String)imagesName.get(i);
Image image = getToolkit().getImage(key);
tracker.addImage(image, 0);
try
tracker.waitForID(0);
catch (InterruptedException e)
System.err.println("Loading image: " + key + " fails. " + e);
imagesBank.put(key,image);
System.out.println("Loaded: " + key);
System.out.println("Total of " + imagesBank.size() + " images.");
private void loadImageFile(String dir)
File imageDir = new File(dir);
File temp[] = imageDir.listFiles();
for(int i=0; i<temp.length;i++)
if (temp.isDirectory())
loadImageFile(temp[i].getPath());
else
imagesName.add(temp[i].getPath());is it going to improve the loading speed?depends :)
is this still going to work?some ajustments are needed... but thats done quickly.
Do all the class files has to be in the same JAR?no. but it's easier to handle.
use getResourse()?yes. don't know if u have to. but i do it this way :)
inside an application:
URL keyboardImagePath;
keyboardImagePath = (new Object()).getClass().getResource("/gfx/keyboard.gif");
Image kb=getToolkit().getImage(keyboardImagePath);inside an applet:
URL path = (new Object()).getClass().getResource( "/icons/right.gif" );
// now make the icon getting the gif from the url
ImageIcon = new ImageIcon( path );inside a hybrid:
URL keyboardImagePath;
keyboardImagePath = (new Object()).getClass().getResource("/gfx/keyboard.gif");
System.out.println("<-(application)load:"+keyboardImagePath); //if u wanna c what happens
if(keyboardImagePath==null)
keyboardImagePath=selfRef.getClass().getResource("/gfx/keyboard.gif");
System.out.println("<-(applet)load:"+keyboardImagePath); //if u wanna c what happens
Image kb=getToolkit().getImage(keyboardImagePath);hope that was helpfull :)
Maybe you are looking for
-
Logical System is not in the list of CentralSystem(CUA)
Hi, I am trying to create Central User Administration (CUA) in my landscape. CentralSystem:- I was created one client 007 with user name CUA_ADM as Administrator and i have been defined a logicalsystem and assigned to it and created RFC con
-
Adding Images to the List component
Adding Images to the List component while using the FLV PLayback All, ( i can send you my source files if it would help) I'm using the FLV Playback component and loading videos into it from an external xml file. I also have a list component tied to t
-
How to get display sale order in MB51
Hi, How we can get display sale order in mb51 , at present only sale order with special stock "E" is been display . Thanks..
-
Oracle Character sets with PeopleSoft - AL32UTF8 vs. UTF8
We currently have PeopleSoft FInancials v8.8 with PeopleTools 8.45 running on Oracle 9.2.0.8 with the UTF8 character set. We plan to upgrade to Oracle 10.2, and want to know if we can and should also convert the character set to AL32UTF8. Any issues?
-
Hi, this join is syntactically correct but because ekpo-ebelp is the type numc(5) and lips-vgpos is the type numc(6) it's not working. Example: ekpo-ebelp = 00010 lips-vgpos = 000010 What should i do? Please someone help me. Thank you.