Disable a single column dragging in JTable
How should I disable just a single column from dragging in JTable? I want to allow other columns from dragging but just the first column (indexed at 0). Thanks. ...
How should I disable just a single column from dragging in JTable? I want to allow other columns from dragging but just the first column (indexed at 0). Thanks. ...
I have this old Fortran executable that can only be accessed through its GUI, and is too complicated to rewrite. I need to integrate it into a tool we are building, so I wrote a GUI wrapper in C# using the White library (certainly not ideal, but I couldn't think of a better approach). This works ok, but when my program runs, the GUI po...
I always seem to have this internal struggle when it comes to user interface. I build up an application "engine" and tend to defer user interface to after I get my algorithms working. Then I go back and forth trying to decide how to let a user interact with my program. Personally, I'm a fan of the command line, but I can't expect that of...
hi there, can you use an image (previously created with Photoshop) to design your app ? I mean connecting the psd objects to functions in app etc. ...
Let's say I have an event and the corresponding function is called. This function interacts with the outside world and so can sometimes have long delays. If the function waits or hangs then my UI will freeze and this is not desirable. On the other hand, having to break up my function into many parts and re-emitting signals is long and...
Starting my first serious GUI app in C#. I have a class that is handling and doing lots of things that I can plug methods from my GUI controller class into and get events when it appropriate. I have several listboxes and other controls I want to update whenever this information is updated. However, I would like to throttle this a bit. ...
Hi, Is there an example for a project a GUI fro script generation? The idea is to let a non-programmer use a front end to enter command and simple logic that will translated to runnable scripts. The programming language does not meter. thanks ...
I need to build a small "monitoring" scraper for a 3rd party website (it's an external website that has stats about our visitors). Unfortunately, this website is very hard to scrape through the normal "wget" mechanism, because it uses a ton of sophisticated JS, part of it generated by GWT. So my workaround was to create a GreaseMonkey s...
If I have a setting that is accessible via a menu item or configuration window that can change at runtime, for example "bold text on/off"; what are some good ways of ensuring that all applicable components are aware the value of this setting? ...
Hello I want to change font of a menu item from bold to regular. I looked few API's like ModifyMenu SetMenuItemInfo but looks like there is no direct API to change the font. Any suggestions whats the easiest and best way to do that. ...
Hi I want to set some text on my edit box, but it should be greyed. Is there some way to do that? I am not able to find the proper API for this. Any suggestions? ...
Hi all, I m displaying a .jpg image in a BitmapField & adding it in a VerticalFieldManager. It is getting displayed but I cannot click on it. I m doing it like.. Bitmap bitmap = Bitmap.getBitmapResource("image.jpg"); BitmapField bitmapField = new BitmapField(bitmap , BitmapField.FOCUSABLE) { protected boolean nav...
I want to add objects to a JList which has already been instantiated by the Netbeans genrated code. I can't pass my own list model in the JList constructor as I can't modify the Netbeans generated code. How can I add object to that JList. ...
I have designed a Swing GUI with the help of Netbeans IDE and this GUI contains a JList. Bydefault, it uses AbstractListModel to pass it as an argument in the JList contructor to create that JList. I want to specify somewhere in the Netbeans to pass DefaultListModel as the model to be passed in that JList so that later I can retrieve i...
I have two JList on a swing GUI. Now I want that when a user clicks on a button (say TransferButton) the selected elements from one JList is added from the first JList to the second JList and remove those selected elements from the first JList. ...
hi, I have a Swing Panel where I search for a text and highlight it using yellow color.Its size is 1/4th of the screen(not sure of exact dimensions).When I search soemthing the first active search is highlighted and shown and whenever I maxmize the screen to full size the highlighted text is not visible.Now is there a way to keep the h...
(VS2008, MFC, feature-pack) Using a CTreeCtrl, I need to have the selected item "better" highlighted when the control looses focus. My Tree is created with the "TVS_SHOWSELALWAYS" option in the resource editor, but the color is not visible enough. I already have code to change the items colors via the custom draw message (NM_CUSTOMDRA...
How to create a hidden window ? The purpose of this window is to receive some messages. ...
I had developed a Swing GUI which contains 12 JPanels. Initially, all the JPanels code was written in the main JFrame class code. As a result, the code became too long (10,000+ lines). Now I want to refactor the code to break the code into 13 classes (12 classes each for one JPanel and 1 class for the main JFrame)instead of 1 class carr...
I'm looking for a GUI toolkit/framework to create applications that run on Mac Snow Leopard and preferably other systems(Windows, Linux). Deal breakers: X11 based Non-native widgets 32 bit/Carbon Bad Mac look and feel As far as I know Tkinter runs X11 and wxWidgets and PyQT do not run 64 bit. Is there anything usable for good looki...