MSIE crash (of sorts) in applet page

661 byte By 664045F1lista at 2007-11-26 12:18:47
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, ...

Ant failed build with 25 warning

26108 byte By 676860shappella at 2007-11-26 12:18:49
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 ...

JSF addMessage() function auto format the message in properties

973 byte By 869845kokoricoa at 2007-11-26 12:18:51
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 ...

How do I export Lighthouse Policy and Password Policy?

151 byte By 642280JimBearda at 2007-11-26 12:18:53
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?

JBI Presentations for JavaOne

622 byte By 19758mailguya at 2007-11-26 12:18:54
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 ...

jsp compilation fails at load time...

2245 byte By 869851indian_511a at 2007-11-26 12:18:55
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 ...

Deleting Projects

296 byte By 869854davidbraina at 2007-11-26 12:18:58
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..

Changing radio button colors

249 byte By 869856jason@jonesa at 2007-11-26 12:18:59
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

Dont reaxh MouseListener

1828 byte By 483245Hanns-Wa at 2007-11-26 12:19:02
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 think of Java applets?

46 byte By 679420phillip1492a at 2007-11-26 12:19:04
What do you recommend for Java applets?

cluster interconnect in Sun Fire T2000

1767 byte By 655860mpecha at 2007-11-26 12:19:05
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 ...

Blocking Invalid Addresses

512 byte By 869863panthers99a at 2007-11-26 12:19:06
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 ...

HTTP 404 in Tomcat - Servlet - XHTML generation

1874 byte By 403993BlufsteinEJa at 2007-11-26 12:19:07
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 ...

what is Solaris

345 byte By 678055Sasa_Ivanovica at 2007-11-26 12:19:08
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 ...

BoxLayout and JTextField

2914 byte By 869859maltorjaya at 2007-11-26 12:19:09
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 ...

Applet

174 byte By 678691Ganbreea at 2007-11-26 12:19:10
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.

NDC in Log4J

236 byte By 655489dbes@isd.dp.uaa at 2007-11-26 12:19:12
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?

help on pen drive

191 byte By 869867cddhesha at 2007-11-26 12:19:13
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

Tree Structure

202 byte By 869790Sabi@Suna at 2007-11-26 12:19:14
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

please help me

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

Reading text file

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?

ld relocation warning

1601 byte By jgeorgesona at 2007-11-26 12:19:17
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 ...

Key extends meaning

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

VWP migration

1182 byte By yossariana at 2007-11-26 12:19:19
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 ...

XML to HTML Transformation...

318 byte By saran_javaaa at 2007-11-26 12:19:20
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 ...

Set Variables in an applet

3986 byte By hwrdrpknsa at 2007-11-26 12:19:21
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 ...

animation/swing/timer question

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 ...

Redeploy fails when using Struts with SJSAS 9PE UR1

489 byte By khookguya at 2007-11-26 12:19:23
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 ...

scjp 5: Opinions

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 ...

copper cable / GigE Copper Interface as Private Interconnect for Oracle RAC

625 byte By qmailindiaa at 2007-11-26 12:19:26
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 ...

trying to print an image using recusion

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 ...

Debugging C code in a dll

407 byte By caffeinea at 2007-11-26 12:19:29
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 ...

How do I handle transparent pixels in an ImageIcon

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 ...

Error in applying transforms

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 ...

Best practices for too many parameters

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 ...

Image in JPanel

281 byte By java_piscesa at 2007-11-26 12:19:35
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..

Help - what does this sql error mean?

925 byte By Fast_Franka at 2007-11-26 12:19:36
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 = ...

Java Applets?

78 byte By gabel3469a at 2007-11-26 12:19:37
Is there anyway to send a file from an applet to a server to be stored?

Servlets to Parse XML Document

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.

Vertical DPI

601 byte By craigtay@gmail.coma at 2007-11-26 12:19:40
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 ...

Busted tile algorithm.

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 ...

Servlets and XML - How to Parse the XML Document?

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.

How to retrieve month names?

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.

Synchronized Statements help

2176 byte By alien08o8a at 2007-11-26 12:19:46
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 ...

dynamic rendering using javascript

1050 byte By PiotrekLublina at 2007-11-26 12:19:47
Hello I've got a problem and I'am wondering that you can help meI'am using NetBeans with visualpackI want to dynamicly change a "render" attribute in <ui:dropDown> component so that after placing the cursor on mouseover on the panel dropdown component would appear. I was influenced by ...

static init blocks

886 byte By chadmichaela at 2007-11-26 12:19:48
I'm working with an existing java class that is basically just a wrapper around a static map. The only public method is a static method that gives access to getting a value from the map. The implementaiton seems to use something that I believe is unnecessary. I'd like to explain my view on ...

How Do I write an XML file using Java?

501 byte By BCE_Josea at 2007-11-26 12:19:51
Hello there!! to everyone reading my post.I have this project I need to do, and I have no clue where to start, I was wondering if you guys could help me out.I need to know how to write an XML file using a Java Program, but without using a Third party library.... just using java native APIs.I ...

JTextfields and JButtons and JLabels and paintings in applets

6362 byte By dswetta at 2007-11-26 12:19:53
Ok, so I added a textfield, button, and label to an applet. The purpose is to type something in the textfield and click Draw and it will draw the text in the picture. It compiles and displays but all I see is the painting and no textfield or button or label. Any ideas?import ...

How to....?

367 byte By aaron31416a at 2007-11-26 12:19:55
I磎 developing a networking program based on a vritual universe on a server. I want every client able to render THE SAME VIRTUAL UNIVERSE, but I磎 having problems to do so. When I attach an instance to a frame panel, and then to another, the scene is not rendered in both!!, how do i prevent this ...

11/06 on SunBlade 100 install problem.

785 byte By DoxBriana at 2007-11-26 12:19:57
My SunBlade 100 had 06/06 installed on it. I attempted the 11/06 install as an upgrade and it died after CD #1. Since this is just my test box (to see if OS updates/patches break anything), I went ahead and attempted fresh install. Results are exactly the same!After rebooting (after CD #1 is ...