Debugger - Goto here

449 byte By Boerkel,Thomas at 2007-11-25 16:51:56
HI!Inspired by another current topic, I would like to ask for another debuggerfunction: Goto here.Explanation: The current line is 500, so this would be the next to execute,but I want to continue at line 507, without executing 500-506. So I wouldlike to set the current line from 500 to 507. The ...

How do I step into Sun's JDK code in the debugger?

110 byte By Garrison,Meg at 2007-11-25 16:51:58
Hi,I have the src.jar mounted...what else do I need to do?Thanks,Meg

Error compiling JSP

368 byte By Ball,Garrin at 2007-11-25 16:52:00
I am using NB 3.4 RC1, and I no longer seem to be able to compile JSP filesthat use custom tags. The compiler gives and error jsp/home.jsp [1:0] File "/util" not foundwhen it encounters <%@taglib uri="/util" prefix="util" %> in the JSP. I wassure this use to work. Can somebody ...

Option level configuration

953 byte By Johnson,Lance at 2007-11-25 16:52:01
I have some questions about the different option levels that are available(i.e. Project, User, Default). I like the way when you change a defaultoption it moves it into the user level. Is there a way to overwrite thedefault options that are available? We want to add several default VMs ...

execute error

1549 byte By Steltner,Joern at 2007-11-25 16:52:02
<DIV><FONT face=Arial size=2>Hallo everyboday,</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>I open an existing project, compile the project and try to execute one servlet. Than I get the ...

XML Forte The Xerces Parser and Schemas

534 byte By djwhyte at 2007-11-25 16:52:03
After just recieving the new XML module, I thought I would give some of my XML files a play, and started to use the validation functions etc. The problem is that my XML files utilise Schema (XSD) documents which the Xerces parser included as part of the JAXP can not handle unlike the older ...

Formatting code of a package

662 byte By NetBean at 2007-11-25 16:52:04
Hello,If I hit, cntrl+shift+F in the editor then netbean formats my code.But this feature gets unavailable when I select a directory in the explorer. why?I have asked all my team members to use tabs as 4, convert tabs to spaces whensaving but sooner or later someone breaks this.Now I have to go ...

nb 3.3.2: VSS refresh period bug?

331 byte By ulrich.luebke at 2007-11-25 16:52:05
Hi,I've got a VSS Filesystem mounted and it seems value for the "Refresh Period" in the "Customize" dialog never persists a session and is always reset to 15000.I even tried modifying the value in the xml-file but it still defaults to 15000. Anyone else noticed this?Ulrich ...

JavaCC support

176 byte By Ey,Christian at 2007-11-25 16:52:06
Hi there,I want to develop a parser w/ JavaCC. Is there Netbeans support for .jj files and their build process?Thanks!CU, Chris

Web Modules?

579 byte By Boehrer,Tracy at 2007-11-25 16:52:07
It's quite possible I have missed something.... but what exactly is the extent of the Servlet & JSP support in Netbeans? i.e., I can add a Web module, and proceed to add Servlets or JSP pages, but the IDE doesn't seem to manage much. That is, at deployment time, the class files are not ...

Web services acceptance criteria tests

287 byte By vaishaliRIt at 2007-11-25 17:03:49
Hello ExpertsDoes anybody have the list of tests to be carried out to test that Web server & other servers working properly.bascially acceptance test criteria for web servers.any link to poiting to some useful document will be good.RegardsSP

Soap Messaging and Proxy host settings

315 byte By deevee at 2007-11-25 17:08:22
Hi,I have been trying to implement a simple soap client using the JWSDP 1.3. I get the following error:java.net.NoRouteToHostException: No Route to Host Connect.Can someone help help me with this and also tell me how I can configure the proxy host settings?Thanks.DV ...

[java-tools-general] Can't uninstall Forte for Java 4.0

