Coding Is Art

Find The Best Answers To Your Java Coding Problems

java - How can I avoid code duplication with many small classes?

java - Eclipse commands

java - Fast circle collision detection

java - EJB3 - handling RollBackExceptions

java - JSP socket only sending string once

java - Eclipse still using http.proxyHost settings when no longer set

java - How to find unit tests not part of any suite?

java - Manipulating Hibernate 2nd Level Cache

How do I pass a Java object as a parameter to a MATLAB function?

multithreading - How do you repeatedly call a Thread in Java?

Java Dynamic Proxy without a target object?

java - Increasing Heap size for SQuirreL SQL on Max OS X

java - Using hibernate criteria, is there a way to escape special characters?

Context help for Java API & language in NetBeans

java - How can I provide a Jacl package from the classpath?

amazon ec2 - Java Web Starter AMI

java - Applet to view Word documents

java - Run CMD equivalent in OSX?

java - Help me run this netbeans quickstart program

java - Use of ajax to call JMS

Reset timer in Java

compiler construction - Compile to java bytecode (without using Java)

Saving a XML-Document in a Database (Combination of Hibernate and JAXB) in Java

java - How to change timer format

jakarta ee - Can Java Code tell if it is in an App Server?

java - Using an enum as a mapkey results in a RAW in the database

java - Hibernate Detached Criteria

config - Can someone help me with a java reference file at same level as jar for my homework?

Java Map equivalent in C#

For what reasons do people choose Ruby over Java?

jaxb - Role based or shopping cart style Java bean binding?

java - How would I map this Delphi function with JNA

Java Swing ActionMap keys

calendar - Is there a CalDAV client library for Java?

java - What's the point of JAAS

java - How to get the last value of an ArrayList

java - Using variable name as array index

java - How can I read an HttpServletReponses output stream?

java - My JBoss server hits 100% SYS CPU on Linux; what can cause this?

java - How to install Apache Ant?

multithreading - How do you kill a Thread in Java?

java - mechanism in eclipse RCP

Java indexOf returns false for unfound string?

mysql - How should I sanitize database input in Java?

Merge Two XML Files in Java

java - Modify HttpServletRequest body

Running Java bytecode on the Android - Sun JVM on top of DalvikVM

java - (network sockets) bytes stuck in Send Queue for 15 minutes; why?

java - Exposing multiple objects with RMI in Spring

jdbc - Retrieve column names from java.sql.ResultSet

jakarta ee - Open source survey/questionnaire engine for Java

java - How to select nodes in Netbeans Visual Library?

java - Explain the generics used in the Enum declaration

java - Maven2 & Swing projects: Build & run swing application

java - read file in classpath

java - Multi-Dimensional Arrays

grails - Valid Java code that is NOT valid Groovy code?

winapi - Best method for a Java app to access a windows process, and send commands

java - How to generate simple 2D graphics in real time?

syntax - In Java, how can I get user input in a console in a curses-like manner?

audio - Changing volume in Java when using JLayer

Insert Image into Excel - Java

java - Give an Executable Jar a Custom Image

java - How do I drag & drop files into a JTable?

command line - Getting the Invocation Name Used in Java

How do I see if a substring exists inside another string in Java 1.4?

java - How to organize packages (and prevent dependency cycles)?

java - Macbook Security Alarm Task

java SWT: how can I draw a widget to an offscreen buffer

How to use a bitwise operator to pass multiple Integer values into a function for Java?

java - hebrew appears as question marks in netbeans

java - transparent batching remote calls in dwr

java - What methods and interfaces do you (almost) always implement in classes?

The drawbacks of annotation processing in Java?

Common Java memory/reference leak patterns?

regex - How can I match a repeating pattern with Java regular expressions?

java - Why does heap space run out only when running JUnit tests?

java - How can I setup my BlazeDS implementation with Log4J?

java service and resource sharing

java - How to handle multiplication of numbers close to 1

How can I have a download file option in JAVA Swing?

java - PreparedStatements and performance

java - ORM: OneToOne mapping on Non Primary-Key Join column - Book and Inventory mapped by ISBN

