ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm fairly new to commander so I have some basic questions I hopw someone can help me with. How do you put icons onto buttons in Kommander (like Swing components in Java)? Also how do you get a button to open another Kommander file (in the executor)? I'm having trouble working out how to link forms.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
Hi Mark_667,
I guess you have either given up on kommander or resolved it yourself in the meantime. The kommander version I use is 1.2 (in KDE 3.5.4). I just found this thread searching for kommander stuff myself. To get it from the 0-reply list and give someone else searching for it a clue:
To put an icon on the just right-click on it and choose "Image".
To open another dialog from a button: Right-click on the button, choose "edit Kommander-Text" (should be third from above, sorry, German locale set here) and insert "@dialog(kmdr-03.kmdr)" -- substitute "kmdr-03.kmdr" with your dialog's file name. Give the absolute or relative path if it is not in the same directory as the one you want to start it from.
Kommander is not exactly a Java GUI development tool. It's meant for creating dynamic GUIs for non-programmers and might not fit into your idea as a regular "programming" GUI editor along the lines of qt-designer or Glade. It certainly has a different purpose, you can read more about it here:
Thanks for getting back to me with those responses, I've had another go at it since I got them and made some progress after neglecting it for some time. I was hoping to find a way of puttng a image (pixmap) and label on a button at the same time, but it seems you can't do that. Maybe a consideration for a future release? Until then putting an image on the button and a label underneath served my purposes quite well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.