668 byte By GerryReno at 2007-11-25 17:12:01
On Win 2K Pro I successfully installed Forte for Java 4.0 CE sometimeback and have not used it for over a year so I want to remove it. WhenI go into Add/Remove Programs and try to remove it a tiny error messagewindow pops up and says: "The JVM is not valid". And it refuses tolet me uninstall ...

help please: Problem to run the JWSDP sample code.

783 byte By xml_toolkit at 2007-11-25 18:05:51
I got the following errors when I try to run the example GenDetached.java came with the SUN WEB Service Development kit. Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/org/apache/xml/security/c14n/InvalidCanonicalizerExceptionat ...

JDK1.4.1_01

159 byte By Dior_Lam at 2007-11-25 19:16:33
Do anyone knows where can i download this JDK1.4.1_01? Alot of people recommend me the J2SDK but what i want is only JDK1.4.1_01.From Dior

Great Opportunity for surfers to earn in dollars:)

375 byte By nitin_221222 at 2007-11-25 19:19:19
Hi Friends,There is a great opportunity to earn money while surfing net and earching google.Its true. You can earn lots of dollars.Just click the link below and start earning. You just have to open an account for it. And that is it. Start earnig:)The link which makes you earn money in dollars: ...

JWSDP, JAXRPC and SWA Security Profile

131 byte By rpiccio at 2007-11-25 19:19:51
Anyone knows when will be supported the SWA Security Profile (SOAP With Attachments) in JWSDP working in JAXRPC mode?

Problem with migrating web-application from iPlanet 6.0 to Sun ONE 7

1290 byte By Jan_Vandezande at 2007-11-25 19:29:57
Hi,I have an application running on iPlanet 6.0. The application has to be migrated to the Sun Java System Application Server 7. Fore that I have downloaded the developers edition "Sun Java System Application Server Standard and Enterprise Edition 7 2004Q2 Update 2 ".I used the "Sun ONE 7.0 ...

Developing ejb session beans in WSAD5.1.1

85 byte By radhakishna at 2007-11-25 19:34:32
Can anybody give process document to develop session beans in WSAD5.1.1

Help with an old program

565 byte By pacolps at 2007-11-26 12:06:10
Hi I currentl study Java at my University and we are studying sockets and I'm trying to learn more so I searched and got the code in this page (a forum here) I tried to use it but it won't work, it has many errors, mostly I think it is because I don't have the com.rr4 package, does anyone ...

keeps finding a "Object" not the real type.. I am really lost.. :D

7713 byte By bronze-starDukes at 2007-11-26 12:06:39
The calls to other objects work fine, I have testing all of them.. but! when I compile I get a error about finding a "object" type and not a String type atfor(String blackStone : blackUnits.keySet()) { if( getSetLib(blackStone) == 0 ) { removeSet.add(blackStone); }} }this is the whole ...

error message...help please

218 byte By bronze-starDukes at 2007-11-26 12:06:52
I keep getting an error message that says "several java virtual machines running in the same process caused an error"For this reason...I can't run the basic java. Please someone help.thanks

Minimizing paintComponent () Work - Optimizing Performance

1414 byte By bronze-starDukes at 2007-11-26 12:06:53
Hi all,I am attempting to optimize a java 2d game I have been working on by reducing the amount of times my entire paintComponent runs.I have a JFrame with a custom component drawn ontop that contains all of my games graphics.My problem arises when the paintComponent method is called something ...

How to create midlet license copy

195 byte By bronze-starDukes at 2007-11-26 12:06:54
Hi,I want to give jar file to one of our client. But I am giving him permission for installing it on only one phone.How can I check that, he can't install it on other phone.

Solaris 10 installation

242 byte By bronze-starDukes at 2007-11-26 12:06:55
I downloaded Sun Solaris 10 and when i installed into my desktop it prompted me that Solaris media cannot find the screen device driver of my desktop and it stopped. My display card is SIS6326. Pls advise thanksRgdsDaniel

Programmatic copy to a native app?