How does Maven know where to find Java 1.5

java - OSGi bundle's package structure

java program to divide an image file into 4 parts

Java Application Architecture Guide

java - Writing a cleaner and more modular command-parser

Persistent data structures in Java

tomcat - java.lang.OutOfMemoryError: Java heap space with NetBeans

hide non-exists variables in Eclipse java debugger

java - Object Validation

java - Calculating volumes of hollow three dimensional geometric objects

java - In my application, why does readInt() always throw an EOFException?

java - Compare JSF implementations

java - The device is not connected exception

java - Quick Swing question: Need to shut down my database on close

java - In Struts, where should the computations reside?

How to send JSON back with JAVA?

performance - Counting the number of files in a directory using Java

http - Framework for Java RPC server

java - What are the correspondent of Servlet and Applet in .NET?

java - Do you plan to use the Scala programming language and on what project?

c# - Implement a custom COM interface in Java

java - Read from file in eclipse

email validation - validating mailto links in java

java - how do I get the position in a scanner after find?

java - Help with knowing which button number was pressed

java - Getting Bundle [] in Eclipse of all the bundles

java - Refresh JPanel

concurrency - Java concurrent recursive website download

Why not always use ArrayLists in Java, instead of plain ol' arrays?

java - Plugin GMF

programming settings of a software using java

java - Android - Activation of the system key lock (aka lock screen)

java - How can I return the generated keys to JDBC from a DB2 stored procedure that does an insert?

How to add external jars in batch file in Java

java - Can classes of same package spread across multiple Jar files?

java - Use an existing KerberosTicket to Bind to Ldap and search for users attributes

c# - What are real world examples of when Linked Lists should be used?

java - How can I sort a List alphabetically?

java - struts2 Tiles - getting error while executing

efficient java object graph serialization

jsp - Java Graphing Libraries for Web Applicattions?

jar - Problem running Java application

java - Swing component flickering when updated a lot

Java servlet filter not working on login

java - is it possible to zoom/scale font size (and image size) in JEditorPane

java - Accessing resources locally in an applet on IE6

java - Why the jsf view is not updated after new data in the backing bean are loaded from database?

java - Committing binary files to SVN

What is the best way to import xml to a database (using java)

regex - Applying a regular expression to a Java I/O Stream

Best way to implement the Factory Pattern in Java

java - Why can't I update my J2ME RecordStore?

java - Avoiding parallel inheritance hierarchies

Optimize memory usage of a collection of Strings in Java

java - Logging complexity and concern about MessageFormat performance

java - portlet 2.0 (jsr286) development with spring

java - Using Object.wait(millisec) to simulate sleep

java - Disable Struts converting HTML tags into entities

java - How to have 2 collections of the same type in JPA?

java - How to use Oracle jdbc driver fixedString property?

Eclipse: copy the Java Build Path to a different workspace

java - Embedding Silverlight app in an Eclipse RCP

java - Explicit nulling

android - Recursive data processing performance using Java and SQLite

java - Converting a Stripes application to use Friendly URLs

"Premature end of file" error when Java read and writes XML data files

java - Do you have Flash or flex or jQuery header animation like this url site

A quick way to solve

Java tcp socket server with j2me client socket

firefox - Java: "Control" External Application

raii - Is C++ like resource management possible in Java

memory management - Object Pooling in Java

c# - How deep would you expect the immutability of an immutable list to be?

java - Android coverflow

java - What is the purpose of "Container c=getContentPane();" in Swing?

c# - Impossible to use WSDL definition

Eclipse 3.4.2 compiling Java 1.6 on Mac OSX

parsing - What's the best tool for generating a parser in Java for my own language grammar?

Array or List in Java. Which is faster?

user interface - Best programming process for creating a graphically-complex Java Swing Application?

java - Where to stop/destroy threads in Android Service class?

java - Lucene Javadoc package

java - How to make a midlet from source?

Java Keylistener without window being open?

eclipse - Java refactoring tools

java - How to transition from embedded software development to web development?

java - Swing: How do I set a component height to the container's height?

java - Why isn't my @BeforeClass method running?

graph layout - Java implementation of planarity testing/planar embedding

