query
stringlengths
12
150
positive
list
negative
list
How to get a immutable collection from java HashMap?
[ "Example of an immutable class with hashmap" ]
[ "Is this an immutable class?", "Immutable classes not so immutable", "Create a hashmap of immutable generic objects", "Is It Immutable Class?", "How to create Immutable List in java?", "Is this class immutable?", "Using HashMap as Collection in Java", "Immutable class in java", "How to make the retu...
Frame and Canvas grow larger than specified
[ "Frame and Canvas created in cycle grow larger than specified when setResizeable(false)" ]
[ "how can i make an android view grow dynamically when i add text in it?", "Should I use Canvas or GWTCanvas?", "How to let CommonsPoolTargetSource pool size grow as needed?", "Make JLabel text grow right", "using Canvas in android", "Update (and grow) dialog when new components are added", "Why isn't my...
JDK8: unable to parse LocalTime
[ "Java LocalTime Parse Exception" ]
[ "Using Java LocalTime.parse method", "Dynamic arrays in JDK8", "Installing jdk8 on ubuntu- \"unable to locate package\" update doesn't fix", "How should we manage jdk8 stream for null values", "slow JDK8 compilation", "convert python localtime to java", "Maven: compile Java 7 with JDK8", "Java Base64 ...
Java daemon best cross platform solution?
[ "java background/daemon/service cross platform best practices" ]
[ "Java GUI for cross-platform", "Is Java cross platform?", "cross-platform apps with c#Is", "Daemon thread in java", "How to write a Java daemon", "What Java \"cross-platform\" really mean?", "What to use to build a cross platform application?", "Which is a better cross platform language?", "Cross-pl...
java.lang.NullPointerException at org.apache.jsp.init_jsp.jspInit(init_jsp.java:39)
[ "java.lang.NullPointerException at org.apache.jsp.index_jsp._jspInit" ]
[ "How to get an object of java class from JSP", "java.lang.NullPointerException in jsp", "Add.jsp and Update.jsp or only one", "How to get list in jsp", "NullPointerException in _jspInit", "JSP java.lang.NullPointerException", "Error in my jsp", "One JSP file can't see the other", "JSP error java.lan...
Java Time's week-of-week-based-year pattern parsing with DateTimeFormatter
[ "DateTimeFormatter week-based-year diff" ]
[ "Get Date in Java given Week number, week day and year", "I Want to get a week value", "WEEK_OF_YEAR is same for two dates", "Find start-end date of a week from week number", "How to strictly parse a date with only a year and a week number when the first day of this week is in the previous year?", "How do...
How to avoid excessive hibernate flushes to DB
[ "When Hibernate flushes a Session, how does it decide which objects in the session are dirty?" ]
[ "excessive memory use by java", "Java trim excessive symbols", "I'm looking for a solution to the excessive verboseness of Java without using Groovy", "Private Class Variables vs Excessive Argument Passing", "hibernate generating excessive number of joins in select query", "DB use an excessive amount of C...
Nothing happening when reading .accdb database
[ "Database extension is accdb when I want it to be mdb" ]
[ "ClassNotFoundException when trying to connect to .accdb file via JDBC-ODBC in Java 8", "Given file does not exist when connecting to .accdb file", "Not reading a file?", "Creating .accdb database using Java", "How to block database from .accdb file", "Get data from .accdb file", "What's happening in th...
NoSuchMethodError: MultivaluedMap.addAll in Jersey Client
[ "Jersey and Maven results in java.lang.NoSuchMethodError" ]
[ "Java \"NoSuchMethodError\"", "What use is Java 6 interface MultivaluedMap?", "NoSuchMethodError: com.google.common.base.Stopwatch.createStarted()Lcom/google/common/base/Stopwatch", "NoSuchMethodError ClassTypeInformation.from", "addAll() implementation -- Java", "Java NoSuchMethodError: main", "NoSuchM...
Embedding images into html email with java mail
[ "Image embedding in Java mail - CID not working" ]
[ "Embedding an application inside another application", "Embedding JAR file into HTML?", "Embedding a Jar into a C# Form", "Java Mail not send email", "Embedding web browser window in Java", "Embedding Dygraphs in html", "Java cannot send email with html with images", "Sending Email with Java Mail", ...
how to achieve method chaining in java?
[ "How to create class and chaining methods" ]
[ "Chaining returns through methods in Java", "Chaining static methods", "Chaining array assignment in Java", "Servlet chaining - simple example", "Is Chaining methods in Java slow?", "SwingWork chaining", "Java method call chaining in static context", "Method Chaining in Java", "Constructor Chaining ...
how to set location of jvm crash log files
[ "How do you crash a JVM?" ]
[ "Getting line numbers from a stack trace in a JVM crash log", "Crash code when i am using from a method of class?", "Why does my App crash after i set an array?", "Can I force generation of a JVM crash log file?", "Avoid jvm crash logs", "InvalidRecordException from Neo4J after a JVM crash", "To Do app ...
How to append files to a .tar archive using Apache Commons Compress?
[ "How do I append files to a .tar archive in Java?" ]
[ "Java Compress no return?", "Detecting compression type via Apache Commons Compress", "Program to compress a string", "Compress directory into a zipfile with Commons IO", "How to compress a String in Java?", "How would you \"compress\" a list?", "How do I create a tar or tar.gz archive entirely from obj...
Junit before class ( non static )
[ "Junit - run set up method once" ]
[ "JUnit test of the same object", "JUnit for Java 1.4", "how to test this class with JUnit?", "JUnit Test error", "JUnit AntClassNotFoundException", "Junit prerun call", "JUnit test with EhCache3", "Test data in JUnit", "Error while trying out JUnit", "@After method being run first by JUnit", "Ho...
Eclipse: change name of existing package with classes inside
[ "How to change a package name in Eclipse?" ]
[ "Eclipse shows error on package but inside this package Eclipse doesn't show errors", "How does eclipse import classes", "Can I create folder inside package in eclipse?", "How to Change Version of Existing Android Project in Eclipse?", "How do I change the package name of classes inside a JAR?", "Cannot f...
Why use a wild card capture helper method?
[ "When to use generic methods and when to use wild-card?" ]
[ "can i use wild card query in endswith method in java", "Java : Wild card File search in Folder", "Upperbound wild card", "where does spring security takes values to replace wild card?", "Using wild card to limit data input from a certain package", "Why is using a wild card with a Java import statement ba...
The volatile key word and memory consistency errors
[ "Example of a memory consistency error when using volatile keyword?" ]
[ "When not to use volatile variable in Java", "Issues with method consistency in Java", "Why is this code working without volatile?", "Using volatile variables in java", "What is Volatile in Java and when/how should we use them?", "Java volatile array?", "Java : Volatile variable access", "Java Volatil...
Reset Java Applet on page reload
[ "Force browser to reload applet everytime" ]
[ "Java Applet class file", "Java applet reload", "Reload Java String in C++", "Using Java.applet.Applet in Eclipse", "From java application to applet?", "read file in an applet", "Java Applet - List error", "Does this applet work for you?", "Applet not iitialized when using Java Applet view", "How ...
How to Print Hexadecimal Numbers in PHP or Java
[ "Print hexadecimal as hexadecimal" ]
[ "Java: EpochSecond in Hexadecimal format", "Remove hexadecimal characters from URL", "Java: Hexadecimal Issue", "parsing Hexadecimal in Java", "Java Regex for matching hexadecimal numbers in a file", "Hexadecimal to decimal in Java", "Parsing big hexadecimal numbers in Java", "how to write hexadecimal...
How to deploy a Java EE application in the Amazon cloud?
[ "Using Java web service on Amazon cloud" ]
[ "Java EE: how to get the URL of my application?", "How to deploy a web service to amazon EC2?", "Cloud Server to run Java Code", "Amazon Cloud Watch Log - PutLogEventsRequest - The given sequenceToken is invalid", "How to deploy Java desktop Swing application on the cloud?", "How to build and deploy my co...
Restlet routing nightmare?
[ "Want to know Restlet Routing basic concepts" ]
[ "android restlet get json array", "where is the restlet 2.1 jar", "How to diagnose \"org.restlet.data.Parameter cannot be cast to org.restlet.data.Header\" error in Restlet 2.3.5?", "In Restlet, what's the difference between a Restlet class and a Resource class?", "Restlet with many @Get in my server side",...
Verifying Jar Signature
[ "Verifying Jar signature doesn't work in Java" ]
[ "Verifying a signature in java using a certificates public key", "Verifying Using Boolean Types", "PASSWORD GENERATOR- if/else verifying strings", "Verifying ports are open", "Verifying text between <div> using Selenium", "Verifying the data from two arraylist and delete it", "Verifying two references p...
what is the equivalent of ado.net datatable in java?
[ "DataTable equivalent in Java" ]
[ "Datatable show dialog", "Datatable filter not working", "How to refer to dataTable parent within the dataTable?", "<c:choose> not working in datatable", "How to Bind two class in Datatable", "How to print only the contents of a h:datatable?", "Sort by date the column in datatable", "Update in datatab...
Java - Swing - Can't seem to get Incremental Painting to work (Runned through Executable Jar File)
[ "Incremental graphics in Swing" ]
[ "Problem with Painting in Java Swing App in Java 1.6", "Stopping Timer after it have runned one time", "Way to find incremental changes in the system", "Java create incremental textobject that will be written to file", "Simple painting", "Create an executable jar for Swing app", "Java Swing: Issue paint...
Symmetric difference of two sets in Java
[ "What is the best way get the symmetric difference between two sets in java?" ]
[ "Symmetric-key encryption algorithm", "RSA with symmetric keys", "Symmetric ds system could not found the path specified", "simple symmetric encryption of long to String (and back) in java", "check if two bytes are symmetric", "how can I check if a BST is symmetric in its structure", "Non symmetric java...
Need a free tools to create exe file from java
[ "Creating Java Exe" ]
[ "How to get the code of a java exe?", "write .exe file using Java", "Running an EXE from Java", "What can we do with an exe program?", "Error while using java.exe", "Java - eclipse - get the .exe file", "Need to get another java.exe version in java", "Is there any other way to run .exe from Java?", ...
Java 7 default locale
[ "how do I set the default locale for my JVM?" ]
[ "How to get locale of string on android?", "Java override locale setting for specific locale", "Maven default locale not same with OS locale", "Locale and Command line input", "About Locale class in Java", "Java get Locale from String", "Locale data in a library", "get browser Locale", "how to retri...
Hashcode for NULL key in HashMap
[ "HashMap having null as key" ]
[ "Should I override equals() and hashCode() for String key in HashMap, Java", "hashCode() for an array of objects for use in HashMap", "Hashcode in java", "HashMap with override equals and hashCode not working", "how to order random values by hashcode in hashmap", "hashcode impementation in hashmap", "Ja...
How do I read POST parameters for a RESTful service using Jersey?
[ "How to read post data in a Jersey based RESTful webservice" ]
[ "Could not parse date in RESTful application with Jersey", "How to put parameters in RESTful POST with JerseyFramework", "Restful web service with Jersey 2.0", "database access using jersey RESTful API", "RESTful Spring service with multiple parameters", "Java RESTFUL-Service returns 500 Internal Server E...
Get first next Monday after certain date?
[ "Retrieve current week's Monday's date" ]
[ "Get current week start and end date in Java - (MONDAY TO SUNDAY)", "How to get the next week monday date from user input date in java", "java - to calculate number of weeks - with start date as MONDAY and end date as SUNDAY", "getting Monday date from given week and year using java.time package", "How to f...
Not supported for DML operations with simple UPDATE query
[ "JpaRepository Not supported for DML operations [delete query]", "org.springframework.orm.hibernate4.HibernateQueryException: Not supported for DML operations [UPDATE]" ]
[ "Array Data File Operations", "Java file operations", "JDBC, MySQL - DML Error with PreparedStatement executeUpdate", "What is DML in Apache Cassandra?", "What is the standard exception to throw in Java for not supported/implemented operations?", "Not allow DML operations during Packages exec", "org.hib...
MongoDB java driver 3.0 can't catch exception when authenticate
[ "MongoDB-Java driver: Catch exception when insert fails" ]
[ "MongoDB Java driver: autoConnectRetry", "how to check from a driver, if mongoDB server is running", "MongoDB - Java Driver performance", "How can I build an $or query for MongoDB using the Java driver?", "MongoDB java-driver-3.2.2 count results from find()-method", "How to use $and operator in mongodb - ...
How do I decrypt a Java-DES-encrypted message using openssl?
[ "How to decrypt file in Java encrypted with openssl command using AES?" ]
[ "how to use OpenSSL to decrypt Java AES-encrypted data?", "Encrypted Data with DES - JAVA", "Size of DES encrypted text", "Unable to decrypt the encrypted sms (encrypted in 2.2 os )in Android...(trying to decrypt in 2.3 os)", "Decrypt String in Python That Was Encrypted in Java", "How to read an encrypted...
Lazy Initialisation with OpenEntityManagerInViewFilter?
[ "Could not write content: failed to lazily initialize a collection of role using OpenEntityManagerInViewFilter" ]
[ "Java - Object declaration and initialisation", "About Array Initialisation", "Order of Initialisation of Java-Objects", "Initialisation of variable in java", "Java How to use class object for List initialisation", "OpenEntityManagerInViewFilter and testing the presence of an EntityManager", "Java multi...
Aggregate List of objects in Java
[ "Aggregate Functions over a List in JAVA" ]
[ "Aggregate objects and boundaries", "Java 8 lambda aggregate", "How to write a user-defined aggregate function?", "Aggregate information using Java 8 streams", "How to aggregate values stored inside an array in java", "Is there a java equivalent to C#'s .Aggregate(foo) method?", "Expression not in aggre...
How to detect all the Devices connected in a WiFi network from Android App
[ "Get All Devices on WiFi Network with Java" ]
[ "Android connect to Wifi programmatically if wifi name match", "Can i programatically detect if there are any Chromecast devices on the current WiFi network?", "Connecting two android devices using wifi", "Run code when internet / WiFi is connected", "how to display a button upon wifi gets connected?", "H...
How can I format date by locale in Java?
[ "Format Date according to locale and then get the date part" ]
[ "How to get locale of string on android?", "Custom date format in android for given locale", "Locale <=> Time/Date format in Tomcat logs?", "Date conversion to a different locale", "Java 7 default locale", "How can I format a number to the fixed locale?", "Java override locale setting for specific local...
How can I remove a JPanel from a JFrame?
[ "Why I cannot add a JPanel to JFrame?" ]
[ "Using JFrame or JPanel", "Call function on a JFrame from a JPanel class", "Change a JPanel to another on a JFrame. How?", "JPanel won't show on JFrame", "java pass object from JFrame to JPanel", "Adding a JPanel into JFrame", "When to use JFrame or JPanel", "I cannot add a jpanel to a jframe", "How...
(JavaFx) Proper way represent static FXML fields (and why this is a bad idea)
[ "javafx 8 compatibility issues - FXML static fields" ]
[ "JavaFX - FXML in Tab", "Using JavaFX controller without FXML", "JavaFX main fxml not loading fxml", "JavaFX - Many Static FXML Controllers", "JAVAFX: Passing data between FXML not Working", "JavaFX: can FXML field be private?", "Why is this javafx fxml does not resize?", "JavaFX FXML Label doesn't up...
Java Generics: Wildcard capture misunderstanding
[ "Java generics: Wildcard capture compilation error" ]
[ "How do I resolve this wildcard capture issue when using java generics?", "Wildcard types in generics", "Is a wildcard in generics an object or just the data of the object?", "Java: Generics capture error", "Java Generics with wildcard", "Java Generics wildcard extends problem", "Java generics wildcard ...
is this a java memory leak
[ "Creating a memory leak with Java" ]
[ "Memory leak in Java application", "Memory leak with an array", "Android memory leak?", "Memory Leak Error Android", "How can I solve this memory leak? Actually, where is the memory leak?", "Java memory leak example", "Java memory leak", "Is this a memory leak?", "Memory Leak with Single Method", ...
How to set a JFrame size to fit the CardLayout displayed JPanel?
[ "Change size of JPanel using CardLayout" ]
[ "CardLayout with netbeans using multiple external jpanel", "Read JFrame size from JPanel", "CardLayout with Exception on add?", "CardLayout in JFrame JPanel GUI", "JPanel does not displayed on JFrame", "CardLayout in simple Game doesn't switch the JPanel properly", "Java CardLayout JPanel moves up, when...
PropertyPlaceholderConfigurer with Tomcat & ContextLoaderListener
[ "How to get a tomcat Environment variable in a PropertyPlaceholderConfigurer", "Can one Spring PropertyPlaceholderConfigurer configure another one?" ]
[ "Creating multiple instances of PropertyPlaceHolderConfigurer - Spring", "ContextLoaderListener problem while spring is loading up", "Springframework PropertyPlaceholderConfigurer", "Spring PropertyPlaceholderConfigurer load from DB", "PropertyPlaceHolderConfigurer not reading Tomcat context XML", "Changi...
MediaPlayer.create() always returns null
[ "MediaPlayer \" android \" It's always null?" ]
[ "Error while creating MediaPlayer", "How can i control android mediaplayer?", "Android - MediaPlayer keep going", "Error with MediaPlayer", "MediaPlayer Stop code - Where to put?", "How to use mediaPlayer correctlty?", "Android Mediaplayer Selecttrack method fails", "Can't get Mediaplayer to stop", ...
SimpleFramwork XML: Element with Inner Text and Child Elements
[ "Inner Text and child elements", "SimpleFramework XML: element with inner text and child elements" ]
[ "How to get object out of inner class", "How to return a value from a inner class?", "Java Inner Text (getTextContents()) Problem", "How to remove child element from XML in java?", "Get Class for inner class", "how to disjoin child from jfram", "How to get Inner array child element in XML using ximplewa...
Alternative to JFileChooser
[ "Alternative to JFileChooser on Linux?" ]
[ "Android and JFileChooser", "JFileChooser returns wrong file name?", "Open only .xml file in JFileChooser", "How to load a File using JFileChooser?", "JFileChooser Help", "Java - JFileChooser & file size", "Why does JFileChooser work this way?", "How can I get the directory in JFileChooser?", "Path ...
How can we auto resize the size of components in SWT?
[ "Components won't resize in SWT with a GridLayout" ]
[ "Java SWT CheckedListBox", "Java SWT StyleRange", "Do not resize SWT table after adding rows", "Android auto resize text not working", "Unable to resize a SWT component (TextMergeViewer)", "How I can add size to text in SWT", "SWT Access gui components", "SWT table: auto resize all columns", "Set/Ge...
Setting JRE in Netbeans
[ "How to specify which JRE to use in Netbeans?" ]
[ "Java Arrays (in a JRE)", "Can I run jrunscript from a JRE", "inconsolata and netbeans", "How do I update my JRE?", "Which JRE is required to run servlets..Server JRE or Client JRE?", "install java jre 5.0", "NetBeans 7.4 Cannot get the System Java Compiler. Please use a JDK, not a JRE", "Java Netbean...
Create Java 8 AST with ANTLR4 programmatically
[ "How to create AST with ANTLR4?" ]
[ "antlr4 - how to implement recursion", "Handling errors in ANTLR4", "Processing a String with ANTLR4", "Antlr4 with maven sample project", "AntLR4 : Build A function", "ANTLR4 grun Java error listener", "antlr4 generated files - which are required at runtime", "Antlr4 child context index", "How to i...
configuring hyperjaxb to create hibernate mappings and a mysql database
[ "Importing hyperjaxb purchase order tutorial into Eclipse" ]
[ "Hyperjaxb @Entity", "Do I need to configure hibernate before configuring spring-data?", "Hyperjaxb: Exclude XML Element by XML property", "Configuring log4j property file to store in mysql Database", "hyperjaxb extra underscore(_) generated in @column for some single character columns", "Trouble configur...
What does it mean to program to a interface?
[ "Program to an interface. What does it mean?" ]
[ "what does the % % mean in java?", "What does it mean for a function to return an interface?", "What does \"|=\" mean in Java?", "What does \">>>\" in java mean?", "What does this for mean?", "What does << mean?", "What does Class.this mean?", "What do << or >>> in java mean?", "What does \"this\" m...
How to recover deleted files using Java?
[ "How can one read/recover deleted files" ]
[ "how to recover an element of a String", "Unable to Recover R.java file", "How i can recover a Map of objects from json?", "Is it possible to recover classes source code from Maven jar?", "Recover from a method throwing an exception", "Why does this file not get deleted?", "How do I recover from an unch...
POI Excel Merging Causing "Repaired Records: Format from /xl/styles.xml part (Styles)"
[ "Using Apache POI to get Border & Fill Styles for new cell" ]
[ "How can I use html styles in strings with format arguments?", "Negative Cell Value Styles in Apache POI", "Adding styles to a simple maven project", "How to override default styles in GWT 2.3?", "Java: for-loops: Different loop-styles", "want to access the css styles from my java code", "Write into a w...
Unable to run .jar files by double-clicking them on Windows 7
[ "How to run .jar file by double click on Windows 7 64-bit?" ]
[ "Unable to read input from jar", "How to increase the stack size while running a jar file by double-clicking", "Java Windows. why can I run a jar file on command prompt but not double clicking it", "Some `jar` files do not run in Windows 7", "Java - How to enter runtime arguments (of main method) by double-...
android how to get 4 images in array from ten array of image randomly
[ "How to randomly Display Images from ArrayList<Integer>" ]
[ "Get response from server every ten seconds in Android", "Change randomly image in render() without changing it for all other images", "Java Android - Making Array of images (same image)", "java: How to randomly show output", "I want to display few images randomly in java (android)", "How to randomly rota...
Unable to Sort ArrayList<HashMap<String, Object>> by Single HashMap object field in Java Android
[ "sort ArrayList<HashMap<String, String>> using value" ]
[ "Convert HashMap of HashMap into ArrayList of ArrayList", "HashMap in Java", "how to get the arraylist from the hashmap in java?", "How to sort a hashmap", "Java Hashmap ArrayList", "How to print a value from a Hashmap with a ArrayList", "Arraylist hashmap android", "How to sort hashmap?", "How to s...
Random search algorithm using recursion
[ "How to use recursion in creating a binary search algorithm" ]
[ "why does recursion do this?", "Java Recursion method", "java recursion value after", "Recursion Additionpuzzle in java", "How to print out a recursion method?", "recursion in java", "Java Recursion Problem", "Java Recursion Example", "What is recursion", "How to get the goldenRatio using recursio...
Large file transfer with sockets
[ "Large file transfer over java socket" ]
[ "Sockets not working", "Is this possible with Sockets?", "File transfer over java sockets using multiple IO streams", "Java Sockets slow image transfer", "PircBotX - Transfer String to User", "File transfer using java sockets : Error on client side \"Exception in thread \"main\" java.lang.NullPointerExcep...
Algorithm to generate Poisson and binomial random numbers?
[ "Poisson Distribution in Java (correctness?)", "I need an efficient algorithm and/or code for a modelling Poisson distribution of a system", "A efficient binomial random number generator code in Java" ]
[ "Binomial Coefficent; cannot be resolved to a variable", "Java: Poisson-based point process constrained in a small region", "Generate Random Numbers in Array", "Can't understand Poisson part of Hash tables from Sun documentation", "Why are the calculated values different for the binomial upper cumulative pr...
java.security.NoSuchAlgorithmException:Cannot find any provider supporting AES/ECB/PKCS7PADDING
[ "Android AES/ECB/PKCS7PADDING generate key bouncy castle", "AES-256 and PKCS7Padding fails in Java" ]
[ "java.security.NoSuchAlgorithmException for algorithm \"PBE WITH MD5 AND 256 BIT AES-CBC-OPENSSL\"", "java.security.NoSuchAlgorithmException: class configured for SSLContext", "Java Cryptography questions (AES-ECB encryption)", "Java Encryption NoSuchAlgorithmException", "Java/SSL - Unhandle exception:java....
java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream
[ "javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream" ]
[ "apache java.lang.NoClassDefFoundError", "java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils when deploying web application", "Apache Commons IO on Android", "java.lang.NoClassDefFoundError: org/apache/commons/lang/Validate", "java.lang.NoClassDefFoundError: TestProtos/AuthMethodResponsePro...
Syntax wrong with my SHA1 code
[ "Java String to SHA1" ]
[ "Different SHA1 Hash result between Java and C#", "php sha1 not equal java sha1", "SHA1 C# equivalent of this Java", "Conversion SHA1 byte array from java to PHP", "Raw SHA1 in java does not match the one in PHP", "How to convert SHA1 output to a HEX string?", "how to compare sha1 encripted password in ...
How to set the location of junit TemporaryFolder to an environment variable
[ "TemporaryFolder and File#getCanonicalFile() on Mac" ]
[ "JUnit for Java 1.4", "JUnit AntClassNotFoundException", "Junit prerun call", "JUnit test with EhCache3", "Access method variable in jUnit test", "Error while trying out JUnit", "JUnit TemporaryFolder does not create the folder", "@After method being run first by JUnit", "How do I use JUnitPerf with...
How to take single snapshots from a webcam?
[ "Taking Snapshots from a Webcam using JMF" ]
[ "Webcam control in java", "Detect WebCam device using with java", "Webcam in a JavaApplet", "Using a webcam in a java application", "Java Webcam GUI Application", "Maven: make sure some code is only included in snapshots (and not release)?", "Data Structure for Snapshots at Time", "Java render webcam'...
How to resolve Java UnknownHostKey, while using JSch SFTP library?
[ "SFTP file transfer using Java JSch" ]
[ "JSch sftp upload/download progress", "JSch sftp job summary", "Async sftp file transfer with Jsch?", "Java > JSch. How to get properties for SFTP connection from settings file?", "How do I transfer a file from one directory to another using Java SFTP Library JSch?", "Downloading files from an SFTP server...
Conversion from 12 hours time to 24 hours time in java
[ "How to convert 12 hours time to 24 hours time in j2me?" ]
[ "How to count that 24 Hours passed or not", "Check if one date is exactly 24 hours or more after another", "Parse String to Hours in CSV data", "conversion of 24 hours clock in 12 hours JAVAFX", "Android - Get time after 2 hours", "Compare if a date is less than 24 hours before", "How to add n hours in ...
Jackson 2 annotations ignored in EJB Jar with JBoss (6.2.0 GA)
[ "Jackson annotations ignored after deployment to JBOSS" ]
[ "Where is my ejb-jar.xml?", "Jboss 4.2.3 GA additional deploy directory", "Where can I download JBoss Developer Studio 2.0 GA?", "What is the equivalent implementation of service POJOs (jBoss services in jboss 6 AS) of EJB 3.0 in EJB - 3.2", "Using GA in GUI", "@EJB in JBoss 5.1.0 GA?", "JBoss 6: i can'...
getting the difference between date in days in java
[ "Finding days difference in java" ]
[ "Difference in Days between two Java dates?", "Adding days to date in Java Error", "Android/Java - Date Difference in days", "Building a class Date, converting a date to a number of days, or a number of days to a valid date", "How I can find out difference of days between two dates in Java", "How to find ...
how to judge if the file is doc or docx in POI
[ "how to know whether a file is .docx or .doc format from Apache POI" ]
[ "apache poi Word documents (.doc, .docx) updating", "Converting a .docx to html using Apache POI and getting no text", "How to open .doc or .docx file and check text format using java", "What is the best way to convert docx or doc file into txt in java?", "How to print .doc and .docx in java", "how to upd...
The pattern of final array instead of non-final variable for boolean flag in inner class
[ "inner class non-final variable java" ]
[ "Java use of non-final variable to set final variable", "non-final variable inside an inner class", "Use of a `final` method", "Java final variable in function", "Why is `Class` class final?", "What is non-final variable?", "why final variable is used in inner classes in java", "Final variable in java...
XML Format Checker returns Premature end of file. Why?
[ "Why am I getting this error Premature end of file?" ]
[ "Need some help on a password checker program", "Java Code Use Checker", "Why, when working with Web Fragments to I get a \"Premature End of File\" error", "ERROR: 'Premature end of file.'", "Premature end of file Error", "premature end of file while parsing an xml file on android", "Efficiency of prema...
How to configure Spring ConversionService with java config?
[ "How to Autowired in ConversionService in springboot" ]
[ "ConversionService in Spring", "How to configure SonarCloud", "Configure Spring to use specific version of a class", "Spring - ConversionService no @Autowired because of ConfigurationPropertiesBindingPostProcessor", "Thymeleaf Email Template and ConversionService", "How to configure Hibernate Db connectio...
MVC pattern on Android
[ "MVC pattern in an Android application for drawing" ]
[ "Create a Simple Login page using MVC Design Pattern in Android", "MVC Pattern with multiple objects", "Spring MVC url-pattern syntax", "Spring MVC configure url-pattern", "Using MVC in a Java app", "Is this MVC pattern", "How to update my table in my MVC pattern program", "Understanding the MVC Patte...
java.lang.OutOfMemoryError: PermGen space Exception
[ "Dealing with \"java.lang.OutOfMemoryError: PermGen space\" error" ]
[ "Why am I receiving java.lang.OutOfMemoryError: PermGen space error?>", "Java class size in PermGen space", "OutOfMemoryError: PermGen space when starting an embedded Tomcat", "Error while starting Jboss server: Exception in thread \"pool-6-thread-5\" java.lang.OutOfMemoryError: PermGen space", "java.lang.O...
Java Streams — How to perform an intermediate function every nth item
[ "Java Streams — How to perform an intermediate function on the last value provided" ]
[ "How to get nth element of a Set", "How to print nth number series in java", "Create intermediate values in a Java array", "Return the nth number", "Reading data from a specific line and counting words from nth line to print nth word on that line", "What means a NTH search?", "Java reading nth line", ...
Order of request.getParameterNames()
[ "HTTPServletRequest.getParameterNames() not in order as in HTML Form" ]
[ "Make asynchrone request", "How to get values in order?", "What is wrong with this request?", "Get order of list by value", "SimpleClient - GET request", "order by mysql request in java", "How to re-order a List<String>", "How to test a Request Object in EasyMocks?", "Is it possible to have a nonlex...
Looping Music in Java
[ "Using music in a java program" ]
[ "Music library in android", "Android Java specific music folder", "Java Looping string replacemnet", "Looping through a List in Java", "Music in Java (start/stop)", "How to stream music using java as server?", "Play music one after each other", "Music don't start on button click", "Looping a do/whil...
Tomcat JVM version different from JAVA_HOME
[ "How to change Java version used by TOMCAT?" ]
[ "How to get Tomcat version number in Java", "Java: but you need to make each JVM, don't you?", "Tomcat - UnsupportedClassException", "Starting tomcat with custom jvm without having to change JAVA_HOME and PATH on linux", "ThreadPoolExecutorFactoryBean in tomcat", "which java version does tomcat use", "m...
What is the default package in which my classes are put if I don't specify it?
[ "How to access java-classes in the default-package?" ]
[ "Specify the Type on a Class Object", "Access classes from package", "How import java classes inside the default package from the default package", "Can't access Classes in default package", "How Default package is created and where?", "What classes should i put in domain package?", "How can I import th...
PostGIS and JPA 2.0
[ "How to store geometry Point in Postgis database using java" ]
[ "Reading points from a Geography Polygon in a PostGIS database", "BasicDataSource not finding postgresql or postgis jdbc drivers", "org.postgresql.util.PGobject to org.postgis.Point;", "How to get a PessimisticLockException with JPA", "Where is org.geotools.data.postgis?", "How to render map from postgis ...
Java - Will inlining code have benefits?
[ "What is inlining?" ]
[ "Inlining in Java", "Why does inlining Math.max give over 200x slower code?", "Does Proguard remove methods used in only one place? [method inlining]", "is it possible to disable javac's inlining of static final variables?", "System.out and final object inlining", "Thymeleaf, Javascript Inlining and Itera...
ColdFusion Garbage Collection
[ "ColdFusion 9.01 on Java 7", "coldFusion jvm Garbage Collection not" ]
[ "Calling a .jar from ColdFusion", "How would I implement this regex in ColdFusion (or Java)?", "Java method not found in ColdFusion", "Passing Java Object in ColdFusion", "Coldfusion Binary files", "ColdFusion/Java strange script", "How do you use java files in Coldfusion", "converting ETrade Java cod...
Java Stream API: why the distinction between sequential and parallel execution mode?
[ "Java-8 Stream returned by .map will be parallel or sequential?" ]
[ "Stream works on sequential, but buggy in parallel mode", "Sequential Swing timer execution", "Getting sequential logs while executing tests in parallel", "Java 8 parallel stream or method execution", "need to execute setup method only once in parallel execution mode", "Why does a parallel Java Stream wit...
Java: Efficiently converting an array of longs to an array of bytes
[ "Most Compact way to Serialize an Array of Longs in Java" ]
[ "wrapped Longs to this list", "converting bytes array into long", "Sort JTable column of longs", "How can I get the Array # of a button / Make this run more efficiently", "Converting to and from bytes in java", "How to map two longs to an integer (Java)", "java multiplication between int and longs gives...
Moving Objects along an arc path with java graphics
[ "Moving Shapes along an arc path with java graphics" ]
[ "Java Graphics clear arc", "How can I render an arc with a 3 color gradient?", "Rotate arc in java", "Moving a graphics 2d object with threads", "How to create graphics in Java?", "Drawing string at the center of arc", "why are these 2 arc overlapping?", "Java Draw Arc Between 2 Points", "Drawing Ar...
+ operator for String in Java
[ "= operator in java" ]
[ "Java = operator", "=- operator in java", "Java - 'this' operator", "Java \"&\" Operator", "Java - >> operator?", "Java ?: operator in vb.net", "java | operator is for what?", "What is \"~\" operator in Java", "-​->-​- operator in Java", "Java << Operator", "What does the \"+=\" operator do in J...
Suppress javac warning "...is internal proprietary API and may be removed in a future release"
[ "How can I suppress java compiler warnings about Sun proprietary API", "Using internal sun classes with javac", "NEW is internal proprietary API" ]
[ "Using javac with import", "how to remove this warning: com.sun.org.apache.xerces.internal.dom.DOMImplementationImpl is Sun proprietary API and may be removed in a future release", "Proprietary java web application", "how to suppress mysql error java", "javac: invalid target release: 1.7", "jdeprscan warn...
JProgressbar: how to change colour based on progress?
[ "Color in JProgressBar" ]
[ "How to change JProgressBar color?", "JProgressBar update not working", "How to add text on jprogressbar?", "Update JProgressBar", "Java: JProgressBar", "JProgressBar query", "java - JProgressBar while method is running", "How to use JProgressBar", "Changing JProgressBar", "Java using jProgressBar...
JPasswordField returning some hash code converted into string type
[ "JPasswordField encoding the input" ]
[ "how to display characters in jPasswordField rather than * sign in java?", "Replacing the password character to dot in JPasswordField", "How do I request focus on a JPasswordField inside a JOptionPane?", "How to access to the text inside a Swing JPasswordField object?", "Creating two RoundedFields, JTextFie...
Change property name with Flexjson
[ "FlexJson and @JSON annotation - @JSON(name = \"\") not working" ]
[ "Parsing JSON into Map<String, Entity> with FlexJSON", "Mapping a JSONObject to a List with Flexjson in Java / Android", "Lazy Initialization Error with Hibernate and FlexJSON", "FlexJson serializing and deserializing an interface", "CompositeConfiguration - property with same name", "Leave off field name...
Find if location is land or water in WorldWind
[ "How to give WMS URL for Geoserver in worldwind Android?" ]
[ "Worldwind Line from Symbol to Terrain", "WorldWind High Resolution Textures missing", "WorldWind Application in Google Web Toolkit", "Worldwind Custom Renderable Picking Issue", "WorldWind: elevation of the ground", "Nasa Worldwind: How do you fix these weird run time exceptions?", "WorldWind Sphere Li...
How can I read from a Winzip self-extracting (exe) zip file in Java?
[ "reading/extracting a self extracting zip in JAVA" ]
[ "Creating encrypted Zip files that are compatible with the TrueZip Java Library (Winzip AES?)", "extracting String from a String", "Extracting values from file", "java zip contents of a folder instead of folder & winzip compatibility", "What versions/flavors of WinZip can be opened by the gnu.java.util.zip....
Where is the correct location to put Log4j.properties in an Eclipse project?
[ "log4j.properties, where to put it", "Using simple Log4j.properties in my java code" ]
[ "log4j.properties (No such file or directory)", "How to add path of log4j.properties file in my project classpath in eclipse?", "How to set log4j.properties in Eclipse?", "Log4J in jar - properties", "Log4j properties and log4j.xml", "Where/how does log4j look for a log4j.properties file?", "Should I pu...
Converting a Date object to a calendar object
[ "Date object to Calendar [Java]" ]
[ "How to get date from android calendar?", "How to get calendar from date", "How does this work? Java Date, Calendar and Richface question", "add date & time with calendar", "Converting timestamp to Calendar in Java", "String to Calendar object", "Calendar.before(Object when), why Object?", "Change fro...
Return value of assignment operation in Java
[ "confused with return value of assignment operation in java" ]
[ "Using AND operation", "Java assignment not working", "Java Object Assignment", "String operation in Java", "Why doesn't this arithemtic operation work in java?", "Method return Java assignment", "Python assignment with or", "Assignment like String", "Need assignment idea", "how does object assign...
Downgrading 9.0.83 Google Play Services manually to avoid DynamiteModule: Failed to load module descriptor
[ "No marker displayed on the map in my route tracking activity with Google Play Services version 9.0.83", "Adapting dependencies after downgrading Google Play Services" ]
[ "Error implementing google play services", "Downgrading Matlab java from 7 to 6 in Ubuntu returns an error", "Import Google Play Services library in Android Studio", "Where to find the Java 9 module descriptor reference?", "Google Play Services: can't connect to server", "onDowngrade() in SQLiteOpenHelper...
How do I make a JTextPane have a different tab size in Java?
[ "Java JTextpane Tab Size" ]
[ "JTextPane: How to set the font size", "Read text line by line in a JTextPane", "JTextPane - fit size to its content", "How can I make image link work in JtextPane?", "Multiple line JTextPane", "Issue with JTextPane and regex", "How to access jtextPane in a different form?", "Change Text Cursor Size i...
Fixing BeanNotOfRequiredTypeException on Spring proxy cast on a non-singleton bean?
[ "BeanNotOfRequiredTypeException due to autowired fields" ]
[ "How to inject a scoped-proxy bean into a singleton bean by using constructor injection", "Singleton Session Bean", "Spring-Batch proxy class cannot be cast to Class?", "spring bean properties with singleton", "Spring singleton bean", "Issue to cast proxy object", "Fixing my class name & one method in J...
Play a Youtube video using JavaFX
[ "Youtube in JavaFX WebView" ]
[ "How to retrieve title of YouTube video via URL", "Youtube API for video download", "Android android.intent.action.SEND youtube video", "upload youtube video server side", "Can't play this video error", "Upload video to youtube in java", "Get list of video from a youtube channel", "Pass Youtube Video ...
java arraylist of arraylist copy
[ "Java ArrayList copy" ]
[ "When to ArrayList", "Copy ResolveInfo item from ArrayList a to ArrayList b?", "Arraylist in arraylist", "Arraylist and arrays in Java", "how to Add ArrayList in ArrayList", "Arraylist of arraylist in method", "ArrayList of Arraylits", "Can I make an ArrayList in an ArrayList (java)?", "A Java Array...