2.1.1 Window Fails to Draw
|
|
I just downloaded the new 2.1.1. When it opens, all button, menus (menu titles), auction listings/lines, and column headers do not show up. At least, not until I Mouse Over them. Also, as far as the auction line, I must click on each individual item (for instance the “Shipping” for each line) to view it. However, the “Number” column will not show any data. I am running Win 7, 32-bit on an HP. Just let me know if you want any more info. What can be done, please? |
|
|
… just about the same her (MacOS 10.4.11, JBW 2.1.1) items in the completed list just show for a short time, when I scroll the window content. |
|
|
I also see redraw problems on the “complete” and “selling” tabs under Ubuntu 9.10. I have a large number auctions on both of those tabs and I suspect the problem is related to that. On the “current” tab I only have half a dozen auctions and it redraws fine. |
|
|
I can make all my JBW 2.1.1 redrawing problems in Linux to go way by changing AuctionEntry::isJustAdded to this:
There were a bunch of exceptions coming from there before because getDate() returns null often and the code wasn’t checking for that. |
|
|
I’ve also had problems with the display not functioning correctly. |
|
|
Look for “public boolean isJustAdded()” in file AuctionEntry.java. You need to get the source code from the git repository to get this change done. |
|
|
I have found and edited the string, ‘isJustAdded()’ and have installed the JDK, but I’m at a loss as to compiling the jar file for jbidwatcher. What command do I need to use to perform the compile? |
|
|
The command you are looking for is ant. On Linux the command throws an error message at the very end of the process while trying to build the Windows executable, but that’s OK because the jar has already been built by then. |
|
|
OK. I’ve now installed ant, but when I run it from the jbidwatcher-2.1.1 directory I get the following message BUILD FAILED I don’t even find a src subdirectory names as such. What do I need to edit. |
|
|
I recommend you start from scratch. Get a fresh copy of the source code from the git repository and if you do it right (and nothing interrupts the process) a src subdirectory will be present. This is the command I use to get the source code:
Note the current AuctionEntry.java file from git already has the change I posted above, so all you will have to do is use the ant command to build the jar file. |
|
|
Thanks for the advice in this thread. I’m on mac os x, I’ve got the source via git and run ant. Solved a couple of minor problems, but I can’t get past the error below I’ve got a copy of launch4j and I expect ant is expecting something on the path or current directory. I’ve put a lot of the files in the main directory where build.xml is, but no luck. I’ve also looked through build.xml looking for the directory variable for launch4j, but no luck. Bear in mind I’m not a programmer! Can anyone point me in the right direction? Thanks. |
|
|
Greetings, That said, you shouldn’t need launch4j to build the Mac OS X version of JBidwatcher. Just type: — Morgan Schweers, CyberFOX! |
|
|
wow. it worked. thanks v much screen refresh problem gone |