java - splitting arrays

java - LinkageError JAXB 2.0 -> 2.1 (Tomcat)

java - Netbeans IDE problem on MacOSX

java - How can I run a Maven webapp in Eclipse when I use profiles to populate properties files at build time?

java - Thread dump not getting generated on JBoss

Hibernate, iBatis, Java EE or other Java ORM tool

audio - Mixing Sound in Java?

refactoring - Strategies for migrating medium-sized code base from Java 1.4.2 to Java 5

java - How does spring framework assist in application development?

serial port - CRC calculation in Java

java.lang.NoSuchMethodError: java.util.Properties.load (huh? why?)

Get mode value in java

performance - Adding many frameworks to a Java application - will it have any negative side effects?

java - Is it possible to perform checks on what may be an uninitialized variable?

java - Apache Cocoon JAR configuration - I want to use .class files !

java - Why the awkward Design of System.out?

installanywhere - How to monitor the installation process through java program?

icedtea - Why does IcedTea6 not compile Java 1.5 specific code?

java - Instantiating an inner class

Java Command line arguments

Java serialization over network

java - Image comes up as just a grey square when added to JPanel

java - Running .exe files in Mac OS X

Java (Swing) - Drag two windows at once

java - Quartz scheduler not displaying Log4j messages

Java: HTTP Post to create new "Product" in a Ruby on Rails application

java - Applet loading problem with Win2003 Terminal Server

java - JavaDB connection issues; database not found

java - "cannot find symbol variable VK_NEXT"

java - How to redirect NullPointerExceptions in Struts?

java - Using jetty to install and run servlet tests programmatically

java - Using dependency injection in a library

java - How do I pass a variable from one Thread Group to another in JMeter

active directory - Detect user logged on a computer using Java

naming - Max name length of variable or method in Java

java - Find out number of bits needed to represent a positive integer in binary?

java - design of a Producer/Consumer app

Character Encoding Trouble - Java

Java and MySQL date problem

connecting to database through network using java application

java - HPjmeter-like graphical tool to view -agentlib:hprof profiling output

java - JVM crashes when trying to connect to Oracle using OCI

multithreading - Java: synchronizing threads across multiple servers

java - Struts2 Tiles - how to implement?

java - JSTL format tag?

java - Simple Spring, use of ClasspathApplicationContext for standalone apps, how to reuse?

java - Formatting orb tags in MVEL

java - How to get JSP scriptlet value in struts tag

java - How can I run a servlet programme?

java - Applets and JDBC

uniqueidentifier in Sql Server database - how to generate in Java environment?

c# - Renaming files the same way again and again

java - Using NIO DatagramChannel will I need to handle partially read/written packets?

Does Java's floating point implementation still have the problems identified by Kahan?

java - Process the file before uploading it

java - Implementing a matrix, which is more efficient - using an Array of Arrays (2D) or a 1D array?

java swing program with multi lingual support

java - In Documentum 6.5 my TBO's are being triggered even when the document is a template

java exception chaining question

java - Please confirm that this XMPP code is not threadsafe

Calling a default servlet first in Java web application

java - Shape at "Actual Size"

java - Best method to create a new instance based on precondition

What is faster- Java or C# (or good old C)?

java - Handling logins to a XMPP server via servlets

java - How to best execute a set of methods even if an exception happens

java - XML for Web Service: inline attachment

java - JTable - drag and drop

swing - Java Event Binding

Tool to remove unnecessary dependencies in a Java project

Gets byte array from a ByteBuffer in java

java - How to share log4j library most effectively

java - Comparing elements in a generic list

java - Class Cast Exception when trying to unmarshall xml?

java - Running a JUnit test from Groovy Console

java - Annotation member which holds other annotations?

java - How to get correct encoding?

Java Annotations not working

math - Does an open-ended interval implementation exist for Java?

add xml:base to xml file in java

Regarding HotSpot optimization in Java

regex - ANTLR Grammar for Java Regular Expression syntax

java - JSF: Backing Beans with nested objects?

overloading - Java Overloaded Methods

c# - Synchronizing on shared data structure

