Images aren't displaying.. Java

I am trying to make this program that has two images that move in the straight line and when they read the end of frame, they turn their direction... But the thing is, the images aren't appearing on the screen idk why.. Here is my code for Actor clas...
more »

2017-03-19 12:03 (2) Answers

Generate ROC curve in Eclipse(weka)

I've used the following code to train/test some classifiers : public class WekaTest { public static BufferedReader readDataFile(String filename) { BufferedReader inputReader = null; try { inputReader = new BufferedReader(new...
more »

2017-03-19 09:03 (1) Answers

Scala Eclipse IDE configuration

Already installed java, scala and SBT followed steps of instructions on Lynda seems work in terminal v1020-wn-206-156:~ zhongyuan$ scala Welcome to Scala 2.12.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_121). Type in expressions for evaluation...
more »

2017-03-18 00:03 (1) Answers

Mandelbrot Set Wrong Shape

I am currently trying to code a program which generates a mandelbrot-set. however even though i did a lot of testing with each single method. The shape of the whole set seems to be wrong .I am looking for help and would be really glad if someone know...
more »

2017-03-17 23:03 (1) Answers

JUnit test case runs multiple times in eclipse

I have Test classes and covering test suite in the same package. When I right click on package and use "run with junit", eclipse runs my test classes independently and also from my test suite. So basically double execution. Is there any way to preven...
more »

2017-03-17 19:03 (1) Answers

How to install spark on Windows 7

I'm in an internship position and i have a limited access to a downloads/installation in the system. My problem is how to install Apache spark on Windows 7 (Always I used it via Hortonwork into VM but in my internship i don't have a right to install ...
more »

2017-03-17 14:03 (2) Answers

Distribute C++ binaries across linux

I would like to distribute C++ binary that is created by using Eclipse ++ IDE, with the following settings: Cross GCC Compiler: gcc -std=c++17 Cross G++ Compiler: g++ -std=c++17 Tool Chain settings: Cross GCC Compiler Cross G++ Compiler Cross GCC L...
more »

2017-03-17 07:03 (1) Answers

How to disable 'F1' in eclipse?

In Eclipse's Preference's keys, it's allowed to set 'F1' binding for any key. However, it seems that 'F1' is preserved for triggering 'Help'. All non-newbies need 'F1' very rarely, so this takes up a valuable place on the keyboard which is convenie...
more »

2017-03-16 10:03 (1) Answers

Using Botan library with Eclispse

I am trying to use botan library with eclipse. I have compiled botan using Ubuntu and I created small program as follow #include <botan/botan.h> int main() { LibraryInitializer init; return 0; } But I have got fatal error: botan/buil...
more »

2017-03-15 20:03 (0) Answers

Getting url auto redirect issue at debug point

I am using testng, maven framework for my selenium automation using Java on eclipse. I had once manually changed browser url on reaching debug point in eclipse, and now every time where ever i put debug point, browser url gets automatically redirecte...
more »

2017-03-15 14:03 (0) Answers

Keeping SWT Text box size after setting text

When I use setText() on one or both Text fields, it resizes the field to the length of the text. How do I prevent that from happening? inner = new Composite(middle, SWT.NONE); inner.setLayout(new GridLayout(5, false)); chkbxBtn = new Button(inner, ...
more »

2017-03-14 23:03 (1) Answers

Strange message with servlets

I am using eclipse with tomcat here is my servlet ,the problem is when I click the button called GetStared it redirects me to empty html page with the text "surved at :myproject123" . myproject123 is the name of my project in the eclipse IDE. @WebSe...
more »

2017-03-14 21:03 (1) Answers

SonarLint: update all bindings issue

Updating all project bindings on the SonarQube server view (by right-clicking and selecting "Update all project bindings") gives the following error: Failed to update binding for 2 project(s) Unable to update binding for project 'GRSP' ...
more »

2017-03-14 18:03 (0) Answers