Hi,I do not know if this is the more suitable forum to ask this question, but I am going to try it:I am developing an application with two parts. 1. A server developed in J2SE which is connected to a MySQL database. 2. A client developed in Swing which shows data received from the server by ...
i use the file Transcode.java from this link: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Transcode.htmlbut can any one tell me what they mean by audioformat and videoformat , and how can i choose the suitable format.?thanks
Hi,We have a 3rd party application which calls a Java frame and intermittently it freezes!What is the best way for me to debug in a citrix environment or in a multiuser environment in general?Can we get this stack trace to a file?Please accept my apologies for poor understanding, I am new to ...
I'm having a major problem getting a tag file to evaluate my el correctly. Here's the test casetest.jsp======================================${value==null} ${value==0}${value!=null and value==0}<c:if test="${value!=null and value==0}">this is not shown, rightfully ...
Hi, I'm trying to lock a text file for exclusive write use for different threads of an application, started from websphere. I wrote a small standalone test harnass to verify the solution, and found that it works just fine on windows, but completely fails under unix !Using java 1.4.2_08 ...
Suppose I have:* a class named Base which contains a function named foo().* a class named Derived which extends Base that also has a function foo().I'd like to call Base::foo() using JNI (this is me playing around getting to know JNI; I know this isn't terribly useful).In Derived, I ...
Hi allWe're having the following problem: when using MSIE (6.0, the build that ships with winxp sp2) to run a java applet (the applet is a hypergraph applet, see http://hypergraph.sourceforge.net/), after a variable amount of time (from 10 minutes to 10 hours), the browser stops responding, ...
Can someone help me to figure oout why the build file has failed. What do I need to fix. There are no errors just warnings but still wont create a successful buildBuildfile: C:\Documents and Settings\shapellj\Desktop\College stuff\Workspace\slide2.1\build.xmlclean:[delete] Deleting directory ...
I have a problem to print a message on my browser from JSF.I use the function facesContext.addMessage to put a facesMessage in the message queue that will be displayed thanks to the <h:messages> tag in the JSF page.The problem is in the function addMessage, I give to it a message present ...
I'm trying to figure out what objects to import/export for my policies. I'm not sure where that information is stored. Can anyone help me out?
I am wanting to present at the JavaOne conference next year and was wondering if there was enough interest out there on speaking about how our company has used JBI?For example we have used it to invoke web services inter-ESB over HTTP. Also we have incorporated a compression component to reduce ...
Hi,We have just moved from jdk1.4.1 to jdk1.4.2. also with this we have jwsdp 1.6, webserver 6.1sp6I am getting followong error. Please can anyone tell me what is wrong.In older version the import of a servlet "import servelt1" is working but for the same statemenbt is gives the compiler error ...
HiI've just downloaded Creator Studio and I'm trying to delete a project. The documentation says I should right click on the project item in the projects window and select delete. The only problem is there isn't a delete item.It works fine for pages but not for projects..
When hovering over a radio button, how do you change the fill color of the radio button? The default appears to be a shaded orange, but I want the flexibility to change colors, as needed.Any suggestions?Thanks!jason@jones
In my JPanel-ClassI useprivate void makeWuerfel() {for ( int i = 0; i < Jobs.MAX_WUERFEL ; i++ ) {aWuerfel[i] = new Wuerfel();aWuerfel[i].setBounds(40 * Jobs.BLOCK_LINKS + i * 60,20 * Jobs.BLOCK_HOEHE,getWidth(),getHeight());aWuerfel[i].setName("Wuerfel_" + ...
What do you recommend for Java applets?
hi,1. Solaris OS 10 6/06 + 10_Recommended2. two Sun Fire T2000, firmware 6.1.12, patches 119578-30, 119850-21two crossover cables, w/o junctions3. migration from ipge -> e1000g4. install Sun Cluster 3.1 8/05, patches 120489-04, 120500-125. scinstall and scsetup OK on both nodes6. add quorum ...
Hello,We are running the following version:iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)libimta.so 5.2 HotFix 1.16 (built 12:32:17, May 14 2003)SunOS angel 5.8 Generic_117350-21 sun4u sparc SUNW,Sun-Fire-V440We are starting to see e-mails coming into the message store with a ...
Hi all, It seems to be a stupid problem but I cannot find out its source. I磛e a Servlets (Servicio) wich generates a xHTML page. It resides in Tomcat-5.5 inside the following directory :<Tomcat-Inst-dir>/webapps/rnasini/WEB-INF/classes, where "rnasini" is my app-base directory. I mapped ...
i know Solaris is OS. But i'm just wondering how it looks like ... is it similar to Windows or Linux. Does it have all the features for every day use... or is it just for server computers. Can you run windows exe on it, maybe via some emulator ? I have no idea about it, and i searched all the ...
Hi, I have the following problem:Inside a JFrame I use borderlayout and I added a BoxLayout to the EAST. The boxlayout contains a JButton and a JTextfield. When i run the code, on the left side of the BoxLayout a gap appears, with the size depending from the size of the textfield. If the ...
im still looking for a graphical button:ButtonLogin = new Button(button_1);button_1 being a resource from getImageI cant think of any other ideas.
Log4J manual told me about Nested Diagnostic Contexts http://logging.apache.org/log4j/docs/manual.htmlBut I didn't understand this conception. May you help me with it?Where & when I need to use it?
i just want to know whether it is possible to write/create a file(any type eg text) on the pen drive using java/(any other language) program .if any one has tried please tell me
Pls,can anyone help me in constructing a tree view in jsp.User can make changes like drag and drop the nodes in a tree and has to save the changes..Please help i's urgent.SS
170 byte By
cddhesha at 2007-11-26 12:19:15
i just want to know whether it is possible to write/create a file(any type eg text) on the pen drive using java program .if any one has tried please tell me
167 byte By
seemapa at 2007-11-26 12:19:16
reading text file got error mesage "readline in java.io.datainput stream has been deprecatedSystem.out.println(dis.readLine());what does it means?
I'm using Studio 11 on Solaris 10 (sparc) and have come accross a linker warning. ztty.o is C code, compiled like this[code]/opt/SUNWspro/bin/cc -Xt -KPIC -g -DSunOS -DZERROR_H -I/vobs/zplus/src/include/zcl -I/usr/dt/include -I/usr/openwin/include -c -o obj/SunOS/ztty.o ztty.c[/code]When I try ...
279 byte By
tk3445a at 2007-11-26 12:19:18
Hey i have went thru my text and thru the API and i have an assignment where they want to know what the key "extends" means is there anyplace i should look or could it be listed with somthing else?Thanks EveryoneTomMessage was edited by: tk3445
I migrated my app to VWP today. It took a few hours to resolve a few problems but that was probably more my fault that VWP's. The most irritating problem to solve the "Powered by Creator" component which I eventually ended up deleteing from the java and jsp source and finally managed to remove ...
Hi All,I have written a code to transform the xml page to html page using Transformer. It is done perfectly.But unfortunately, i have not thought of the inner link present in each xml page which links to another xml page.Somebody can help me on how to tranform those internal links as ...
Hello,Basically i wanna do all of the function listend in this code with an applet in the background. however it seems that I can't run any JOptionPane's simotaneously with the applet. Is there any way i can run teh applet, set the variables, and run back and forth from files like I want to ...
1969 byte By
juhstina at 2007-11-26 12:19:22
I'm working on an Applet that bounces a ball around in a 3D room - kind of like a racketball court. It works like this: I have a JApplet called Game, and it contains a JPanel (called Court). In Court() I create two objects: Ball and Walls. Ball and Walls are plain classes that contain methods ...
I have an EAR that contains the Struts JARs. When I modify the app and try to redeploy, it always fails because of file locks on the Struts JARs. To redeploy, I have to shut down SJSAS, manually delete the app from the domain, restart, and redeploy.Has anyone else run into a similar problem ...
445 byte By
melikaia at 2007-11-26 12:19:24
Hello All:Im aiming to take my cert class around the first week of March, I have books I read them devoutly and I would like to hear some feedback about others who have pass the scjp 5 exam.I have gone over topics in my other books that I don't fully understand. Is it even possiable to fully ...
Hello Gurus Can some one confirm if the copper Cables ( Cat5/RJ45) can be used for Gig Ethernet i.e. Private interconnects for deploying Oracle RAC 9.x or 10gR2 on Solaris 9/10 . i am planning to use 2 X GigE Interfaces (one port each from X4445 Quad Port Ethernet Adapters) & Planning to ...
1940 byte By
tk3445a at 2007-11-26 12:19:28
/* * prog1.java * * Created on December 12, 2006, 1:21 AM * * To change this template, choose Tools | Template Manager * and open the template in the editor. *//** * * @author Compaq_Administrator */public class prog1 {/** Creates a new instance of prog1 */public prog1() {}/*** @param args the ...
When I create a program that uses JNI, I sometimes wish that it were possible to step through the C/C++ code using a symbolic debugger.I'm using Visual C++.Is it possible to arrange things so that when my Java code starts executing the native code contained in a .dll file that the Visual ...
429 byte By
MattCaa at 2007-11-26 12:19:31
I was given a gif to use in a JButton. When I look at the gif with Paint,the body of the gif is non-rectangular, but looks as if it were framed in a rectangle of black pixels. I assume that this "frame" is really made up of transparent pixels. But when I use the ImageIcon, I see this black ...
331 byte By
albertca at 2007-11-26 12:19:32
A third party program doesn't recognize my Java runtime, so I would like to remove it and re-install. However, when I tried to remove it, I was getting "Error in applying transforms".What does this mean? Is there another way to remove the Java runtime or re-install it?Thanks a lot for your ...
565 byte By
Cranky1a at 2007-11-26 12:19:33
Hi,I have an object with 10 fields. Let's say, for example, a Person class, with 10 attributes (name, age, height...). If I want to set the attributes from a database method that's in another class, but "show" the Person object from within the Person class, I'd rather not have a big ...
Hi,I have a problem about using JPanel in java.I could not use an image with JPanel that is I could not add an image into the JPanel.Do you have an idea how can I solve this problem.And is there any container that I can use as P輈tureBox .Thanks..
Number of conflicts while synchronizing: 2 SyncResolver.INSERT_ROW_CONFLICT row 3452 Data truncation: Out of range value adjusted for column 'ticketId' at row 1Here is my code:try {RowKey rk = ...
Is there anyway to send a file from an applet to a server to be stored?
245 byte By
JeffNa at 2007-11-26 12:19:39
I would like to create a servlet, which when accessed, will retrieve anXML file, remotely over the Internet, and parse it to the browser'sscreen.Can anyone point to example code that will help me along?Thanks.
I'm using Toolkit.getDefaultToolkit().getScreenResolution() to retrieve the DPI on my Red Hat Linux system right now (2.6 kernel and Java 5). The problem I'm having is that the resolution I get back is the horizontal DPI when I need the vertical DPI. Is there a way to get the vertical DPI ...
2451 byte By
javaroba at 2007-11-26 12:19:42
The following piece of code from http://www.java2s.com/Code/Java/Swing-JFC/InternalFrameTest.htm does not seem to work as all of the frames are minimized... any one know what gives? public void tileWindows() {JInternalFrame[] frames = desktop.getAllFrames();// count frames that aren't ...
244 byte By
JeffNa at 2007-11-26 12:19:43
I would like to create a servlet, which when accessed, will retrieve anXML file remotely over the Internet, and parse it to the browser'sscreen.Can anyone point to example code that will help me along?Thanks.
195 byte By
UBorbaa at 2007-11-26 12:19:45
I need to get the Locale month names. How can I do it?I looked for it in Calendar and GregorianCalendar but don't found.I'm using JSE 5.Thanks for any help.U.
I am having trouble understanding Synchronized Statements i read and got this from the java tutorial and would like to see if someone could help me understand it this is what i get from it and i dont know if im right or not.what i dont understand is why we synchronize two objects that do not ...