In eclipse for java Is there anything like Visual Studio Custom Debugger Visualizers

java - Documentation not visible in Javadoc

hex viewer/editor GUI component for Java Swing?

stop while statment with messagebox java

java - Unhandled exception on trying to create JAXBContext (Jaxb 2.0)

Java Main Method, Good Coding Style

What's the equivalent of C's "static" keyword in Java?

java - Model View synchronisation (or avoiding synchronisation)

google maps - GoogleMaps API in Java

java - Can I from a client detect which EJBs the current user is authorized to use?

Adding an image to a panel using Java AWT

java - PriorityQueue/Heap Update

security - Sandboxing Java / Groovy / Freemarker Code - Preventing execution of specific methods

Best resources for a Java developer working on .NET solutions

flash - SWFUpload Examples/Information and Java

java - Finishing details on a JUnit 4 dynamic suite

java - How do I make an http request using cookies on Android?

java - Running Ant with JDK 1.6 on Mac OS X

java - Is there any way to speed up the Selenium Server load time?

java - How do I copy a two dimensional array of strings?

java - Simple portlet jsp page flow question

What is the default scope of a method in Java?

java - Cannot Serialize/Deserialize ArrayList

Java embedded applet page security, how to meet requirements?

java - struts2 <s:select...> tag

What's an example of Java functionality that I could add to a JRuby/Rails project?

generics - Java field type for a value of a generically recursive self-type?

unix timestamp - Getting "unixtime" in Java

java - The simplest way to comma-delimit a list?

java - Ensuring method is called

java - How to capture the result of a system call in a shell variable?

java - How to handle translation of UI widgets in a massive project?

java - how can i fetch combo box value into my DAO using struts 2?

automation - In Java, what command line makes the computer click on the screen?

java - Partial bean serialization and deserialization+merging

How can I open a file using java stored procedure

clr - Problems porting Java to J#

in Java: programmatically determining addresses of C/C++ variables given a COFF/ELF/DWARF executable

java - JSF 1.2 Custom Component - Body Content From Backing Bean

java - Creating multiple log files of different content with log4j

java - EJB and FLEX

java - How to convert a 3D point into 2D perspective projection?

java - Why wont my JFrame hide?

java - Objects of session and request

java - Can't find ports with javax.comm api

java - How to display data from txt file in specific format

objective c - What's the best way to implement a Java-like ByteBuffer in Obj-C?

layout - Working with frames and Java AWT

java - Anonymous vs named inner classes? - best practices?

algorithm - Lossless JPEG Rotate (90/180/270 degrees) in Java?

java - memcached Monitoring

java - External javascript character encoding on Webshpere

java - UTF-8 and Servlets on Tomcat/Linux

reference - Should Java method arguments be used to return multiple values?

java - Can I dynamically unload and reload (other versions of the same) JAR?

Android java.lang.VerifyError?

java - <?> vs <T>

regex - What is the best way to screen scrape poorly formed XHTML pages for a java app

java - Which approach is better to load a JDBC driver?

sql - Using a UUID as a Database Primary Key, Java type is a byte[]

Java Webservice and .NET client dropping DateTime objects

java - How to use Ant?

java - Generating Jena Bnode IDs

networking - How to measure response-time of network using Java?

java - display series of images with next button

java - Fetching webpages through https

java - Equivalent of LastCall.IgnoreArguments in EasyMock

web applications - Java Memcached Client

jvm - Preloading java classes/libraries at jar startup?

multithreading - Is a Java socket's PrintWriter thread safe?

java - Regular expression for excluding special characters

HTTP URL Address Encoding in Java

audio - playing wav file in java - how do I extend or concatenate the sound played?

javax vs java package

java - Eclipse Servlets take a long time to update

security - Storing username/password on Mac using Java

java - Exposing a function to other processes

java - "SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found" when using Batik in a webapp on Tomcat

In a Java interface, how can I *not* use one particular method inherited from a parent interface?

java - Using Excel templates with Apache POI

Polymorphism or Inheritance in JSON with Java and Ruby

serialization - Java StreamCorruptedException

java - Would you consider Terracotta to be a mature product?

