Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use the Bootstrap framework in NetBeans?

I recently downloaded the Bootstrap framework from its official website. Currently I'm creating a web application in NetBeans and for designing I want to use this Bootstrap framework I have downloaded.

The Bootstrap package I downloaded contains loads of file but from that I manually added the files like 'jquery.js','bootstrap.min.css' etc.

Now I want to use the glyphicons from the Bootstrap, but I have no idea how to integrate the file of glyphicons in NetBeans. So is there a way by which I can integrate the entire Bootstrap package I downloaded in my NetBeans project ?

like image 675
Saumil Avatar asked Jan 04 '14 05:01

Saumil


People also ask

What is the bootstrap in Java?

Bootstrap is a front-end framework that contains a collection of tools designed to allow developers to quickly create web applications.

What is the easiest way to install bootstrap in your project?

Under the folder, copy the extracted files downloaded from bootstrap. Under the head tag of the HTML file, the CSS needs to be linked. The jQuery downloaded should also be copied under the JS file. Make sure that under the project file, the downloaded files and HTML page must be present in that folder.


2 Answers

Glyphicon is usually included in the bootstrap.min.css else you can import them using

Bootstrap CSS CDN

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">

if you want to use them try using them using the syntax

<span class="glyphicon glyphicon-heart"></span>

Here is the working Demo

let me know if it works

like image 50
jayeshkv Avatar answered Oct 04 '22 18:10

jayeshkv


Bootstrap is built into NetBeans, no need to download anything except NetBeans, as explained here:

https://blogs.oracle.com/geertjan/entry/up_running_with_twitter_bootstrap

like image 36
Geertjan Wielenga Avatar answered Oct 04 '22 19:10

Geertjan Wielenga