32,199 Topics
| |
Hi, Iam very new to XSLT and XML. I am trying to invoke a javascript function from inside my xslt documen. The javascript snippet is as follows: [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:js="urn:custom-javascript" exclude-result-prefixes="msxsl js" > <msxsl:script language = "JavaScript" implements-prefix = "js"> <![CDATA[ function compareCsvs (firstString,secondString) { var firstArray=firstString.split(","); … | |
Hello, I have a school assignment to build a 2 minute countdown timer in java. Gunjannigam managed to assist me in creating the functions. My code for secondCount, I have built a function so that I can adjust secondCount to a number and it will change the timer. When secondCount … | |
i made a web service in netbean and now i want to monitor the request made to use this service from client side. now how i embed http monitor activity into this web service to check the requests. | |
Having problem networking two computers with a game I designed. I am using java, i have written a file that will comunicate with the server as its own thread, and it works fine with the server application when run on its own. However, when i run the client thread within … | |
hi.. where can i get the java source code for multiple regression... | |
Ok, I got the assignment from my CompSci teacher to write a program that converts a string of an infix operation to a postfix one and it has to use a list and stack. The class that we have to write, Postfix, has to include a conversion, parsing, clear, and … | |
HELLO ! first i shown all records in jtable ... after i process(read from it and insert into DB) one record at a time.. while processing i need that particular row in yellow color... if the row completed (inserted in DB) THEN the row become GREEN.. HOW TO DO...I TRIED … | |
hello! i need to create JTable which swing string and animated gif image also... how to put animated gif and data(string) in Jtable cell dynamically... can you give any referel link or codes... i tried lot but vain... | |
Hi friends, This is regarding synchronization in Thread. If a block or method is synchronized, which object is said to be synchronization? | |
HI there, so my program so far only has buttons... can someone modify my program so when i press a button there will be another popup page, and so on? thanks ! p.s. my program right now only has buttons but the buttons does not do/go anywhere. [code]import javax.swing.*; import … | |
I'm having some trouble with this. Since I'm manipulating files I SHOULD already know how to do this... however I do not. I have searched the internet and could find nothing that helps :( When a username is specified by using the -u switch the username should be saved to … | |
HI, I am studying java, and I am trying to input a value into, then It goes to a for loop. I did the for loop part. but I am having a hard time on the input. thanks | |
hi, i have an array of JTextPane's. console 0 uses array[0] jtextpane to see their chat. console 1 uses array[1] jtextpane etc. up to them how many jtextpanes they use/consoles they create/open. they can move different chat channels to different consoles or have all channels go to one. lets say … | |
Hi all please can someone help? i have to create an exception class (which i think i've done) and then throw it from some helper methods. i've tried allsorts to get this exception to work, and i just cant see what i'm doing wrong.... as this is an assignment i … | |
I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?! | |
Hi, My code compiles and runs but the GUI will not display. I have tinkered with it but cannot get it to come up. Someone said I may be miscalling my GUI in this code, help? Thank you. [CODE]import javax.swing.*; import java.awt.event.*; public class Application_MainRunInv extends JFrame { private JTextArea … | |
which one is the best compression algorihm in java for compressing data | |
hi how i can do this by StringTokenizer Is there a more easy efficient method? | |
Im currently working on a project where i need to read a text file containing a list of users and let it be stored in a database. Here is my text file: headers(ID number, LastName, FirstName, MiddleInitial,Course and Year): 2070939 Carter, Billy Joe K. BSIT 4 2070123 Daniel, Michael Ericson … | |
| I'm having trouble getting the program to loop back to the menu once I have created a new computer/customer. Once I figure it out I can do it for all the functions in the menu. This program is not yet complete but any guidance as to why my program won't … |
Hi guys just wanted some clarification on two issues. Nested Loops, I just want to clarify how i should read these for example: [CODE] public void nestedForLoop() { int i = 0; int j = 0; for (i = 0; i < 10; i++) { for (j = 0; j … | |
Hi guys do you know of any sites where i can go through some java questions in preparation for a java exam. In the sort of style for example where you are provided a for loop and which isn't in the normal format and then asks you what would x … | |
I am now making the huffman algorithm. I have generated the tree but I cannot generate the codes.. please if anyone can help tell me how? [B]This is the class Node[/B] [CODE] public class Node { private Node left=null; private Node right = null; private Node parent = null; boolean … | |
hello guys, could you please explain me when do we use these: int[][], double[][], float[][]? i mean, why there are two brackets "[]"? thanks | |
I atached the image with the webpage, do anybody knows how to do to show an advertise like in the photo after the page has been loaded, let's say after a few seconds, it seems similar to the lightbox.js but it's diferent. Can somebody help me with some ideeas ? … | |
Hello people, I was recently working on some homework for my class, and I have a error on my code. First, I will tell what I need to do. What the program asks for is for a person to give a 3-number digit(N), from 100 to 999. After that, the … | |
So basicly i am trying to create a 2 dimensional array for my snake game but i am haveing some trouble: [CODE] public static Tile gameField[][]; [/CODE] [CODE] gameField = new Tile[FIELD_HEIGHT][FIELD_WIDTH]; for(int i=0;i<FIELD_HEIGHT;i++){ for(int j=0;j<FIELD_WIDTH;j++){ gameField[i][j] = new Tile(); } } gameField[1][1].snake = false; gameField[1][2].snake = true; System.out.println(gameField[1][1].snake+"_"+gameField[1][2].snake); //Prints: … | |
In the class diagram, we'll put attributes of our class in the section at the middle of the class' name and methods right? I'm wondering, are we also put instantiated variables in there? Like the variables instantiating other classes and buttons? | |
hi, I was wondering how can i make a new frame after the password is entered(if it's correct). Like if the user enters the correct password than another brower/frame will open. This is the program: [code]import javax.swing.*; import java.awt.event.*; import java.awt.*; public class password { private static String password = … | |
Hi, so I want to make this kind of "webpage" thing with GUI and how can go to another "page" not open another frame when I click on one of the buttons. Like in my program one of the buttons are "Sign In" and when the user clicks it I … |
The End.