When a user clicks on a vertex i want to set visible a panel that displays (some of) the vertex's properties (The JUNG tutorial explains the same behavior using PopUp menus). Could someone plz give explain which plugin i have to use for that?
thanks for any tip,
Sounds like you'd need your own plugin for this. Basically you just need to listen for clicks on the vertices, though, so you can use the existing plugins for guidance on most of it. Populating and making visible the panel is up to you.
Related
I am working on eclipse RCP product. I want to know how to add hints to users. I mean when they open our tool for the first time, I want to add some hints to click here and there (kind of a walk-through of the tool). Not just light bulb hint (which we see in eclipse), some other different types of arrows as well. My requirement can be best illustrated with the interactive tutorial of criminal case game in facebook. Please check this image with hints: http://www.mobygames.com/images/shots/l/673844-criminal-case-browser-screenshot-first-crime-scene-a-tutorial.jpg. When the user accesses the game for the first time, they have a very nice walk through. Can this be done in eclipse? May be not this much fancier, but at least basic version with an arrow to indicate user to click the button, and then the next button, and so on. Please let me know if any of you have idea on this. It would be of great help. Please point me to any example if it is available online.
You could try to use popup to achieve this. Each hint is an SWT popup and place it in the right location.
we have got a requirement in our ongoing project where we need to show menu items in arc style at both upper space and lower space of the screen in reverse direction(will show you samples). i've tried to use some of the code from the demo of ArcMenu used in Path android application, but what i came up with is this:
This is not what i want to achieve but something like menus in following images.
I am trying to achieve this from last 4 to 5 days but not getting it right. if any one out there has done any research on such problem then please guide me.
any help would be greatly appreciated.
Make ListView in Circular
Follow this its working code. Code is provided by Samsung
may be it will workfor your issues
http://developer.samsung.com/android/samples/Circle-Launcher
That's quite a complicated task, especially since you want it to scroll while respecting its arc shape. There are probably no fixed answers for this, you'll have to manually create this type of interaction. Unless you have specific code examples of what you've tried and failed at, I don't think anyone can really help you here. Besides the technical difficulty, you could wonder if it is really a smart idea to have THAT many options in an already pretty unclear/overwhelming widget, that you can scroll to even more options. Maybe some design re-thinking is a better option.
Some examples though which could you get on the way would be here;
https://stackoverflow.com/questions/12072692/a-circular-layout-with-scrollable-contents-in-it
I'm looking for some guidance or just ideas here. We designed a basic/small Java chat client/server with a GUI. I'm thinking about developing this a bit further for fun.
I'm hitting a dead end with listing the users though. I would like a nice, clean list of your friends. With online/offline status and so on (even if its just a change in colour of the text). Maybe right click to whisper.
Anyone have any thoughts/ideas to help?
Use a custom JList cell renderer with appropriate JLabel and/or any other swing component. See example here
I did this as my first Java project. My source code and executable are up for downloads.
Here Source and Jar Executable
I'm trying to create a GUI with netbean, and I've created a tool bar with different icon. What I want to do is this: When you mouse over one of the button I want a little text bubble to appear with text that I will have specified.
I've been searching the web for a while, and all I could find was something about this package: "org.openide.awt" wich contains (in theory from what I've read) NotificationDisplayer.
If this thing really works with java and netbeans well, I can't get it to work. All I need to know is does this package is actually netbean/java compatible, or better, if there is a simpler way to display a text bubble.
A tool tip?
The JComponent API has support for that.
Check if this is what you need:
How to Use Tool Bars
ie:
If I have Java program and I need to alter it to an interface and include icons,
is there any easy I can do this and is there a good application that can help me to do it ?
or do I have to code it in myself?
Nop, /me thinks ur need 1337 mad Java programin' skillz!
Translation for the rest of the world: Sorry, you'll need to program in Java.
Added: Hey, what's with the downvotes? He started it! :P Besides - no matter if he wants to add or modify (the original text wasn't clear on this) the UI of a Java program, he will need to program in Java to bring his UI together with the code. There is no miracle tool that can allow you to draw an UI and it will suddenly do what you do.
Netbeans has a Swing GUI Builder. Quoting from their website. Let's hope this doesn't count has hidden advertising :)
Design Swing GUIs by dragging and
positioning GUI components from a
palette onto a canvas. The GUI builder
automatically takes care of the
correct spacing and alignment. Click
into JLabels, JButtons, ButtonGroups,
JTrees, JTextFields, ComboBoxes and
edit their properties directly in
place. You can use the GUI builder to
prototype GUIs right in front of
customers.
If you want to add a UI to your Java program there are tools to help you, such as the Swing GUI Builder inside of IntelliJ Idea. However, you're still going to have to write the appropriate code to hook into the UI.
It's just a website? Well depending on whether it uses CSS you might be able to just modify a .css file. This will only let you modify how the site looks as opposed to works.
See here for an example of how this technology works. However this depends on how css-dependent the website is and it's possible you may still run into some difficulties.
You want to use a Java framework to help you with the UI. For example, you can use JSF (Javaserver faces), which allows you to drag and drop components for a UI onto the site. Otherwise, you can use web programs such as Dreamweaver to design the UI, before coding the backend logic yourself in java.