08-03-2010, 03:27 AM
(This post was last modified: 08-03-2010, 08:44 AM by fuzzymillipede.)
The program has been reposted. Tell me if that fixes your problem, vsub. The next version will automatically comment out master codes, since they aren't used by PCSX2. It will also support the zerogs= line and might support multiple comment= lines if applicable.
Does anyone know if multiple comments work? Or does PCSX2 just ignore comments after the first one? Example:
comment=line 1
comment=line 2
comment=line 3
It isn't exactly hard-coded. The components just display at their default sizes. For simple programs like this, I prefer to code the GUI by hand in a no-frills IDE. It makes the code a lot shorter than using a program like NetBeans.
But the size as a percentage of the desktop is a good idea. I will have the window size itself to fill up 90% of the width and 90% of the height of the available space (this is desktop resolution minus stuff like taskbars) on the screen.
Does anyone know if multiple comments work? Or does PCSX2 just ignore comments after the first one? Example:
comment=line 1
comment=line 2
comment=line 3
(08-02-2010, 07:11 PM)Bositman Wrote: Can't you set it to a % of the user's desktop resolution? Hard coding the dimensions doesn't sound like a good coding practice You're using the java swing library right? Have you given netbeans a try?
It isn't exactly hard-coded. The components just display at their default sizes. For simple programs like this, I prefer to code the GUI by hand in a no-frills IDE. It makes the code a lot shorter than using a program like NetBeans.
But the size as a percentage of the desktop is a good idea. I will have the window size itself to fill up 90% of the width and 90% of the height of the available space (this is desktop resolution minus stuff like taskbars) on the screen.