java - Can an include file call a function from another include file?

How can we open multiple IE instances while testing web appl. with selenium RC and java in eclipse?

java - Create a single jbossall-client.jar bundle in JBoss 5.0.x?

java - Terracotta + Compass = Hibernate + HSQLDB + JMS?

java - Message Driven Bean Selectors (JMS)

java - Regarding Terracotta and Servlets/ Shared Threads

java - Android MediaPlayer URL's with Cookie

cocoa - MVC and Java in comparison with more strict MVC languages

java - FindBugs filter file for ignoring JUnit tests

java - Use GZIP, JSON responses and JQuery

Java XML parsing

java - Where is the servlet jar file on JBoss 5.0.1?

python - Django admin style application for Java

java - Issue with Jama's Eigenvalue decomposition function

Initialize final variable before constructor in Java

java - How do I throw an Exception from the caller's scope?

java - Launching a desktop application from a web site

java - Hibernate : Best way to delete elements in a collection

java - How do I get dbunit to play nice with MySQL enum data types?

java - SWT Syntax highlighting widget

Is there any square root function more accurate than java.lang.Math.sqrt(double)

java - Class in buildpath-jar still not found

java - Writing long test method names to describe tests vs using in code documentation

java - What to pass to the Arrays instance method toArray(T[] a) method?

java - Joining Information Across DB2 and Oracle Databases Best Practices

jakarta ee - Customizing login procedure in a java web application

java - Searching For Non Final Static Variables in Eclipse

java - Blocking Graphics.drawImage

sql - Java -- Exception must be thrown, but how?

How to make a Java client for a WCF service secured with X.509?

java - How do you remove rows after changing the item in a JPA OneToOne relationship?

How do I convert a decimal fraction to binary in Java?

python - Preserving the Java-type of an object when passing it from Java to Jython

profiling - How to compute accurately the time it takes a Java program to write or read a file?

How can I check if I have that java 6 plugin 2 for applets installed?

java - Swing component prints text differently than it displays it

Is there an existing library method that checks if a String is all upper case or lower case in Java?

How to override a java method from groovy

java - How can I read files in my WEB-INF directory?

arrays - Best way to store Country codes, names, and Continent in Java

java - Entitymanager causing memory leak?

java - Restricting a SELECT statement in SQL Server 2005

java - Managing multiple Google Web Toolkit pages in 1 Project

Java annotations

Hierarchy & data structure in Java (or XML to Object conversion: best practices)

java - Tools for coding conventions and analyzing HTML, CSS, Javascript client side code

java - No response in Eclipse: File ->Import->Existing Projects into Workspace

Java:Why http session is not destroyed when tab or browser is closed?

Concurrent file write in Java on Windows

java - Eclipse keeps running my old web application

java - Sharing serial port (Modem protocol + dialer)

java - kodo/jdo/FatalInternalException?

java - Synchronizing Jena OntModels with bnodes

Where can I find a set of Java test programs with injected errors?

java - How to resolve WSDL2Java creating a static block larger than 64K?

inheritance - Sticky situation where accessing parent functions is necessary in Java

Rhino: restrict Java packages that can be accessed from JavaScript

networking - Java Network Programming. Question about sockets

multithreading - How does synchronized work in Java

java - Server and Client using Sockets

java - What is your experience with GWT?

xml - MSXML parser in Java

C# client connecting to a Java server over SSL

java - scrollPane remains gray randomly when it should display editorPane (html)

How to walk through Java class resources?

java - RMI/Exception handling in a custom JVM

Can java call a script to restart java in solaris?

java - Setting the mouse cursor for a particular JTable cell

java - I've got a road on map. How to convert it into a function?

java - load ActiveX object in Applet

exception - Java BrowserLauncher throwing InvocationTargetException

java - jgoodies bindings + indirect changes

destructor - How do I cleanup an opened Process in Java?

immutability - Downsides to immutable objects in Java?

what happens in a java jvm executing legacy code, which was invalidated by a language change

java - Make URL Request from Servlet and retain Header information

build process - Handling different API versions in same Java source

Knowing C++, how long does it take to learn Java?

