Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / Java

Java

Java

Great Reads

by Jitendra_Jain04
IBM WebSphere Application Server V8.5 Liberty profile is a flexible and dynamic server profile of WAS which enables the WAS server to deploy only required custom features instead of deploying a big set of available JEE components.
by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
by Prilvesh K
(Wildcard entry)Android Text to speech synthesis with Listview arrays with toast
by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.

Latest Articles

by Jitendra_Jain04
IBM WebSphere Application Server V8.5 Liberty profile is a flexible and dynamic server profile of WAS which enables the WAS server to deploy only required custom features instead of deploying a big set of available JEE components.
by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
by Prilvesh K
(Wildcard entry)Android Text to speech synthesis with Listview arrays with toast
by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.

All Articles

Sort by Score

Java 

by Javin Paul
Memory Mapped IO is one of the fastest IO options available for Java program. If you are writing latency sensitive application, where IO can skew your numbers, then using MemoryMappedByteBuffer is a good option.
by Anurag Saini
A Java program to translate arithmetic expression to three-address codes
by B. Clay Shannon
A potentially-exhausting-but-not-exhaustive list of shortcut key combinations to use in Android Studio
by Yesy
Provide a multiple-async-waiting operation management pattern for Android
by Keerthi_Kumar_N
Configuring the web.xml for any Java/J2ee project using a programmatic approach
by Keerthi_Kumar_N
An alternative way of configuring web.xml using Java
by Lodewijk Pool
A quick and easy way to direct Java System.out to File and to Console.
by Member 3896609
try{ FileOutputStream fout= new FileOutputStream("stdout.log"); FileOutputStream ferr= new FileOutputStream("stderr.log"); TeeOutputStream multiOut= new TeeOutputStream(System.out, fout); TeeOutputStream multiErr= new TeeOutputStream(System.err, ferr); ...
by JinWenQiang
An instance of Floodlight Controller
by Anele 'Mashy' Mbanga
Explore your Genymotion Device folders
by Dominick Sidiropoulos
A way to access files on HFS+ filesystems that side-steps alltogether the tar-pit called "windows-drivers-from-hell (tm)".
by B. Clay Shannon
Wherein the steps to add menu items, and respond to them being selected, is delineated
by Shubhashish_Mandal
Add Save functionality in ReportCat, a Java print library.
by Bastian Eicher
CompositeJKS allows you to load a custom Java KeyStore into the SSL Context without replacing the system CA list.
by Praveen Maniyath
Code for implementing a click event for button in Android.
by abhinav_soni
This article provides alternative to Java's Proxy class with bytecode manipulation.
by WebMaster
Customize EditText in Android with has lines inside.
by Ngo Tuong Dan
Android OS is a multitasking operating, there are a lot of running background process, these process make your device will be slower.
by Deepali Dhingra
This tip explains how to create a to do or Shopping List app with listview, sqlite, dialog and customadapter
by Deepali Dhingra
This tip explains how to create a to do or Shopping List app with listview, sqlite, dialog and customadapter.
by Ivan Budiono
Class to access a .NET Web Service with an Object parameter or even an array of objects.
by Khushboo Kaur
This article would help you develop the Index Bar for Android across all screen resolutions.
by Garvit Arya
It is a personalized web Browser that can open a certain website directly.
by ShareIdeas
This Android project can get cards number leveraging the principle of digital image.
by AmrDeveloper
How to use CodeViewAndroid Library in many projects features
by AmrDeveloper
Create Android Code Editor app with CodeView that supports auto indenting, finding matching and replacing keywords
by Right Handed Monkey
This is a tutorial for accessing sqlite databases in Android in a thread safe manner. If you download the library code, please bookmark, comment on, or rate the article - it helps out tremendously.
by ShubhamSaxena
Running an Android app.
by huyletran
Make edit text with specified length, delete icon
by Sukhpal Singh JNU Jaipur
JSON parser classes creator tool for Android
by Azim Zahir
This is a demonstration of a Torch application built using Android.
by Satyam A.
Here we see how Android Activity LifeCycle works.
by Satyam A.
How to create a custom dialog box in Android.
by Yildirim Kocdag
Play a media file (wav, MP3, etc) in the Assets folder.
by Yildirim Kocdag
This article helps you to set your Android device ringer mode to silent and normal, and check the last mode.
by Little Carl
Library for deserializing the Ksoap2 response .
by Satyam A.
How to use SharedPreference to store information in key-value pair in Android
by Rishabh Upadhyay
Anoncrypt by HTCoders is a web-based Text Encryption and Decryption Project developed using Java Technology following Struts2 Framework
by Frozen Rain
There is a simple way to consume WCF from clients which do not support Microsoft's SOAP implementation. It is achieved by using REST to accept data and convert REST calls to SOAP calls with the PHP Framework.
by Riaan Lehmkuhl
/* * get a hook on the buttons (> or > or <<) of a Click PickList control. * call in domloaded() passing the name of the PickList and a js callBack method to be envoked. * the callBack method should have one parameter to receive the clicked button element. * an additional attribute ('f
by Klaus Stefan Gerber
I was trying to consume a web service, creating the Java classes using Apache CXF and the command line wsdl2java tool
by NoSuchUserAccount
For absolute beginners in Java
by Nagy Vilmos
A simple method to parse an argument list as a name value pair
by User 10259217
Handy bridge between ASP.NET webservices and Java
by Sergey Zubarev
AsynchronousSocketChannel concurrent writes
by Nandlalaji Singh
Spring itself is vast. It has lots of features. But AOP is a really cool and powerful feature. This tip is for Spring developers who don't use AOP. This gives a view of AOP.
by emerR46
Show an option when a selected bar chart is clicked in from screen.
by pasztorpisti
Avoid accidental virtual method calls in C++ constructors/destructors, Java constructors and be careful with them in C#!
by huyletran
Create a new bitmap by combining many bitmaps.
by Arkadeep De
Bluetooth Desktop Locker with Android Application
by Rapuru Amarendra
This tip presents an example of popups in responsive using bootstrap
by Klaus78
In this tip, we explain the basics of functional programming in Java 8.
by JinWenQiang
Get started with your own SDN (Software Defined Network) simulation network
by Arpit Mandliya
Explains the Builder design pattern in detail with example.
by O.Nasri
This tip shows you how you can implement a contact form in C#/ASP.NET MVC
by Danilow
Simulating C# event handlers in Java
by Mohamed.Faried
Simplifying Java events
by Lars P.Wadefalk
I have sometimes wondered if the 'with' statement would work in C/C++, just like in pascal. Meaning that it would in it's nearest scope automatically recognize class/struct members for the ones mentioned with a . or maybe -> operator.Maybe something like:TestClass* tc;float...
by skprasadu
This tip shows how you can create stubs for webservices in Java using Maven
by csanuragjain
Case converter which runs as a background service and can convert cases fro uppercase to lowercase or vice-versa.
by hexgear
Chalba is an open source hackable load testing tool. Chalab is inspired from jmeter, gatling, grinder like tool.
by Melih Mucuk
Checking location services are enabled or disabled on android phone.
by WebMaster
This code snippet checks whether network is available on an Android phone.
by Dan Mihajlov
How a bad constant can cause a security breach
by Shmuel Zang
Simple Java helper class to print colored text in console window.
by Dominique Gilleman
How to handle (load/save) only a part of an aggregate domain model with composition
by abhinav_soni
Renders JavaScript and CSS from server based on the user's system.
by Nilesh Khaire
Log4j trick to generate new log file every time you run the application
by Jose V. Huerta
Android APP to web page (POST parameters)
by Mahmoud_Gamal
Connection pool java without ConnectionContext
by jowettp
How to use the programmatic interface of LibreOffice (called the UNO API) to load, manipulate and save documents
by dileep
Copy the modified files from one directory to another
by CrawlScript
WebCollector is an open source web crawler framework based on Java. It provides some simple interfaces for crawling the Web, you can setup a multi-threaded web crawler in less than 5 minutes.
by AmrDeveloper
How to create a Code Editor Android Application for Go Programming Langauge using CodeView Library
by Uros Calakovic
Use the LibGDX Java gaming framework and JRuby to create a simple 2D game for desktop
by Andy Feng
Create a simple Http Server using Java SDK and process GET/POST requests
by Andy Feng
Create a simple and flexible HTTPS server using JDK to process GET/POST requests
by Uros Calakovic
Create Groovy classes at run-time and use them from Groovy or Java
by SaahilPriya
Creates an XML File, and extends its Node if it already exists
by B. Clay Shannon
How to create an Android Activity and its associated Layout file, then invoke (intent) them from another Activity
by AjithKp560_
Creating a simple animation using sequence of images
by Benktesh Sharma
Tips for tracking progress on multiple async tasks in Android
by Datalogics Inc.
Options to turn Java code into executables that can be used from a programming language
by shash kant
How to develop a custom App Chooser to show SMS and Whatsapp in Chooser dialog
by valeriyabobko
A simple example of using custom tile server for Android maps using OSM (Open Street Map) library
by Ahmed Alaa El-Din
I customized StickyGridHeaders to work on any data and group by any data.
by VISWESWARAN1998
CyberGod KSGMPRH is an open source antivirus which is designed to work under Windows operating system. It comes with a DOS Engine helping developers to customize the anti-virus engine as they please.
by Vivek Goyal
Debugging Java JNI and C++ code in COM based application
by Mani Murthy
Provides a brief overview to developing Android application for developers who are from the ASP.NET background
by Mani Murthy
Provides a brief overview for developing Android application for developers who are from the ASP.NET background. This is the second part.
by Arpit Mandliya
It explains decorator design pattern in detail with example.
by Kevan Hadvani
This is my humble effort to explain so called complex Design Patterns to explain as simply as possible
by JoCodes
Creating Simple Android Chat Bubble or Chat UI Layout
by csanuragjain
How to determine the IP address for a website in Java.
by Salar Hafezi
Through this tip, we develop a Java class named TimeUtil to extend Java's built in Date class so we can work with local times in our application.
by AjithKp560_
Java Implementation of Diffie-Hellman Key Exchange Algorithm
by Ngo Tuong Dan
Using JTDS - SQL Server and Sybase JDBC driver to access SQL Server from Android APP
by Grasshopper.iics
Most inefficient yet easy Devanagari Transliteration
by Coderguy194
A borderless JFrame needs an extra bit of coding to make it draggable
by Chris Copeland
A simple class which provides drawing support for formatted text
by philong89it
Dynamic list in LWUIT
by B. Clay Shannon
Call a RESTful method from Android without breaking, or in any wise damaging, a sweat
by Osmund Francis
Creating templates in Eclipse to generate Java EventQueue statements
by WebMaster
An Eclipse plugin to explore/zip the selected resources ( project, files, source code...).
by OriginalGriff
If you are trying to follow the instructions on how to get your system up and running with Eclipse, you may get an error when installing ADT
by lessthanoptimal
With the release of v0.24, EJML is now under Apache 2.0 license and supports fixed sized matrices.
by Omar Gameel Salem
Avoid typing view names in Spring controllers by hand
by skprasadu
In this article I have demonstrated using a simple Java Keystore to achieve 2 way handshake.
by kjburns1980
This tip provides code for an enhanced version of the JTabbedPane which allows the developer to add toolbar buttons to the beginning or end of the tab set.
by Jaydeep Jadav
It is important to understand that the equals( ) method and the == operator perform two different operations.
by joseacl79
Create a Google maps app and add markers on it
by Eduardo Antonio Cecilio Fernandes
Add asynchronous tasks, using threads, in Android activities while updating its progress to the UI. Use this technique for SDKs lower than 1.5.
by SanketAB
This code extracts a substring embedded in a variable in an HTML tag.
by ZamirF
Can we simplify it by: (This essentially passes only two numbers). public int GCD(int value1, int value2){ int max = 0; bool gcdFound = false; int counter = 1; //Make sure both numbers are atleast 2 or above if (( value1 <= 1 ) || (value2 <= 1)) return...
by jfriedman
/// /// Find the Greatest Common Divisor /// /// Number a /// Number b /// The greatest common Divisor public static long GCD(long a, long b) ...
by Mauro Leggieri
It is better to do this:public static long LCM(long a, long b){ return (a / GCD(a,b)) * b;}To avoid overflow on big numbers.
by Azim Zahir
This article describes the File Change Notification functionality in Java 7.
by Member 14088083
How to select file for file upload using selenium web driver
by Shubhashish_Mandal
Filtering a List of custom instances
by ExcelledProducts CEO
Closest latitude and longitude to a referenced latitude and longitude.
by Varun Sriram
This article explains how to develop a custom Java utility to find and replace strings in multiple files in one go
by discompsys
This tutorial describes how to convert the recursive method call in said algorithm into a flat loop call, to save memory in restricted environments.
by mrcellux
FluentJdbc Query API for more convenient native SQL querying
by dmgcodevil
Framework for performing aggregation and plain MongoDB queries in myBatis style
by Ramiz Raza
This tip talks about how garbage collection works in Java Virtual Machine.
by Fabrizio Stellato
Generate entities, mapping and configuration files with Hibernate Ant Tools. Apply reverse engineering in a few seconds !
by NATKIT7
One example of the need to have a set of nested loops in is combinotronics where you are trying to generate all possible combinations. If we want to have a variable number of elements generated then we need to look at having dynamically nested loops.
by farhad2161
In this article we will implement a general Parcelable class and name it ParcelableEntity. Then all other entity class can extend it, then they will be parcelable too. So there is no need to implement Parcelable class for other classes.
by ShubhamSaxena
Getting started with Android development.
by KishorM
To get started with cucumber using selenium with an example.
by josh-jw
This tip will help you to develop global variable in Android application.
by Azhar Mehmood
Google App Engine - JAVA, DataStore implementation using JPA 1.0
by Pankil Bhatt
In this tip, we will see how to use the Google Maps API and Google Maps with custom styles and a custom pin.
by Hariprasanth S
Navigation pattern like in Google News Stand app with transitions
by Yazad Balsara
Review of a smart document viewing library with annotation features.
by JoeSpider13
Growing Java array class.
by Kibo Hutchinson
Here is a guide to Java Trust Store and Key Store Configuration
by Abhishek Kumar Goswami
This tip compares GZIP compression facility provided by Java and .NET.
by JoCodes
Handling multiple click events of multiple buttons placed inside CardView / RecyclerView from Activity instead of from Adapter
by krasnoff
In this article, we will learn to write code which responds to various phone events such as: phone ring, start conversation, start outgoing calls, etc.
by AjithKp560_
Enhance Image using Histogram Equalization
by Kashif.Mushtaq.Ca
A time-based, One-time Password Algorithm (RFC-6238, TOTP - HMAC-based One-time Password Algorithm) based token, implemented by e.g. Microsoft or Google Authenticator mobile application.
by B. Clay Shannon
Step-by-step instructions for adding an Async Task to an Android Activity
by josh-jw
This article will give you a good idea about adding external jar files in Android Studio.
by Beavis Killer
This tip describes how to attach a dynamic PDF to a Salesforce messaging email template.
by Vladimir Kolmanovitch
Technique of calling overridden methods from Java and C#
by Member 10843807
An example to illustrate how esProc Helps Process Structured Text in Java–Conditional Filtering
by ASP.NET Community
How to copy the text of a textbox to clipboard using JavaScript.
by V. Subhash
A simple Java class to enumerate fonts in your systems and create a text samples document
by omid.nazifi
In this article, we try to make a shelf view show a list of books or newspapers, etc.
by AmrDeveloper
How to get any Adapter class from model class easily and quickly
by Silvia Campo
This post contains steps on how to set up an Android application widget in an hybrid mobile application using Apache Cordova and the plugin ACE from Microsoft.
by Softarex Technologies, Inc.
Step-by-step case shows how to optimize a web application using new technologies which can easily increase the performance
by IAndreev93
Development tools development
by huyletran
Cut bitmap!
by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
by giaosucan
Simple way to create service on Android Application
by Vladan.Obradovic
How to easily write a user's guide for your application using different file extensions
by B. Clay Shannon
How to View Every Change You've Ever Made to a File in Droidio With No Setup
by Lai Taiyu
To establish a different picture of the Android camera by image processing (Gray and Comic)
by mohamadArdestani
get shutdown message in java application with jni
by Hadrich Mohamed
This tip shows you how to make your own Android Weather Application using XML Parsing.
by B. Clay Shannon
Easily create and hook up values to display in an Android Spinner
by Aftab Ahmed Sajid
Preventing browsers from saving Admin user passwords, intentionally or unintentionally while using STRUTS forms
by Tiago Cavalcante Trindade
How to put color in Python, C, C++, C#, Java and batch on the Windows console
by Hadrich Mohamed
This tip shows you how to easily retreive soma data from xml file
by B. Clay Shannon
Simple code to send email which contains Exception text from a Catch Block
by harshadura
Simply send SMS using Java with GSM Modem or HSDPA Dongle
by Andrey Chaschev
Describes how to install and use Bear to set up and manage Tomcat cluster
by d.jrmwang
Recording one solution to share lib between solr cores
by vudangngoc
Synchronization is slow, why and how to do better?
by B. Clay Shannon
Step-by-step instructions on how to view SQLite data from Android Studio and SQLite Data Browser
by Marc Clifton
Each function should answer "how-what-why."
by Alexander Iskhakov
Creating a HTTP proxy using Play framework and WS API
by Luciano Culacciatti
Implementing SqrtRoot in BigDecimal
by Marius Iulian Mihailescu
The article describes the use of InetAddress class with short and easy-to-understand examples. I have tried to focus on practical examples showing how we can obtain information about a host. The examples provided in this article are provided from the academic point of view.
by Effi Bar-She'an, Lital Kornfeld
A framework for plug-in loading and a way to load plug-ins in development environment that doesn't require redeployment of the plug-ins
by Samson Mebrahtu
Asterisk Java integration using fast AGI
by Nicholas Gandolfo
Using Openlayers to display interactive nodes and links.
by lessthanoptimal
Comparision of Java linear algebra libraries
by Member 10771162
Introduction to Play framework
by saddam abu ghaida
IP/Subnet Calculator Lib
by vudangngoc
Travelling over Java collections is just a piece of cake, but when the size of the collections increases you have to choose wisely
by Mircea Sirghi
Jacob for Excel, pivot tables, VBA functions, etc.
by Jalal Ali
A guide on sockets, and how to send objects across them
by Emiliarge
A JavaFX/Swing NetBeans 8.0 Project with JFrame created by NetBeans's GUI Builder
by Member 13797506
Introduction to structs (value types) in Java
by vudangngoc
A quick comparison of Java 9 Flow API and Lmax Disruptor
by IAndreev93
Very Simply MDB/ACCDB Viewer with Swing GUI written in NetBeans IDE using GUI Builder
by IAndreev93
Very Simply MySQL Viewer with Swing GUI written in NetBeans IDE using GUI Builder
by Jan Bodnar
This tip shows how to use a Spinner widget in Android Java.
by Oliver Li 2024
Java Code Change Impact Analysis
by matalan44
How to generate code in Java
by maxcellent
Java date generation with Lamma date library (1)
by maxcellent
This article discusses basic date sequence generation with Lamma date library in Java
by Md Wahiduzzaman khan
It's finally time to jump into the wonderful world of memory management and Garbage collection.
by avi shaby
This tip describes the Java implementation of Base26GPS.
by Sukhpal Singh JNU Jaipur
Java Json Parser Online Tool
by Salar Hafezi
How to optimize heavy String/Array manipulations
by emartinho
A Java String property value starting with a single number (e.g., a CRON schedule like "0 30 */1 * * ?") is truncated to just the first number.
by jhouns
A really simple look and feel picker
by Arman S.
This small piece of code shows how one can use Java standard libs (non-third party) to convert a RTF text into HTML.
by Maximilian1986
Implement the Lambda expression to handle the class Shape in Java8: the power of declaration programming.
by Luca Basso Ricci
How to build the JNI signature for a Java method
by Mattias Ordboken
jvmtop is a lightweight, open-source console monitoring tool
by Dung_Le
Keep track of your system or application with Notifier Mobile Service
by Peter Silling
Lambda expressions were introduced in Java 8, and the concept is little bit different than in C#. We'll go through how these things are implemented in C# and in Java.
by Ross Brigoli
A simple and light-wight timer/background worker class for Android that does not spawn new threads.
by prashantaxe
An efficient Message rate limiter using circular buffer
by JIANGWilliam
Specify the displayed position before launching a ListActivity
by john0609
This tip will provide the basics and one place use of reflection in Java.
by shash kant
Configuring Log4J for Jetty
by Ohad Redlich
In this article I explain Spring's implementation for the log-out mechanism
by OmiD_Haghighatgoo
implementing lottery algorithm in java
by Hammad Zahid Ali Zafar
This is a simple app that may have not many features but it sets the basis for a good Desktop Email Sender App.
by wseng
Step by step on how to make a connection between Java and MySQL.
by Lewis Kerr
A quick code solution of how to make HTTP requests through a proxy with Java
by Kornfeld Eliyahu Peter
How to get information and use of Java from JavaScript...
by Fabrizio Stellato
Create a JSTL tag for manipulating and print the output of each object inside the list
by AprNgp
A simple code to map JDBC ResultSet to an Object using Annotations in a generic way
by martin.nedopil
Logical card Android game
by Abdelrahman Elzedy, Abeer Touny
A description for a Java code implementing a Matrix program in a GUI form
by FrostedSyntax
Regex patterns that will condense multiple spaces, tabs or line breaks into a single space, tab, or line break.
by Snesh Prajapati
Moles (Shims) vs. Mock Frameworks Count - Why So Less
by Mirzakhmet Syzdykov
Overview of the strategy in turn-based MollyMage game
by Rahul Kumar 1991
Creating a Custom Aggregator component in Mule ESB
by Rahul Kumar 1991
Creating a simple Synchronous File Reader
by Rahul Kumar 1991
Mule ESB: Creating Custom Fliter
by James Dale
My Windows Sever 2003 reaches its end of life in 2015. I do not look forward to moving to Server 2012. Surely there has to be a better, portable, and cross platform solution that features zero install and fits on a USB stick.
by LegoMindstorms
A Java applet to check if .NET 3.5 is installed
by Hovanes Manucharyan
Programming with Google Apps Admin Audit API
by apis3445
This is another book about ADF
by Davinder Singla
This tip is for solving out of memory issue for large result sets in MyBatis
by marcus obrien
This article compares the OO features of inheritance and function overriding in C++, C# and Java.
by NikulDarji
Padovan sequence in core Java
by DASoftware
Tip on how to pass a value to an intent
by Dr Neelendra Badal, Prince Verma, Amit Patel, Satakshi Gupta
It is a tool to extract desired information from Pdf documents, we have developed it in context of extracting information of an individual from E-Aadhar (it is a unique identity issued by Govt. of India). User can modify the code according to desired Pdf documents.
by Fernando Cortes Flores
An Apache Cordova app that can download a PDF from an URL, store the PDF in the device and show the PDF to the user
by Mirzakhmet Syzdykov
Development process in few steps with the help of scripting software
by Kyle A.B.
Learn how to play Audio in an Android app from an HTML5 page in the Apps Assets folder.
by Tim Kaler
A JAVA based solution to replace bookmarks in your Word files and convert them to PDF.
by lgoyal06
Understanding Producer Consumer Problem using Email Queue Example.
by lgoyal06
This is an alternative solution for "Producer-Consumer Problem"
by Zeff Portal
Prohost Scanner
by Arpit Mandliya
It provides proxy design pattern in detail with example
by Attila Kúr
Alternative Push Notifications (without GCM) targeting a single device
by Member 12234041
Open-sourcing Texas-Holdem 7-card hand-ranking software
by Michael Safyan
If you've done a regular search for API reference documentation, most likely you've come across links to very old versions of the API (e.g. links to Java 1.4.2 instead of Java 5 or Java 6), or you've probably come across plenty of links that are completely unrelated to the actual search (getting...
by Asit Banerjee
Quick event handler in a Java class
by Sam Varadarajan
This post is about how to get the contents of a resource file that is loaded into Oracle as part of Java Stored Procedures package. I&#8217;ve recently posted about Java Stored Procedures in general here. While working on enhancing some Java procedures, I added a simple Java logger class, fashioned
by B. Clay Shannon
Learn how to get all records from any SQLite table, passing the Table Name as String and receiving a StringBuilder
by OmarIsaid
Java implementation for the RC4 stream cipher algorithm, the RC4 is implemented using the IDE 8.1
by harold@talerian.com
C is still the best language for native-code development.
by Piotr Gałecki
A simple trick that can relieve the database during a brute-force attack.
by arteysoft
Get rid of dependencies through the use of Functions
by Mirzakhmet Syzdykov
Description of the newly available Regex+ engine for Java
by Mirzakhmet Syzdykov
Description of the newly available Regex+ engine for Java
by Yildirim Kocdag
This article helps you to reject and accept an incoming call for your Android device with functions.
by devendra_sahu
Remote desktop application
by Matteo Risoldi
A quick to implement way to remove unused mappings from web.xml
by Bilal N Gharib
This article is about automatic resizing of a frame and its controls with the same ratio in Java.
by anand kr
Develope Richfaces web project in Eclipse JavaEE IDE with maven support using archetype
by Effi Bar-She'an, Lital Kornfeld
Running JUnit tests across multiple projects
by huyletran
Rotate bitmap
by Juan F. Paleo
Encrypt data with RSA Public Key
by jlayani
RuleRunner is a simple decisioning algorithm that is driven by a properties file.
by MAU787
Integration of a Java applet in ASP.NET.
by Martin Ton
How to run Java code on the fly
by Yaseer Mumtaz
This small tip will help you to save email with attachment in Outlook's draft folder using Java programming language.
by Mirzakhmet Syzdykov
Science and programming on working examples
by Emiliarge
How to send data to device and receive data from device through COM-port
by Deepali Dhingra
This contains information about Sensors in Android.
by B. Clay Shannon
Simple tip on how to show a toast in response to an event, and center it in the screen
by WebMaster
Show/hide password in a edit text view (password type) .
by vudangngoc
Is it easy to create an IoC container?
by Mehdi Maujood
This tip provides an approach to object-oriented programming for developers familiar with class-based OOP in languages such as C++ and Java.
by Mirnes Mrkaljevic
This article shows how to use JSON response from REST service using Java GSON API.
by Coderguy194
Make a music player using 3rd party libs in Java
by User 1234567
Logic to create Pie chart with rotated labels
by Kamran_Shahid
Singleton pattern implementation in Android
by Phuong Thanh Nguyen
The programs are for sending and receiving emails
by makpandian
A simple source code line counter written in Java
by Filipe Marques
How to parse a string in Java.
by Ngo Tuong Dan
A usecase for Java beginner
by n.massari
Library to send and receive objects between an android client and a web service
by citrin
About the bitness challenge in software development
by Or (David) Berkovitch
Resoled using a simple Maven dependency.
by Atulkumar P Patel
Anti Patterns are wrong practice followed by Developers. They are opposite to Design Patterns.
by jan.mach71
Spring MVC, Maven, Twitter Bootstrap example.
by István Smrtnik
A Google fusion tables SQL front end for quick query hacks. Comes with code completion, syntax and error highlighting plus some extra commands like DROP TABLE. Antlr4 grammar included.
by Andrea Flesca
Activiti in Action is a great book, but I had some problems in performing the two simple exercises of the first chapter due (IMHO) to the lack of some information
by Muhammad Nahid
Store Credit solution
by josh.rendon
That conclusion is definitely wrong. Your equation expanded equals: b = (a+b) - (a-b) = a+b - a + b = 2*bFor your example a=20, b=10b = (20+10) - (20-10) = (30) - (10) = 20b = 20 + 10 - 20 + 10 = 20A counter example to disprove this: a=75, b=88b = (75+88) - (75-88) =...
by GregEllis
You can do it with some XORs:int a = 25, b = 7;a = a ^ b;b = b ^ a;a = a ^ b;Or the same thing with some shorthand to make the code even harder to read:a ^= b;b ^= a;a ^= b;
by cigwork
I wanted to show a "no data" legend when there's nothing to show for an asynchronously loaded list and a busy indicator whilst items are being sought/loaded.
by Trần_Tuấn_Anh
In Java, Synchronized and Concurrent are two fundamental concepts in multithreading
by Dominic Burford
TeamCity vs Cruisecontrol.NET
by Member 8735318
Differnces betwenn testing and QA.
by Rajaraman Raghuraman
Step by step guide to problem solving in programming especially for beginners.
by V. Subhash
Android code shortcuts to explore newer SDK APIs
by Jackson Jiang
Introduction to and development journey of a real-time transcription function
by pgmr_64804
Tree View in Swift for Android that is easy to implement and use
by Yesy
Demonstrate how to use the Android drawingstate
by discompsys
An easy way to allow local objects with direct access to invoke methods on a class, but prevent them from being part of the public API, for remote invocation.
by Mr Digs
A brief look at using Event Forwarding to separate your JavaScript from your HTML
by Andrey Chaschev
An introduction to the Wookie, a Java/Scala library to automate web browsing.
by Brendan Lester
Use of an Oracle 11g Skip Lock feature to easily implement a scalable, robust work queue
by Dhanabati
Using Bootstrap Carousel Slider in Servoy 7.4
by Alain Peralta
How to use getMagicCaretPosition without getting null value
by jit_knit
Using Hardware Keys on Android for Security Apps
by JinWenQiang
How to capture and process packages using Java language
by Azim Zahir
This article explains creating a JSF application using NetBeans 7.2.1 and Oracle 11G.
by Martin Ton
Using JNI to read Window-My in Java.
by JoCodes
Filter ListView Items using Spinner ( with custom adapters, Model Classes )
by joseacl79
This tip is about the spring security and how to create a custom JSP page to login with.
by Bruce Yang CL
A way to query the data from Internet
by Aminul Karim
Vaadin7 jQuery UI integration
by csanuragjain
Captures, searches, and manages all your screenshots in one place.
by Anshul Mehra
This tip/trick will map Visual Studio IDE Key Bindings to Eclipse IDE
by Ahmad Kharsah
Fix VS2015 Crashes when open *.axml file after Update Xamarin and Java JDK
by rover tamarys
Chromedriver and how to use it
by sonic_youth
This tip will tell you how to add popular web maps such as Google, Nokia, OpenStreet and Yandex maps into a Webix app with just several lines of code.
by jasper.mandos
/// /// Stuct for the ISO 8601 week date/// /// /// See:/// See:/// Algorithm:<see...
by Richard MacCutchan
Week numbers according to ISO8601
by Luc Pattyn
This is an alternative to "Week Numbers According to ISO8601".
by Hadrich Mohamed
This tip shows you the most important new feature in Java 8 release.
by Pavel Evgenjevich Timoshenko
Is there a technical reason why white spaces aren't allowed in names of constants, variables, methods, classes and namespaces or is it in accordance with any convention?
by Sergey Yaskov
If you have a string of date/time without time zone information, you can have unexpected results due to Java default time zone.
by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android
by Saket Vyas
A Java application that can accept any number of arguments directly from the command line.
by Yochai Timmer
A way to avoid JNI's reflection oriented programming. Wrapping Java with C++
by Łukasz Bownik
A fluent JDBC wrapper written in 200 lines of code