Deceiver Posted February 4, 2016 Share Posted February 4, 2016 hi can someone post a profit/hr method bc none work and idk how make thanks Quote Link to comment Share on other sites More sharing options...
Volta Posted February 5, 2016 Share Posted February 5, 2016 learn maths Quote Link to comment Share on other sites More sharing options...
genzyBug Posted February 5, 2016 Share Posted February 5, 2016 void profit(){ System.out.println(" profit/hr "); } Did I do it? 1 Quote Link to comment Share on other sites More sharing options...
Deceiver Posted February 5, 2016 Author Share Posted February 5, 2016 learn maths no my ex does math 4 me Quote Link to comment Share on other sites More sharing options...
FrostBug Posted February 5, 2016 Share Posted February 5, 2016 (edited) private void drawProfitH(Graphics2D g, int profit, float hours) { g.setColor(Color.PINK); g.drawString("Profit/h: " + (profit / hours), 10, 100); } np m8. I customized it to fit your preferences as well. Edited February 5, 2016 by FrostBug 3 Quote Link to comment Share on other sites More sharing options...
Explv Posted February 5, 2016 Share Posted February 5, 2016 hi can someone post a profit/hr method bc none work and idk how make thanks 1 Quote Link to comment Share on other sites More sharing options...
Deceiver Posted February 7, 2016 Author Share Posted February 7, 2016 Quote Link to comment Share on other sites More sharing options...