Update Gbits.java

updated drawing logic.