News


37 Votes Vote

Failed to load 64 bit library: Can't load library:

Posted by External 9 hours ago General
http://www.daniweb.com — I want to play Offical Crafting Dead on my mac from my technic launcher but all I get is a white/grey screen which does not move or do anything. I would really like to play it and here is the console script... [B#439] Analytics Response [runModpack]: 200 [B#439] Java HotSpot(TM) ... Read More
Discuss Bury
Tags: failed load bit library load library All
28 Votes Vote

Need help with 'super' constructors..

Posted by External 9 hours ago General
http://www.daniweb.com — Hey guys! So the error I'm getting is "cannot reference hoursWorked before supertype constructor has been called". I've just recently learned about using abstract, extends, and the keyword "super". What should I do in order to get rid of the error? Am I missing something? Here's my code so far: ... Read More
Discuss Bury
Tags: need super constructors All
35 Votes Vote

How to set spaces between characters.

Posted by External 9 hours ago General
http://www.daniweb.com — Hello, Can anyone show me how to set width between character in java. I'm looking for something like this. Items NumOfItems Price A 2 $10 B 1 $5When I use the for loop to make something like the table above it shows something like this. Items NumOf Items Price A ... Read More
Discuss Bury
Tags: how set spaces characters All
28 Votes Vote

JoptionPane check conditions

Posted by External 1 day 9 hours ago General
http://www.daniweb.com — I noticed a few things about my results from my codes.If I don't key in anything,no matter what I press(the ok,cancel or the x button) It will print out Please enter an integer value cannot be 0 or negativeand contiune to prompt me until the I key in a positive ... Read More
Discuss Bury
Tags: joptionpane check conditions All
27 Votes Vote

Array throwing NPE

Posted by External 2 days ago General
http://www.daniweb.com — I am getting a NPE on `a`. I have no idea why the array would be null, but heres the relevent code for it. public void setAbility(Ability[] abilities) { for(Ability a : abilities) { sb.append(a.getName()); } pAbility.setText(sb.toString()); }Method called here: Pokemon sPokemon = Pokemon.getPokemon(sender.getValue()); ... pController.setAbility(sPokemon.getAbility()); Passed getAbility(): public Read More
Discuss Bury
Tags: array throwing npe All
40 Votes Vote

how to create automated code reviewer using java

Posted by External 3 days ago General
http://www.daniweb.com — I have acode review checklist which I would like to automate, Could anyone suggest me how i could get started with this.I would like to create a tool which takes in java extensions and reviews based on custom review check. Would this be time consuming?? any insights on how to ... Read More
Discuss Bury
Tags: how create automated code reviewer java All
26 Votes Vote

Validating input through a constructor

Posted by External 3 days ago General
http://www.daniweb.com — I need help with my constructor that should call for all the user inputs, for example their first name, and the information gets checked to make sure it's valid. For example the name is all letters, and the identifier is actually 9 digits, etc. I can set the default constructor, ... Read More
Discuss Bury
Tags: validating input constructor All
34 Votes Vote

Java snacktime bot

Posted by External 3 days ago General
http://www.daniweb.com — I'm new in java, so I'm not very good at it yet and my teacher has stumped me. We are supposed to make a bot for a game called snacktime, which is usually user controlled.# About Snacktime: #* There are a maximum of 16 snacks layed out randomly on 600x400 ... Read More
Discuss Bury
Tags: java snacktime bot All