Bootstrap Alerts

bootstrap-thumbnail

In general term, alert is a warning for a problem. Alerts provide information about security issues, vulnerabilities and exploits. Alert messages are often used to specify attention of the end users such as warning messages, confirmation messages, error messages etc. Using alert messages we can add dismiss functionality to all alert messages. Bootstrap provides different […]

Bootstrap Page Heading

bootstrap-thumbnail

A page header is text that is separated from the main body of text and appears at the top of a page. The page header is more useful on a web page when we have several titles and need to add distinction between them. We can use h1’s default small element and other components to […]

Bootstrap Jumbotron

bootstrap-thumbnail

A Jumbotron is a light weight component which increases size of the headings, width of the viewport to display the key content or information on website or to display highlights of the web page. We can create Jumbotron by using .jumbotron class within the div container. also read: Bootstrap Setup Bootstrap Typography We can create […]

Bootstrap Badges

bootstrap-thumbnail

Badges are small and simple components which are used for displaying important notification to the user such as number of received messages, unread messages, number of friend requests, number of emails found in the inbox of email address etc. Badges are the little numbered icons which appear on the mail and SMS apps when we […]

Bootstrap Labels

bootstrap-thumbnail

label represents a caption for an item in a user interface. It is used to add label to a form control like important notes, warning messages etc. We can also create catching labels and annotate text with inline labels. If we want to specify some important note related to its particular concept, then we can […]

Bootstrap Pagination

bootstrap-thumbnail

Pagination is the process of dividing the content into separate pages and provides pagination links with the multi-page pagination component. Pagination is often used in every web application which is used for displaying limited number of results on results pages. This tutorial explains following topics which are used with bootstrap pagination: Default Pagination Disabled and […]

Create Custom Formatter for Logger Handler

java-thumbnail

This example shows how to write a simple custom Formatter for the logging in Java. Java provides java.util.Formatter class for extending the format of the messages and that can be applied to the handlers. In our previous example, I have explained how to write the logging handlers. If you want to write the custom formatters, […]

java.util.Formatter Example

java-thumbnail

java.util.Formatter class is used for formatting the values passed to the format() method. This class become part of Java since the Java 5 release. This feature is taken from the C language to format the string, numbers, date, etc. in the simplified manner. There is set of variables and expression defined for formatting the values. […]

Java Logging Handlers Example

java-thumbnail

In our previous example I have explained how to write a simple logging configuration in your Java program. This example shows how to use the different log handlers for printing the log messages. Log handlers are the medium where the log messages has to be transfered for the future reference. In bigger applications, the handlers […]

Java Logging Example (java.util.logging.Logger)

java-thumbnail

In our application, logging is one of the important mechanism to capture the messages thrown by the applications. One of the most popular logging framework is log4j which provides the logging in your applications. However, you can implement the logging without adding any third party implementations by the JDK’s built in logging APIs. java.util.logging package […]