java - How do I use generics with an array of Classes?

java - F5 irule with RESTful services

java - How to link to a package but only optionally execute an action based on existence/availability of package at runtime?

java - Why is this simple applet using up >50% of my CPU?

java - Find if an SQLException was thrown because of a duplicate

java - What jar should I include to use javax.persistence package in a hibernate based application?

java Swing debugging headaches with Wacom pen tablet

How to use PEM file to create a SSL socket in Java?

How to obtain a Java stack trace from a client running under web start?

programming languages - Why does Java main() method accept an array of String args?

htmlunit - Java Object "cannot be dereferenced"

multithreading - `Monitor cpu usage per thread in java?

java - Regular expression to match strings enclosed in square brackets or double quotes

java - implementing interfaces after the fact

java - How long is the request queue on a Vista-system?

java - Reset/remove a border in Swing

java - Should I use DataInputStream or BufferedInputStream

client - Server disconnects in Java

Java UrlConnection HTTP 1.0

java - Is there any alternative to JTable, that is free and better?

java - Refactoring classes that use global variables

datagram - Is this statement correct in java?

java - jdbc connection using thin driver

c# - What language do I use for my project?

jdbc - MYSQL & Java Applet

java - Using AesCryptoServiceProvider in VB.NET

java - How to get the next hub

java - "Spotlight" like component for Swing?

Creating a "logical exclusive or" operator in Java

java - Two-way relation in JPA

Do .NET GUI components support HTML (like Java swing does)?

linux - How to "walk around" in the File System with Java

java - Multiple Footer Rows in a JSF dataTable

Persist java.util.Properties as serialized object using JDO/DataNucleus

monitoring - Get heap dump from a remote application in Java using JVisualVM

java - Does the Sun JVM slow down when more memory is allocated via -Xmx?

java - How can you alter the margins in Nimbus Look and Feel

How can I unblock from a Java started process?

java - jsp get ip address

java - How to override method to invoke superclass' superclass method?

java - Strange behaviour when accessing Oracle 8i table from servlet

process - How can I re-spawn a thrift server in java after an exception?

Java Netscape LDAP Delete

logging - How to get java Logger output to file by default

java - Create Weak Multimap with Google Collections

java - Why doesn't my Ant master build file work properly?

how to access a mySQL enum field with Java ResultSet and PreparedStatement

Java Applet starts up very slowly for some users?

java - Is it good to use printStackTrace() in swing program?

java - How to display japanese characters in JTextArea

types - Convert a double to a String in Java and vice versa without losing accuracy

java - How to efficiently unpublish all datas from a particular user on a blogging application?

inheritance - Java composition question

java - How to implement generic test for RMI connection, J2EE services?

SSL socket php code needs to be converted to Java

How to embed java application into a jsp page

.net - Which SOAP XML object serialization library for Java would you recommend?

What is the memory overhead of an object in Java?

java - How can I enclose a component with another container at runtime?

Is it possible to add more than 500 components to a panel at runtime in Java?

Good Java community and resource

user interface - How can I create a Java Swing app that covers the Windows Title bar?

How do you open web pages in Java?

xml - Java: Traversed Tree to Tree

Rails flash messages in Java

java - xmlbeans - set content of a complex type

java - In the JDK 1.6 compiler, what does "-source 1.6" enable, if anything?

java - generate all 3*3 two dimentional arrays

java - Why is the Sybase JDBC driver "eating" the exceptions?

java - Getting Ant <javac> to recognise a classpath

java - Spring MVC web app i18n

Date arithmetic in Java, adding 3 months from today

java - How to fix a Resource not Found error in OC4J?

java - Classpath validation in ant

debugging - How do I retrieve the name of the lowest subclass from the context of the superclass in Java?

java - How to determine if a file will be logically moved or physically moved

java - what is the easiest way to convert / map a JSON string to a javabean?

tomcat - Detect user logged on a computer using Java web app

java - Since today, I cannot access netscape.javascript.* classes within Eclipse

jsp - What do I need to learn to build a web app in Java?

java - How to convert an ArrayList containing Integers to primitive int array?

Porting a comparator from C# to Java