Hello Experts,
Is it possible for AspectJ to instrument code on a local machine and as soon as a pointcut is reached for it to use RMI to invoke a remote method...?? Is this even possible ?...
I am starting to learn Java. 5 & 6
How do you display a nane inside a box on the console screen like this:
------
Carol
...
This is interview Q.i said it is pass by reference.
then he asked how can you make pass by value?any thoughts for this?
sometimes i confused it is pass by reference or pass by value;some...
hi, i wanna compile a class from a batch file. Because of the folder hierarchy class is in seven level higher folder than the script file. I've tried to achieve this with this file:
Class i...
My requirement is at Offline user has entered some data in masters.we will provide screens to enter data.
after some time user connected to internet whatever user entered data at offline tho...
Hi,
Coming from C++, I had been looking for something like the 'const' keyword in java. I'm pretty sure there's no equivalent, but wonder if people use 'final' as a hint to other developers...
hello,
i am parsing a file and have a line that looks like
body{/* 1 */
i am trying to replace /*something*/ with "" so it would look like
body{
i tried
nodeStr = nodeStr.replaceAll("...
This should be incredibly easy, and I guarantee it's something simple that I "should know," and just remain ignorant of.
First off, I'm not a java developer. My company does not develop in ...
What are the merits and demerits of using Google Web Toolkit (GWT)
please provide references so that i can do some further studies....
thanks
I need to figure out how to get my Timer started, and where to put the code so it doesn't complain about being called from a static (main) context.
In the code below, the ArrayList "SEGMENT...
Hi guys,
Is there a way to make a slider Biased or 'Heavy'. What i mean by this is if you move the slider nearer the left side its more accurate then as it slides to the right side it jumps u...
when i delete my project from netbeans ( but still in hard drive), I can't reopen it by open an existing project. Please give me guide. thanks.
Hi!
i'm new in developing swing applications and now i don't know how to handle my new development. My app will display a window with a JLabel, a JTextfield and a button. When user clicks o...
Hello there,
i am trying to use Jgoodies validation features in my application.i am trying to highlight the background of mandatory component. what i did was just added one line of code in ...
hi!
i'm new to Java and i'm trying to develop a simple app that will pass from a window to another pushing a button. I'm using a JLayeredPane and added two JPanels inside, but when i show f...
Hi,
I'm trying to send a SOAP message to a remote server using the following code, but I keep getting a response saying there's an error.
Could somebody have a look through and see if th...
Hi,
i my coding it is compling. it showing run time error pls help me to solve.as soon as possible
I've written a small XPath test application that ALMOST works. I've run several tests that work, but here's one that does not:
expression=>//ElementName
This should return a list of all ...
I'm trying to convert
str = "ABCD";
into
arrStr[] = {"A", "B", "C", "D"};
I tried str.split("");
But I got an empty element in front.
-> arrStr[] = {"", "A", "B", "C", "D"};
I know...
please help me to display double type output. I know it round off, but i don't know now to fix it. Thanks.
hi guys
i have an array or codes like this
String[] codes =[a,b,c,z] .
i want to find if the above array contains the element b,
Is there a contains() method with arrays?
any idea ho...
What will happen if we run an main function inside main function?
Is there a secret to using javax crypto with binary files?
I can get it to work for text files, but with binary files, in this case .an xls file, i get back garbage.
Hi,
We have developed several projects using WebLogic Workshop. The way we deploy the projects to different environments (DEV, UAT and PROD) are by sending the source codes to one special s...
Hi,
I wanted to make a simple game for two players, in which one player also acts as the game server. So the player that initiates the game maintains all the data about the game, and the pe...