Wednesday, June 11, 2014

How to install Hearthstone on Linux

 
How to install Hearthstone on Linux
using "Wine" and "Play on Linux"

1. Get "Play on Linux" from http://www.playonlinux.com/en/download.html

2. Launch "Play on Linux" you should be asked to install any Wine version, you should install  version "1.7.3"

3. Click "Install" and then check "Testing"

4. Search for "World of Warcraft" and wait till you see it in the list, mostly it should already be there.

5. Click "Install" then tell the wizard to use Wine 1.7.3 leave the remaining settings at default.

6. When your asked to select the install File for "World of Warcraft" just cancel the Wizard.

7. Click Install again, then select "install non-listed program".

8. On the second page of the wizard select "Edit or update an existing application", on the next window check "Show virtual drives" and select "WorldOfWarcraft".

9. Check "Configure Wine" and select the tab "Libraries" tab.

10.  type "dbghelp" in the "New override for library" field then click "Add"

11. click "Edit ..." and select "disabled", confirm this with "Ok"

12. On the next screen select "Choose another File"

13. The remaining installation is like the installation of every other Wine Software.

14. After launching Hearthstone first time you probably want to change the settings to run Hearthstone in windowed mode, otherwise you'll probably get massive graphics stuttering.
2 photos
 
reffrence: Markus Weller

Monday, March 31, 2014

Get Object from selected Element JTable in Netbeans


To get Object or Entity from JTable in Netbeans

System.out.println(list1.get(Table.convertRowIndexToModel(Table.getSelectedRow())));

Friday, March 7, 2014

Install silverlight in linux


This post taken from webupd8.org


I've tested Pipelight with Netflix, under Chrome (Ubuntu 13.10) and I can confirm it works (and the playback was smooth!), as you can see in the screenshots in this article. Update: I've also tested it with Firefox and it works, but sometimes the browser freezes, something which doesn't happen with Chrome so I recommend using Chrome / Chromium with Pipelight.


Install Pipelight in Ubuntu


Microsoft Silverlight Google Chrome Linux

Before proceeding, it's strongly recommended to close your web browser. Without doing this, the plugin may fail to install or crash the browser (you can copy the instructions below to a text editor).

1. If you've installed the old Pipelight version, remove it before proceeding:
sudo apt-get remove pipelight

To add the Pipelight stable and Compholio PPAs and install Pipelight in Ubuntu, use the following commands:
sudo apt-add-repository ppa:pipelight/stable
sudo apt-get update
sudo apt-get install pipelight-multi

Then, you can install the Silverlight plugin using the following command:
- system-wide:
sudo pipelight-plugin --enable silverlight
- for your user only:
pipelight-plugin --enable silverlight

By default, this will install Silverlight 5.1, but you can install a different version, for instane 5.0, by using this command instead (don't use "sudo" if you don't want to install it system-wide):
sudo pipelight-plugin --disable silverlight --enable silverlight5.0

Once installed, start your browser and try THIS test Silverlight applet. If it doesn't work, check if Silverlight is available in your browser plugin list (e.g.: you can type "about:plugins" in the address bar).