| Thread | Last Post | Replies |
|
| How to access request from LoginModule? | 16 Jul 2005 05:38 GMT | 1 |
I'm trying to implement at JAAS LoginModule to use in Tomcat, where instead of getting information such as username and password from user input, my LoginModule will retrieve some information from the request headers.
|
| MissingResourceException: can't find bundle for base name | 16 Jul 2005 04:44 GMT | 5 |
I have this code //-------------------------- try { ResourceBundle bundle = ResourceBundle.getBundle( "EUWConfig" );
|
| Managing a set of boolean flags using bitwise | 16 Jul 2005 01:29 GMT | 11 |
Bitwise operators can be used to manage a set of boolean flags. Would one bother to do so or is it simpler to just use separate flags?
|
| JComboBox width, dropdown list width | 16 Jul 2005 00:55 GMT | 11 |
Hi i am wondering if there is a simple way to reduce a jcombobox visual size (i want only to display the dropdown button). When i use jcombobox.setPreferedSize(20,20); the drop down list is also reduced width=20.. but i want that the dropdown list to be width
|
| How can i repaint my frame after adding new component | 16 Jul 2005 00:29 GMT | 4 |
i want that as choose user option from the combobox my frame shows different component with respect to the option chosen by the user in the combobox
|
| actionlistener....Cannot use this in a static context | 16 Jul 2005 00:00 GMT | 1 |
Hi! Im creating a java application that works in a JFrame. Ive put a button onto my frame called butNewType, however when I try to add an actionlistener, I get the error "Cannot use this in a static context"
|
| Propagating JavaDoc | 15 Jul 2005 22:29 GMT | 4 |
I wondered what is considered the best practice to handle the following situations. What should the java doc look like on: 1. a static method or constant that is implemented all over the place.
|
| Charset decoding and new line | 15 Jul 2005 21:29 GMT | 12 |
After doing the following: String string = charset.newDecoder().decode(byteBuffer).toString(); Will searching for a new line character using string.indexOf("\n"); work on all platforms?
|
| In praise of Java 1.5 enums | 15 Jul 2005 18:59 GMT | 25 |
I tried flipping some code to use enums that used to use int. All kinds of hard to proof read case statement methods collapsed to a nice easy to extend list of constructor calls. The big surprise came using the code. Almost nothing had to change but
|
| fop or itext for java to pdf generation | 15 Jul 2005 16:55 GMT | 6 |
Can anyone comment on the pros and cons of fop (using xml) or itext (java lib) for generating pdfs from a java programme. My requirements are to produce a "glossy" hi-fidelity brochure type pdf of approx 50 pages in length. The source data for the report will be pulled out of a
|
| java: get window position | 15 Jul 2005 16:55 GMT | 2 |
I think I may be running into a wall here, and there might not be an answer for this - here goes anyways... I am looking to write a Java Program that will tell me the coordinates of a running Windows App (EX: Internet Explorer) I think I understand
|
| MAC OS + SWING + HTML | 15 Jul 2005 16:34 GMT | 1 |
can anyone help me to solve this issue: I use JLabel and JButton and I want to have newline in the text I put in them. So I use the swing html rendering machine - you know put <html> tags and it works perfectly under windows (1.4.2 and 1.5.0 JVM),
|
| Tightening the type system | 15 Jul 2005 16:28 GMT | 19 |
Java has a goofy two-tier typing system. 1. run time using inheritance. 2. compile time using generics. yet for primitive, there is no typing at all.
|
| more than 16 significant figures | 15 Jul 2005 15:21 GMT | 32 |
Is there a way to acheive decimal numbers accurate to greater than 16 significant figures, without using BigDecimal? In PHP you can adust the configuration file to acheive greater accuracy, is there a way to do this in Java?
|
| make rollback() and throw a exception | 15 Jul 2005 14:49 GMT | 4 |
hi to everybody. tanks in advance for take some of your time to read this. ok the cuestion is simple. a class makes a transaction and throw a exception (SQLException) so, in jsp i make a instance of that class,
|