789 byte By bronze-starDukes at 2007-11-26 12:06:56
Hi,I'm wondering if it would be possible to do the following, and how anyone might recommend doing it: In a Java app, have a method that would copy the text in a JTextArea to the system clipboard, switch to another currently running, non-Java application, paste the text into it, and then ...

Problems correctly displaying web page in JEditorPane

460 byte By bronze-starDukes at 2007-11-26 12:06:58
I am trying to pull an rss feed page into my application, but the resulting image is not quite right. Is there another component that I should be using? Currently, I am using the following code to display the page. Please note that this is a php generated page, if that makes a ...

C++ start jvm question

1079 byte By bronze-starDukes at 2007-11-26 12:06:59
I'm using win32, msvc++ 6.0:#include <jni.h>#include <stdio.h>int main() {JavaVM *jvm;JNIEnv *env;JavaVMInitArgs vm_args;JavaVMOption options[2];jint res;options[0].optionString ="-Djava.class.path=.";options[1].optionString = "-verbose:jni";vm_args.version = ...

Form Feed escape sequence

270 byte By bronze-starDukes at 2007-11-26 12:07:00
Every escape sequence is having a meaning in java./r for carriage return, /n for new line, /b for backspaceBut I am confused what is the purpose of /f form feed.what does the term 'form feed' means.Thanks in advance for your replies.

main static error

