You are not logged in.
Now who would dare do such a thing?!
One day, I was playing around within a Java IDE and I accidentally wrote Jacman. Please don't hunt me down - it was an accident, honest!
But, since it's almost ready, I thought I'd prempt my public decapitation before the actual code was released.
All the details and lots of nice screenshots are available from the Jacman page.
In all seriousness, it was just a little project I thought of to practise my Java GUI skills. Those who've played with Swing will know there's one hell of a learning curve to it. Personally, I'm happy with good ol' pacman from the command line, but hey, perhaps others will like Jacman, if only for being able to quickly browse the available packages. I hope people will agree that it looks better than your average Java application though 8)
I will probably get around to releasing next week, should anyone care.
Offline
wow. that is probably one of the best looking java apps I have seen in a long time.
The name is kinduv strange though. Jacman.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
The name is kinduv strange though. Jacman.
A bit like my name then! I couldn't think of anything cleverer.
Offline
do you have a cvs repository?
it looks very nice
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
Looks great! Nice job, arooaroo. I look forward to your release
Offline
How does it "talk" to pacman? Is there a nice pretty way or did you just parse the CLI output like a couple of the other GUI pacman apps around have?
Offline
very nice, aroo! if i used pacman GUIs i'd be all over this one.
Offline
do you have a cvs repository?
it looks very nice
I don't. Perhaps I will set up a project on SourceForge and use the CVS server there. Of course, I'll make the source available as soon as its released.
Offline
How does it "talk" to pacman? Is there a nice pretty way or did you just parse the CLI output like a couple of the other GUI pacman apps around have?
It's not particularly nice. It uses Java's Runtime class and calls the exec() method. I pass in the necessary command (as you would type it in a shell) and it's gets run. The tricky part was getting the output in real time. Normally, Runtime.exec() just dished out all the output at the end, once the process has completed. This lag wouldn't be very interesting for the user. Fortunately, Sudman helped me out in this thread.
HTH
Offline
Oyf. :shock:
Offline
Real nice looking. I think you have a newbie winner there man.
By the way, it looks similar to Eclipse when starts for the very first time, meaning that its good looking.
Also:
If you could modularize (?) it in a way that you can add translated files, for internationalization, it would be a Good Thing (tm).
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
Real nice looking. I think you have a newbie winner there man.
By the way, it looks similar to Eclipse when starts for the very first time, meaning that its good looking.
Also:
If you could modularize (?) it in a way that you can add translated files, for internationalization, it would be a Good Thing (tm).
I'm glad that so many esteemed Archers have given praise to this little project.
Regarding i18n: I'm already on to it. I'm just having to sort out those main buttons on the intro screen as their size is hard-coded which is clearly not i18n friendly.
Offline
hardcoded button sizes? Do we not know what layout managers are for!? :-D
I haven't tried it, but nice work on making Arch Linux users appreciate a Java App. ;-) I may be recommending it to non-command-line-comfortable users after I test it. My dear sister is running Arch now...
Dusty
Offline
I know, it ain't ideal. If you look at the screenshots, the main screen uses a custom button which are in fact JPanels painted to act like buttons. In order to get them the same width, it seemed easier to manually set their preferred size to a fixed width.
Offline
curious... why JPanels painted to act like buttons? Why not buttons painted to look like custom buttons?
Dusty
Offline
curious... why JPanels painted to act like buttons? Why not buttons painted to look like custom buttons?
Dusty
Because they started life as the work of a friend. It seemed (marginally) easier at the time to layout the the icon and text on a panel, and then paint the background underneath.
Offline
Oh my.... that looks great!
cant wait to see the source code for this lovely project of yours...
Your gui programming skills are excelent!.. if all java programs looked like jacman, nobody would complain about swing being ugly.
I hate coding gui, but looking at your screenshots almost makes me want to dig into those swing tutorials again.
and to answer you question regarding releasing the sourcecode "does anybody care?"... I know I do!
congrats arooaroo!
Offline
The nice thing about arooaroo is he is a solid community member... maybe tihs pacman frontend will actually be maintained!
Offline
/me also wants source code.
I'm guilty of being a lazy java gui programmer... I also cheat and use jigloo.
Offline
GUI programming is Swing is tedious. I don't get on with the GUI builders that much. I sometimes use Netbeans to help with a difficult form when using GridBagLayout - but I basically do all my GUI work by hand.
However, I do try to reuse as many components as possible rather than reinventing the wheel. Most of the cool GUI stuff you can see are not my own invention - they are from various sources in Swing blogs and tutorials. I just brought them together to add some polish.
Aesthetics aside - I do think that this tool is actually usable too!
The source will be released as soon as it's ready.
Offline
cant wait to see the source code for this lovely project of yours...
Dang! I better go and put some comments in then :oops:
Your gui programming skills are excelent!.. if all java programs looked like jacman, nobody would complain about swing being ugly.
I had written an article about this issue for OSNews recently. The default looks are nothing much to look at - but the great thing with Java is you can switch look-and-feels with a couple of lines of code and use some of the great alternatives like JGoodies looks.
If you want to see a beatiful Java app, look no further than Imagery. Drool...
Offline
I've always been rather minimalist about GUI's... things like fades and fruity buttons don't really do it for me, but I can appreciate avoiding absolute layout (which I'm addicted to).
And yes... it does remind me of eclipse.
Offline
If you want a little help via a framework, I have found the jgoodies framework pretty easy to learn and use. It's not a GUI builder, but is programming framework that has helped me create internal apps that look relatively good.
Chris....
Offline
thanks for pointing that out, I'll definitely take a look at that.
Offline
Thanks for your patience. I still have lots of little extras to add, but I thought I'd get 0.1 in to the wild to see what people think.
Go here to the AUR for the PKGBUILD
Or, there's a prebuilt package (jacman-0.1-1.pkg.tar.gz) ready to be downloaded. Download, pacman -A jacman-0.1-1.pkg.tar.gz and 'jacman'.
Hope you guys enjoy it
Offline