query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33
values |
|---|---|---|---|---|
Align values in JTable cells to right-to-left while Editing | Align the values of the cells in JTable? | How to change JTable cell text while editing? | 1 | stackoverflowdupquestions |
How to call a varargs method with an additional argument from a varargs method | How to add new element to Varargs? | Can a Java varargs be null? | 1 | stackoverflowdupquestions |
How to have a JFrame with transparent Blurred background | create an transparent rectangle over blurred background in jframe | How to make a JFrame blurred in java? | 1 | stackoverflowdupquestions |
Remove all HTML tags except <br> from a text? | Remove HTML tags from a String | How to edit tags in html String in Java | 1 | stackoverflowdupquestions |
NEW is internal proprietary API | Suppress javac warning "...is internal proprietary API and may be removed in a future release" | Using Glassfish libraries in proprietary software | 1 | stackoverflowdupquestions |
Combine 2 arrays in Java | Combine two integer arrays | In Java, how can I combine two JSON arrays of objects? | 1 | stackoverflowdupquestions |
dynamically change Y axis range in Jfreechart | Setting Range for X,Y Axis-JfreeChart | How to get static range for X axis (Range axis) in JFreechart | 1 | stackoverflowdupquestions |
super-constructor if there is no super class? | Object class as super class in Java | this and super in java | 1 | stackoverflowdupquestions |
Get screen coordinates of a node in javaFX 8 | get real position of a node in javaFX | JavaFX: Get Node by row and column | 1 | stackoverflowdupquestions |
Is it the last day of the month? | last day of month calculation | java get last day in next month | 1 | stackoverflowdupquestions |
Native Swing Menu Bar Support For MacOS X In Java | com.apple.mrj.application Missing for Native Swing Menu Bar support for MacOS X Snow Leopard | Port binding on macos | 1 | stackoverflowdupquestions |
How to return a pair of objects in one method? | What's the best way to return a pair of values in Java? | key value pair implementation in java? | 1 | stackoverflowdupquestions |
Change focus to next component in JTable using TAB | tab key can't transfer focus for JTable | JTable Focus Related Query? | 1 | stackoverflowdupquestions |
Jackson - custom serializer that overrides only specific fields | How do I use a custom Serializer with Jackson? | Using specific try catch, error overrides | 1 | stackoverflowdupquestions |
Spring Boot 1.2.5.RELEASE - Sending E-mail via Gmail SMTP | Spring Boot - Sending Email via Gmail | How do I fix a javax.mail.MessagingException when using SMTP through GMail? | 1 | stackoverflowdupquestions |
Creating an hourglass using asterisks | how to draw an hourglass in java | Recursive method return values in asterisks | 1 | stackoverflowdupquestions |
available of DataInputStream from Socket | Check if DataInputStream has content | Java DataInputStream usage with System.in | 1 | stackoverflowdupquestions |
Swing JLabel text change on the running application | How to add JLabel at run time in Swing? | Java Swing - JLabel Location | 1 | stackoverflowdupquestions |
Appending to ObjectOutputStream (writing multiple objects w/o closing stream) | Appending to an ObjectOutputStream | Can we have many ObjectOutputStream running simultaneously just by using one socket in Java? | 1 | stackoverflowdupquestions |
How to get Id of last persisted entity using JPA | Java JPA get id of last persisted entity issue | why isn't a new entity persisted? | 1 | stackoverflowdupquestions |
Looking to associate strings to ints in a cleaner/more efficient way | How can i make an object to associate a number with a specific string | Associate name and id to an input box | 1 | stackoverflowdupquestions |
How to check if a date Object equals yesterday? | get yesterday date from timestamp | How to check if a string equals to "}" | 1 | stackoverflowdupquestions |
How can I export a Java class (.jar) from Clojure? | Calling clojure from java | Juxtaposition of Java instance methods in Clojure | 1 | stackoverflowdupquestions |
Java 2d rotation in direction mouse point | Failed to implement object rotation towards mouse JAVA | Why is my Rotation Matrix not working? | 1 | stackoverflowdupquestions |
Recommended JSF 2.0 CRUD frameworks | CRUD Application in one controller (servlet) | How do I set the value of HtmlOutputTag in JSF? | 1 | stackoverflowdupquestions |
Best practice for storing large amounts of data with J2ME | File To Store Data in J2ME | replace string with string in j2me | 1 | stackoverflowdupquestions |
JPL/SWI Prolog configuration failure | jpl library won't work with java maven project | Compiling error Java "package jpl does not exist" on Ubuntu | 1 | stackoverflowdupquestions |
java.io.NotSerializableException | NotSerializableException when sending an Object | Java NotSerializableException - AquaPainter | 1 | stackoverflowdupquestions |
Java setResizable(false) changes the window size (swing) | Swing - setResizable(true) make JFrame title bar higher and window size smaller | java swing - how to change window background | 1 | stackoverflowdupquestions |
HTTP requests held up during Tomcat shutdown | How to process servlet requests during long shutdown | best way to shutdown AbstractJmsListeningContainer? | 1 | stackoverflowdupquestions |
What are the differences between perl and java regex capabilities? | Perl to Java Regex conversion | LdapConnection differences between JAVA and C# | 1 | stackoverflowdupquestions |
Forcing Spring Boot to NOT use EmbeddedWebApplicationContext? | How can I avoid Spring Boot from loading EmbeddedWebApplicationContext? | Spring boot -- Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean | 1 | stackoverflowdupquestions |
How to perform multi-threaded map/reduce using Reactor framework 2.x? | How do you execute map reduce operations with the Reactor framework? | How to print to the same line from multi-threaded application | 1 | stackoverflowdupquestions |
Create Annotation instance with defaults, in Java | How to create an instance of an annotation | clear application defaults | 1 | stackoverflowdupquestions |
Is there any way to make an ordinary array immutable in Java? | Immutable array in Java | Is this class immutable? | 1 | stackoverflowdupquestions |
How to show information of each task in Gantt chart | JFree Gantt Chart - Different Color for each Job and Integer TimeUnit | Why isn't the correct data appears in the gant chart? | 1 | stackoverflowdupquestions |
Android: Dex cannot parse version 52 byte code | Andrioid Studio - Error converting bytecode to dex, Cause: Dex cannot parse version 52 byte code | Multiple dex files - Conversion to Dalvik format failed - Unable to execute dex | 1 | stackoverflowdupquestions |
Insert CLOB into Oracle database | Java: How to insert CLOB into oracle database | Use Oracle createTemporary to update Clob | 1 | stackoverflowdupquestions |
How to convert image to black and white using Java | How to convert a BufferedImage to black and white? | iText page color or black/white | 1 | stackoverflowdupquestions |
printStackTrace to java.util.logging.Logger | Using e.printStackTrace() in Java | java's printStackTrace() equivalent in python | 1 | stackoverflowdupquestions |
Multiple Spring @RequestMapping annotations | Get requested value(URL) when using @RequestMapping annotations | Exact RequestMapping with Spring | 1 | stackoverflowdupquestions |
How is the Java priority Queue supposed to work? | Sorting Priority Queue in Java | Priority Queue for HashMap Object in Java | 1 | stackoverflowdupquestions |
JGit: How to get all commits of a branch? (Without changes to the working directory ...) | Looping over commits for a file with jGit | JGit - Using parameters with LogCommand | 1 | stackoverflowdupquestions |
Android load from URL to Bitmap | How to get url from a bitmap in Android? | Get Bitmap image from Url | 1 | stackoverflowdupquestions |
How do I dynamically change the background of an item in a listview in JavaFX | Dynamically change the background of a cell in a ListView | How to change the size of an item in a ListView dynamically? | 1 | stackoverflowdupquestions |
Is this an acceptable use of instanceof? | When is it acceptable to use instanceof? | instanceof enthuware OCAJP | 1 | stackoverflowdupquestions |
JSch: UnknownHostKey exception even when the hostkey fingerprint is present in the known_hosts file | JSch: UnknownHostKey exception when Host Key is in known_hosts AND after adding JCE | How to get the Output result in jsch | 1 | stackoverflowdupquestions |
PostMethod setRequestBody(String) deprecated - why? | Java PostMethod with xml | The Date(String) is deprecated | 1 | stackoverflowdupquestions |
Collectors.summingInt() vs mapToInt().sum() | Difference between summarizingInt and Collectors.summarizingInt? | Java stream collectors in groovy error on Set::size | 1 | stackoverflowdupquestions |
Get milliseconds until midnight | How can I find the amount of seconds passed from the midnight with Java? | Convert time into milliseconds | 1 | stackoverflowdupquestions |
Split Java String into Two String using delimiter | Split a string using a string as delimiter | Why can't I use "." as a delimiter in split() function? | 1 | stackoverflowdupquestions |
Suppressing noise in wav files | How to remove noise from .wav file after mixed? | Why won't java play my .wav files? | 1 | stackoverflowdupquestions |
How to retrieve more than 100 results using Twitter4j | How to get more than 100 tweet result using twitter4j | Filter twitter4j stream | 1 | stackoverflowdupquestions |
“if” statement vs OO Design - 2 | if statement vs OO Design | OO Design Advice - toString | 1 | stackoverflowdupquestions |
Strange Behaviour of String Tokenizer | String Tokenizer issue | Tokenizer reading for other variable | 1 | stackoverflowdupquestions |
Java native method source code | Java native methods | What are native methods in Java and where should they be used? | 1 | stackoverflowdupquestions |
In Java, is it safe to change a reference to a HashMap read concurrently | Is setting a HashMap thread safe? | Read from arraylist using two thread concurrently | 1 | stackoverflowdupquestions |
Better way to loop through the List<String> and remove items | loop on list with remove | how to remove [ from string in java | 1 | stackoverflowdupquestions |
what makes java not pure object oriented language? | Is Java 100% object oriented? | What is Pure Java | 1 | stackoverflowdupquestions |
Setting JVM heap size at runtime | Can the JVM max heap size be dynamic? | Big difference between JVM process size and Memory Heap size | 1 | stackoverflowdupquestions |
Part 2 - How do I get consistent rendering when scaling a JTextPane? | Scaling editable JTextPane | How to access jtextPane in a different form? | 1 | stackoverflowdupquestions |
How to generate a Java call graph | How to generate a call graph for a java project | How to graph a function based on a String on Android | 1 | stackoverflowdupquestions |
What are some Java memory management best practices? | Memory Management in Java | android java memory management | 1 | stackoverflowdupquestions |
Why does autoReconnect=true not seem to work? | java c3p0: how can i configure autoreconnect=true? | do-while loop doesn't seem to work (Java) | 1 | stackoverflowdupquestions |
Upload file or InputStream to S3 with a progress callback | Get the progress status of file uploded to Amazon s3 in java | upload file using inputstream in GAE java | 1 | stackoverflowdupquestions |
Start and end date of a current month | java - Start Date of Last Month | Convert month name to Date range | 1 | stackoverflowdupquestions |
Cannot create a generic array of ... in Java | How to create a generic array in Java? | Java array of object which has generic | 1 | stackoverflowdupquestions |
javax.xml, XPath is not extracted from XML with namespaces | How to query XML using namespaces in Java with XPath? | Parse XML with namespaces in Java using xpath | 1 | stackoverflowdupquestions |
ArrayStoreException while assigning default value using Arrays.fill method in java | Convert ArrayList to Array throws java.lang.ArrayStoreException | Why ArrayStoreException is thrown? | 1 | stackoverflowdupquestions |
How to add a Java Properties file to my Java Project in Eclipse | Java Properties File in Eclipse | Eclipse Java Project Error | 1 | stackoverflowdupquestions |
Change location of log4j.properties | Using simple Log4j.properties in my java code | log4j.properties, where to put it | 1 | stackoverflowdupquestions |
What's the point of Guava's Optional class | Guava Optional. How to use the correct | How do I do this using guava? | 1 | stackoverflowdupquestions |
How to convert string to MarketDataIncrementalRefresh in QUICKFIX in Java? | QuickFIX/J mixing two different versions | quickfix/j SessionSettings loads only the last session from file config | 1 | stackoverflowdupquestions |
update-alternatives: warning: /etc/alternatives/java is dangling | update-alternatives : update java path | Java GUI alternatives | 1 | stackoverflowdupquestions |
AccessController.doPrivileged | When should AccessController.doPrivileged() be used? | Malicious code running AccessController.doPrivileged | 1 | stackoverflowdupquestions |
How to Re-Execute Log4j "Default Initialization Procedure"? | How can you find what URL was used in log4j default initialization? | log4j doesn't read its log4j.properties file | 1 | stackoverflowdupquestions |
In Tomcat, java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader | LinkageError JAXB 2.0 -> 2.1 (Tomcat) | Need to load some class by bootstrap Classloader | 1 | stackoverflowdupquestions |
Atribute for annotations @ModelAtribute and @PreAutorize in Generic Controller / Service classes | Generic class for controller and service classes in a Spring project | Print only the "name" atribute in the listview | 1 | stackoverflowdupquestions |
How to double buffer awt objects | Double Buffering with awt | java.awt.Color error | 1 | stackoverflowdupquestions |
HttpMediaTypeNotAcceptableException: Could not find acceptable representation in exceptionhandler | Spring @ExceptionHandler and HttpMediaTypeNotAcceptableException | Accessing the error object inside of exceptionhandler method | 1 | stackoverflowdupquestions |
HowTo extract MimeType from a byte[] | How to get the mimetype of an item? | howto implement a class that evealuates contains in a list | 1 | stackoverflowdupquestions |
Flatten a Map<Integer, List<String>> to Map<String, Integer> with stream and lambda | Java 8 convert Map<Integer, List<String>> to Map<String, List<Integer>> with | Add elements to List<Map.Entry<Integer,Integer>> | 1 | stackoverflowdupquestions |
Which is the best way to declare logger variable in java | Best way to define Logger instance in the class | Why is my Java logger file not working? | 1 | stackoverflowdupquestions |
How can I run commands under a timer? A more detailed explanation below | How to set a Timer in Java? | What is detailed explanation of argument "Subclass Only Where It Makes Sense"? | 1 | stackoverflowdupquestions |
Java ElasticSearch None of the configured nodes are available | No Node Available Exception Elasticsearch 5.0.2 | What is an index in Elasticsearch | 1 | stackoverflowdupquestions |
How can I get a specific line from a text file? | Reading a specific line from a text file in Java | how to create a file with a specific name and specific text | 1 | stackoverflowdupquestions |
How do I interrupt() a thread given its ThreadInfo object? | How exactly do I interrupt a thread? | Does class ThreadInfo provide more information than reachable from JVMTI? | 1 | stackoverflowdupquestions |
Programming a one-to-many relationship | One to many relationship | What is the difference between IS -A relationship and HAS-A relationship in Java? | 1 | stackoverflowdupquestions |
Shutdown ExecutorService gracefully in webapp? | When the executorService.shutdown(); should be called | Java: ExecutorService error | 1 | stackoverflowdupquestions |
Java ODBC MS-Access Unicode character problems | Manipulating an Access database from Java without ODBC | connection string of jdbc odbc with MS access | 1 | stackoverflowdupquestions |
Invalid URI with Chinese characters (Java) | How to save Chinese Characters to file with java? | To split only Chinese characters in java | 1 | stackoverflowdupquestions |
How to find which library slf4j has bound itself to? | How to change slf4j level at runtime? | Is SLF4J thread-safe? | 1 | stackoverflowdupquestions |
Android - how to replace part of a string by another string? | String replace android? | how to replace "}" from a String? | 1 | stackoverflowdupquestions |
Split text in J2ME | How do I split strings in J2ME? | run j2me app on android? | 1 | stackoverflowdupquestions |
Open shortcut (.lnk) with parameter lines Java | execute file .lnk in Java | Delete Jar Shortcut With Java File Method | 1 | stackoverflowdupquestions |
Why am I getting a Java NoSuchPortException when the port exists? | getting a javax.comm.NoSuchPortException when the port exist | File exists but java file.exists() but return false | 1 | stackoverflowdupquestions |
How can I load an image and write text to it using Java? | How to write text on an image in Java (Android) | Load containerfile in Java | 1 | stackoverflowdupquestions |
Should RuntimeException be extended? | Proper use of RuntimeException? | How to use extended class as variable? | 1 | stackoverflowdupquestions |
Why replaceAll("$","") is not working although replace("$","") works just fine? | String.replaceAll() is not working | String.replaceAll(...) of Java not working for \\ and \ | 1 | stackoverflowdupquestions |
Multidimensional arrays in Java and C# | Why doesn't Java have true multidimensional arrays? | array multidimensional | 1 | stackoverflowdupquestions |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.