1110 byte By bronze-starDukes at 2007-11-26 12:07:01
a complete noob to programming so go easyimport java.util.Random;public class RollTwoDice{public static void main( String args[] )private Random randomNumbers = new Random();public int getSides(){return 6; }public int roll() {return (1 + randomNumbers.nextInt(6)) + (1 + ...

How to call a workflow form a JSP?

361 byte By bronze-starDukes at 2007-11-26 12:07:02
How can we call a workflow from a JSP?a) Through click a link in JSP.b) Calling it form JSP scriplet conditionally.Can anyone give me example?for example, I have a custom JSP (contract.jsp), where I perform some updations and I need to call a workflow form that JSP, which will perform some ...

JDBC-ODBC Bridge, Swing Components

9180 byte By bronze-starDukes at 2007-11-26 12:07:03
This program displays information from the Access database Autos.mdb.Uses the JDBC-ODBC Bridge.Requires a DSN called Autos pointing to Auto.mdb I am using the swing components and can't seem to set up my combobox to pull the right data which doesn't display any of the data from the database. ...

Vector and HashMap Problems

4334 byte By bronze-starDukes at 2007-11-26 12:07:04
Hi all,I had this problem for a week, I tried to build a algrethem that store datas counting every 2, in another words, I want to group two things together, I made a testing program, using vector to store the two strings, and then put it into a HashMap, when I print out I always get below, ...

Help Regarding Emoticons....('',)?

756 byte By bronze-starDukes at 2007-11-26 12:07:05
Hello to all experts,I need some help regarding my Chat program...Can anybody should tell me how to access Emoticons images from a particular destination or source using a java code....Or Is there any way to access that emoticons using XML file...so that it will then read from a Java ...

cmp bean deployment problem

626 byte By bronze-starDukes at 2007-11-26 12:07:06
HelloI m getting the following error 'ConcreteImpl is not abstract and does not override abstract method 'my abstratc method is select Object(p)from IRCandJobEduSrchBean pwhere p.candidateId = ?1and p.jobSrchId = ?2& is define in Home & Bean likepublic Collection ...

JtextArea problem

1317 byte By bronze-starDukes at 2007-11-26 12:07:08
I have a GUI interface in swing.i have a button on it .on click of a button i do the following as action performed.JTextArea1.setText("some text");Problem:--Now , i shall run a remote scriptin a unix machine and will get the String output as a return value into my GUI java program .I wish to ...

File compare

516 byte By bronze-starDukes at 2007-11-26 12:07:10
Hi All,i'am a java beginer.can sombody help me ob this,step 1:I need to go to D drive and locate a particular notepad.step 2:and in that notepad i need to find out how many #6666-666 exists?step 3:now i need to go to C drive and locate a particular notepad.step 4:and in that notepad i need to ...

ip address

69 byte By bronze-starDukes at 2007-11-26 12:07:11
how i get ip address from remote pc through jsp . give example

why require cap file why not only class file as in java

91 byte By bronze-starDukes at 2007-11-26 12:07:13
why do we convert .class to .cap file why not simply load the .clss file to the card

RecordSet GetArray()

961 byte By bronze-starDukes at 2007-11-26 12:07:14
I am a beginner with using java with databases, so help would be appreciated.I am tring to convert one of my ResultSet columns into an String[] array, but I keep on recieving the following sql error: "Feature not implemented"I am using a MySql database.-My Code-public void getAllItems(String ...

problem with userdefined Exception

720 byte By bronze-starDukes at 2007-11-26 12:07:15
hai,I am writing a code using userdefined exception ,which isimport java.lang.*;class NoMoneyException extends Exception{public NoMoneyException(String message){super(message);}}public class Mega {public static void main(String args[]){int balance=200,withdraw=300;if(balance<withdraw){throw ...

Difference between jdk1.3 and jdk1.4 and jdk1.5

288 byte By bronze-starDukes at 2007-11-26 12:07:17
Hi All1: I wud like to know the difference between jdk1.3 and jdk1.4 and jdk1.5. I could not recoginze the correct answer for this.. mostly i need the added advantages for version of JDK..2: I wud also like to know difference in J2SE and J2EE.Thanks in advance

Java classpath with Environment variable..

399 byte By bronze-starDukes at 2007-11-26 12:07:19
Hi,I need to start an Java application with an Environment variable(EV) as class path.Ex:I have an EV APP_PATH =c:\myappso i will give java -cp c:\myapp, instead of doing like this I need to give APP_PATH in the java -cp<EV>.I gave like this java -cp %APP_PATH% and that doesn't work...Is ...

How can i install the JBI module into NetBeans IDE for Development of SE

220 byte By bronze-starDukes at 2007-11-26 12:07:20
Hi, i have a little idea on JBI .now i wanna develop small SE with NetBeans IDE. how can add JBI modules into NET Beans and how todevelop SE.any one can give some explanation.Thanks in advance

Downscale when printing

1273 byte By bronze-starDukes at 2007-11-26 12:07:21
Hallo,I'm using the following simple code for printing:public void print () {Toolkit tk = Toolkit.getDefaultToolkit();PrintJob pj = tk.getPrintJob (new Frame(), "", null );if (pj != null) {Graphics g = pj.getGraphics();if (g == null) {JOptionPane.showMessageDialog(repFrame, "Printer not ...

Page navigation within tabs in JSF

484 byte By bronze-starDukes at 2007-11-26 12:07:25
How can i navigate to another page within a tab in JSF?I am using html div tags to put tabs on my page. Now i want to click on a link in page1 under TAB1 and move to page2 under TAB1.How can i achieve this?I have defined the page navigation rules in faces-config.xml but it does not work. Even ...

how to split a html page without frames and display random questions

452 byte By bronze-starDukes at 2007-11-26 12:07:26
1) In my online examination application i need to display timer at the top of the page. even if the userscrolls down the timer should be visible. is there any way to do this without frames.2) questions are displayed randomly for each user. iam using rand() function to retrieve the questions ...

calendar help

87 byte By bronze-starDukes at 2007-11-26 12:07:27
does anyone know if there is a possible to count the weeks in a calendar? thanks

where do these variables store

108 byte By bronze-starDukes at 2007-11-26 12:07:28
while creating java applet , when we declare variable where do these variables store in RAM or EEPROM

help with circle testing on a grid... ?

658 byte By bronze-starDukes at 2007-11-26 12:07:29
If someone with a strong math background reads this, could you possibly provide some guidance here...?I am testing billiard balls for possible shots into pockets. The user defines where the balls are on the table, and the pockets coordinates are also predefined. The balls are 24 pixels in ...