web hosting and development forums
Web Design and Development Forums Archive


Index -

JAVA programming forum


newer topics <<< >>> older topics

Pages   1  0 
the compiler can't find a jar package
Hello, i have compiled a jar package, and now i wanna use it in another program.. the problem is, the compiler can't find it, even if i put the jar file in the same folder as the .java file of the pr ...
how to have in Java the AUTOHIDING that CSharp allows?
Is there anyway to have in Java the AUTOHIDING that C# allows? For panels? ...
securityexception when trying to create a Robot object
Any pointers as to how I gain a certain privilege from an applet? I already have allPermissions, but I am still getting a securityexception when trying to create a Robot object ...
built in javac
Hey does anyone know where the built in javac went? ...
random method
Can anyone recommend a random method in java, that returns a random number between the ranges x and y? ...
signifying whitespace error
How can I get java to stop yelling at me for using \s in a regular expression to signify a whitespace? ...
what is a simple way to create a popup menu
I have a JToolBar with buttons vertical. WHen a user clicks a button a menu pops out. I would like the menu to pop to the left side of the toolbar, any simple ways to do this? ...
getting a Menu to display over a JLabel and not under it
Anyone know how i can get a Menu to display over a JLabel and not under it ? ...
how to decode character encoding used in xml and wml?
Hi all I need to decode things like ' ' (character encoding used in xml and wml), but I don't have any clue how I can do that - can anyone point me to some link or tell me how one would call som ...
problem with installation java 1 5
Hello, i installed java 1.5 from sun and eclipse ide. now my application says it needs ant-1.6.*.jar; is this already on my system or do i hae to install it from somewhere??? ...
how would i pass arguments when invoking an action manually?
Hi, everybody. i've got a design question. I'd like to use actions (abstractaction and such) in my application, but how would i pass arguments when invoking an action manually? I'll have some GUI-act ...
where maven2 / the jetty 6 plugin get their timezone from?
Hi, does anybody know where java / maven2 / the jetty 6 plugin get their timezone from? its very different from my system timezone ...
method to remove some leading blanks in front of a string
Is there a method to remove some leading blanks in front of a string? ...
problems with running a jar in a sandbox
How do I run a .jar in a sandbox just like the browser does? ...
adding generics
Hi. i'm starting to add generics to a lot of my 1.4 code. i have a utility method which takes in a container of SuperClass. i'm now getting compile errors when i pass it a container of Subclass. ...
HTTP/1 persistante connections
Hi everybody , i have one question about HTTP/1.1 persistante connections .. if i have connection to server, the connection is in state open , the server sends me the FIN packet what should i do then ...
practical reason that makes a JStatusbar irrelevant
Hello! I have a 'philosophical' question? I couldn't find a "statusbar" component. So (if I haven't been too much of a nitwit, not finding something that exists, but hopefully, it just does ...
math round function
Heh. how do I use Math.round() ? Java keeps giving me the error: DoubleTester.java:8: possible loss of precision Yeah ... if I had the api page, I could figure it out ... ...
unit testing frameworks for java
What other unit testing frameworks are there for java besides JUnit and JTiger? What's so great about testNG that makes it better than JUnit ? ...
Which package is required to install for servlet?
Which package is required to install for servlet??? And in which directory it should be placed ?? I am using SUSE linux ...
SSLHandshakeException
Hi, anyone knows what "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unab ...
Commons Email
Hello. Question related to Commons Email. I need to attach file to my email. I have Struts FormFile class, represennting file came from html form (i can get byte array of it) - but EmailAttachment cl ...
cryptographically signing .jar files
Hola Is anyone familiar with cryptographically signing .jar files? I got a free code signing cert from certum.pl, signed some code and it was fine. The cert is going to expire soon (only 3 months) a ...
testcase and non test classes
I'm being prevented from unit testing the internals of my application because I like to make things package-private if they shouldn't be used outside the package. But then tests can't test them out ...
MAPs
Any one know how MAP's work ? ...
autboxing count as dynamic typing
Does autboxing count as dynamic typing? ...
problem with JButton objects creation
If I have a class that extends JPanel, why am I only allowed to create JButton objects in the constructor of this base class and not in other methods of the class? To be more clear, creating and addi ...
common port used by java progs for common protocols
I have a question? What are the common ports used by java programs for common protocols? ...
how to replace characters in a string
How do i replace all character '&#x44b;' with 'u' in a String? Str.replace('&#x44b;', 'u'); Does nothing.. ...
problems with replying the string to the browser
Hi! i have a problem. if i reply the string to the browser without any changes, it does not work. what is that? BUT, if i do the getBytes() trick, and i store and read it from db, it does display co ...
heap size in JavaOPTS
Can you set the heap size in JAVA_OPTS to however much mem you want or is there a limit ? Ie; xport JAVA_OPTS="-Xmx4096m -Xms4096m" ...
design problem
Hi everyone, I'm having a bit of a design problem and want a bit of advice. A have a class called Product. On that class I have three functions, getById, getByName and getByDate. As the project goes ...
can make eclipse remote debugger before remote app
Hi, is it possible to make eclipse remote debugger start listening before remote application has been started? ...
setDefaultLookAndFreeDecrated to a JFileChooser
How do i setDefaultLookAndFeelDecorated to a JFileChooser? It is the only dialog with different looks. ~md5 ...
replacing special characters
How do i replace all character '&#x44b;' with 'u' in a String? Str.replace('&#x44b;', 'u'); Does nothing.. ...
remote debugger
Hi, is it possible to make eclipse remote debugger start listening before remote application has been started? ...
collection interface used to represent elments in a sequence
Can someone tell me What is the name of the Collection interface used to represent elements in a sequence (in a particular order). ...
updating of singleton work
I try to implement a singleton pattern: Therefore I have an abstract class with a static field "singelton" and an appropriate getter. Does updating of "singleton" work without a r ...
problem with applet
Hello, i have a proble with my applet. I have set a background image with a method paint, the background work, but all component like button are invisible. But they are visible when i pass my mouse u ...
JMenu and JScrollPane
Anyone seen the behaviour of a JMenu appearing underneath a JScrollPane (jdk 1.5.0_05) ...
access to the data in the ResultSet after close a connection
If you close a connection, can you still access the data in the Resultset ...
problem with the scrollplane
Hi, i have a image who is displayed on a panel when a user click on its name...i added a scrollpane... but it never displayer ...
sunjava will not run on msie 7
So anyone here a rumor that sunjava will not run on msie7.0 ...
RETE algorithm for biz rules
Anyone here use RETE algorithm for biz rules? ...
how to get current line number of a JTextArea
How do I get the current line number of a JTextArea ? ...
replacing all character &#x44b; with u
How do i replace all character '&#x44b;' with 'u' in a String? Str.replace('&#x44b;', 'u'); Does nothing.. ...
JBoss and tapestry
Anyone here familiar with JBoss and tapestry? I'm heard it's got a fairly steep learning curve *how* steep? :) ...
My own console
I'm trying to do a little console that will display error messages, I created a class Console that extends JFrame, and containing a method addMsg(msg, type); every time a message is added, i'm adding ...
Line border to bottom
I've setted a LineBorder to my JLabel but how to apply it just for the bottom border ...
UML Tool
Anyone know a UML tool which can convert my java source files to UML diagrams ...



Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com