35,588 Topics

Member Avatar for
Member Avatar for sdzahed

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(","); …

Member Avatar for sdzahed
0
203
Member Avatar for Shmoil

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 …

Member Avatar for Shmoil
0
225
Member Avatar for mahm240

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.

0
99
Member Avatar for Compudog

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 …

Member Avatar for Salem
0
74
Member Avatar for dwrakh
Member Avatar for stephen84s
-2
73
Member Avatar for cali_dotcom

Hi i am not so good with javascript so i really dont know the best way do do what i want to do. want to make a form that allows people to add and delete rows with javascript but it just doesn't work the way i would like. javascript is …

Member Avatar for wrivera
0
150
Member Avatar for omnis
Member Avatar for gramatton

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 …

Member Avatar for joseph111
0
137
Member Avatar for musthafa.aj

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 …

Member Avatar for javaAddict
0
97
Member Avatar for musthafa.aj

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

Member Avatar for musthafa.aj
0
902
Member Avatar for ramjeev

Hi friends, This is regarding synchronization in Thread. If a block or method is synchronized, which object is said to be synchronization?

Member Avatar for ramjeev
0
90
Member Avatar for StarZ

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 …

Member Avatar for gunjannigam
0
222
Member Avatar for dj3hac

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 …

Member Avatar for musthafa.aj
0
104
Member Avatar for Makoto1981

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

Member Avatar for musthafa.aj
0
81
Member Avatar for adams161

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 …

Member Avatar for adams161
0
150
Member Avatar for lardshow

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 …

Member Avatar for JamesCherrill
0
105
Member Avatar for K?!

I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?!

Member Avatar for wrivera
0
175
Member Avatar for JPDobner

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 …

Member Avatar for JamesCherrill
0
116
Member Avatar for hasanabada
Member Avatar for Salem
0
44
Member Avatar for m_sam6
Member Avatar for AbhikGhosh
0
3K
Member Avatar for sleaze

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 …

Member Avatar for ~s.o.s~
0
185
Member Avatar for OzY360

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 …

Member Avatar for OzY360
0
1K
Member Avatar for beforetheyknew

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 …

Member Avatar for darkagn
0
109
Member Avatar for beforetheyknew

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 …

Member Avatar for beforetheyknew
0
100
Member Avatar for mostafanageeb

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 …

Member Avatar for hasanabada
0
107
Member Avatar for gingerfish

hello guys, could you please explain me when do we use these: int[][], double[][], float[][]? i mean, why there are two brackets "[]"? thanks

Member Avatar for gingerfish
0
61
Member Avatar for phid2002

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 ? …

Member Avatar for Phaelax
0
65
Member Avatar for fortex

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 …

Member Avatar for musthafa.aj
0
135
Member Avatar for forsan200

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: …

Member Avatar for JamesCherrill
0
133
Member Avatar for Whilliam

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?

Member Avatar for peter_budo
0
132

The End.