subtle class lookup with sets.617 (8/24/2005 6:01:07 PM) comp.lang.java.programmer So, I have a situation where I have a set that has a listing of "supported" class types (See below). The problem is that, I HAVE to override the toString() method of the BigInteger in a subclass. Well, By subcl... cbongior
Parsing a Boolean expression easy?715 (8/15/2005 7:47:59 PM) comp.lang.java.programmer String testText = "\"christian bongiorno\" AND Joe OR \"Electrical, plumbing\""; I would like to parse the above text into it's 'components' in an easy and preferrably native java library fashion. I mean, I ca... cbongior
Converting between two different XML forms320 (8/4/2005 5:00:22 PM) comp.lang.java.programmer Ok, I have been tasked with converting one XML doc to another. The structures of which are radically different. I mean, to fill in the fields of XML B I need to mannually pick fields from XML A. XML B is attrib... cbongior
granting temporary private access129 (8/3/2005 5:17:49 PM) comp.lang.java.programmer So, here is the situation: Using reflection, I would like to take 2 objects and call the equals() method on their private members. Now, clearly if the code executes inside one of the objects in question, acces... cbongior
WebServices and wsdl generation025 (7/28/2005 9:27:16 PM) comp.lang.java.programmer Ok, I am utterly confused and lost. I have a class and I can easily deploy it in axis and expose public methods as a web service. The problem I am having is in the generation of a WSDL from the class. The buil... cbongior
XML parser suggestion219 (7/20/2005 3:16:37 PM) comp.lang.java.programmer Ok, what I am really looking for is a XML parser equivalently simple to another I am use to. I have used the JOX http://www.wutka.com/jox.html parser extensively. It has some limitations but nothing show stopp... cbongior
JavaMail GNUMail, Knife, Classpath and gnu.inet016 (7/7/2005 3:46:56 PM) comp.lang.java.programmer Ok, here is the deal. I am trying to install a ready to go NNTP provider for jmail. This lead me to the Knife project, which lead me to GNU mail which lead me to Project classpath which has led me to a huge pat... cbongior
Anonymous Inner class Creation513 (3/2/2005 7:01:13 PM) comp.lang.java.programmer I have recently begun to experiment more with Anonymous Inner classes (I still consider them a devils deal). However, I did come upon a situation where it was nice: JPanel myPanel = new JPanel() { public St... cbongior
Problem with swapping out panels232 (1/28/2005 10:34:50 PM) comp.lang.java.programmer I have a JComboBox and to it I addItem() 4 JPanels The idea being that I want whatever one is selected shown in a space below my comboBox Problem is, ONLY the first one I add (default) ever shows up. I can sw... cbongior
String to InputStream help needed223 (8/24/2005 4:59:39 AM) comp.lang.java.programmer Hi all, I have a String represented as an xml file which I get from a mysql db column, which is of type 'text' . I need to pass the String to a jasper reports method which has the following signature: Jasper... iksrazal(290)
subtle class lookup with sets.617 (8/24/2005 6:01:07 PM) comp.lang.java.programmer So, I have a situation where I have a set that has a listing of "supported" class types (See below). The problem is that, I HAVE to override the toString() method of the BigInteger in a subclass. Well, By subcl... cbongior(40)
Problem with swapping out panels232 (1/28/2005 10:34:50 PM) comp.lang.java.programmer I have a JComboBox and to it I addItem() 4 JPanels The idea being that I want whatever one is selected shown in a space below my comboBox Problem is, ONLY the first one I add (default) ever shows up. I can sw... cbongior(40)
Tomcat Authentication with Realms314 (7/20/2005 9:17:39 AM) comp.lang.java.programmer Hi, I've successfull configurated tomcat (5.0) to use the realms for authenticating user. Basically I have a set of roles and some security constraints for limiting the access to some pages. In my system the... roberto.riggio
what is Object.class78 (7/20/2005 1:03:37 PM) comp.lang.java.programmer java.lang.Object.class is java.lang.Class but it doesnt have methods like forName() etc then what is it, where does it come from? ... iamchenxi(4)
XML parser suggestion219 (7/20/2005 3:16:37 PM) comp.lang.java.programmer Ok, what I am really looking for is a XML parser equivalently simple to another I am use to. I have used the JOX http://www.wutka.com/jox.html parser extensively. It has some limitations but nothing show stopp... cbongior(40)
Java Management Insanity618 (7/20/2005 3:41:16 PM) comp.lang.java.programmer I've been assigned to work on a new Java development project. I have a few years Java development experience but in another organisation. I think I have started to become institutionalised and have lost my abil... javaenquirer(88)
how to define hashcode for this class?139 (8/3/2005 10:54:08 PM) comp.lang.java.programmer Hello! For example, if I want to use this class as key to a hashtable, how do we define its hashcode efficiently? I want to hash based on valueA, ValueB, ValueC. public class abc { int ValueA; int ValueB;... kaidizhao(106)
Parsing a Boolean expression easy?715 (8/15/2005 7:47:59 PM) comp.lang.java.programmer String testText = "\"christian bongiorno\" AND Joe OR \"Electrical, plumbing\""; I would like to parse the above text into it's 'components' in an easy and preferrably native java library fashion. I mean, I ca... cbongior(40)