User Interface « Development « Java Swing Q&A





1. Java User Interface Specification    stackoverflow.com

Java supplies standard User Interface guidelines for applications built using Java Swing. The basic guidelines are good, but I really feel the look and feel is really boring and outdated. Is ...

2. Cheap / free "Look and Feel" frameworks for web applications    stackoverflow.com

Usually I'm fortunate enough to work with really good designers. They take care of the look and feel for all of the web applications / sites I build. In the past when ...

3. How I do I make controls/elements move with inertia?    stackoverflow.com

Modern UI's are starting to give their UI elments nice inertia when moving. Tabs slide in, page transitions, even some listboxes and scroll elments have nice inertia to them (the ...

4. is it worth keeping the OS look and feel?    stackoverflow.com

Is it worth to try to keep your GUI within the system looks ? Every major program have their own anyways... (visual studio, iexplorer, firefox, symantec utilities, adobe ...) Or just the frame and ...

5. Sliding Notification bar in java (a la Firefox)    stackoverflow.com

I would like to implement a sliding notification bar as the one in Firefox or IE for my java application. But I don't want to reinvent the wheel and I'm sure ...

6. Generate CRUD UI (Swing)    stackoverflow.com

I am looking for a tool/framework to (automatically) generate a Swing user interface to perform CRUD operations on an underlying database. I would also like to configure the database fields that should ...

7. Winforms Style / UI Look and Feel Tips    stackoverflow.com

Coming from many years of asp.net development back to a winforms application. Looking for advice and tips on how to "style" winforms similar to how I would do with CSS/Master Pages ...

8. User Interface Design Tool    stackoverflow.com

I'm searching for a User Interface Design tool to visualize a possible GUI in a documentation. I must not generate code. I know that Microsoft Visio provides a functionality. But are ...

9. What is the use of AccessibleContext in Java Swing?    stackoverflow.com

I've seen a lot of examples which use
getAccessibleContext().setAccessibleDescription(...)
to set some "magic" description. What is the use of this description? Where can it be seen and how should it support accessibility? Why setDescription(...) ...





10. Is there a tool for automated user interface testing java mobile apps?    stackoverflow.com

I'm looking for some sort of framework to automate user interface testing of a java mobile app. We're developing in netbeans ide for the most part, and I've found various articles ...

11. UI for a Desktop App    stackoverflow.com

I have a desktop application . The functionality is complete, but user interface requires a lot of work. I am looking for UI tools.My current operating system is Windows and application ...

12. GUI Design in J2ME    stackoverflow.com

I have been recently digging into Mobile Programming, I practically tried out the J2ME polish GUI framework, Although the GUI made with Polish looked pretty decent, I realized ...

13. How to port web ui to desktop app?    stackoverflow.com

I have seen a lot of people try to make a web ui looks like a desktop ui. However, most of the time i feel web ui is much more interesting ...

14. List of Java Swing UI properties?    stackoverflow.com

There seem to be a ton of UI properties that can be set with

 UIManager.put("key", value);
Is there a list somewhere of all keys that can be set?

15. How do I decide between a using a Swing GUI or a light-weight web client for the user front end of my Java application?    stackoverflow.com

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 ...

16. Java Swing: separating UI component from logic behaviour - how do you approach this?    stackoverflow.com

What I do, in NetBeans for example:

  • create a UI component class, suffixed with Swing component type, e.g. JPanel, e.g. MyUIWidgetJPanel
  • create a logic/behaviour class to handle the behaviour/logic, i.e. what happens when ...





17. using Inheritence with GUI (graphical user interfaces) in Java    stackoverflow.com

hi everyone,

I work on inheritence with GUI (graphical user interfaces) let me explain for example I made super class which is vehicle and the subclass is car, so the code to make ...

18. Java Swing UI Changing Method    stackoverflow.com

I would like to use Swing to program a simple learning game. I am wondering what would be best way to switch between UI screens. For example, I would have a screen for ...

19. How to use Guice in Swing application    stackoverflow.com

I have a Swing application that I would like to convert from spaghetti to using dependency injection with Guice. Using Guice to provide services like configuration and task queues is going ...

20. How to customize the look and feel of the UI controls in WinForms?    stackoverflow.com

I'd like to customize the standard user controls look (buttons, dgv, txtboxs ... etc) and the layout of my forms to a state of art modern interface like any decently built ...

21. Patterns for screen dynamics, GUI    stackoverflow.com

I code Java/Swing based UI. My dialogs are quite complex and there are many rules for screen dynamics: when to enable/disable buttons, when to allow to edit some fields, etc. In general ...

22. Suggest Java Swing Component libraries    stackoverflow.com

I’m currently looking for a Java Swing all-in-one professional component pack to create good-looking UIs, charts, reports and so on. Surprisingly, after a couple of hours of googling all I was ...

23. Using Java to wrap over C++    stackoverflow.com

I have a project written in C++ and I'm looking to write a Java GUI as an interface to it. The choice of Java is fixed so I'd need to learn ...

24. Best way for automatic databinding between database and user interface in java swing app?    stackoverflow.com

I'm currently facing a need of creating user frontend application to database with dozens of tables and thousands of fields. It should be java swing application, and I'm trying to find ...

25. java- gui design aesthetics    stackoverflow.com

I am new to GUI design, and would like to know if there is somekind of standard "project" that I can find a set of "standard"- or not- images for my ...

26. java-gui creation approaches via description files?    stackoverflow.com

I have the following requirement for a GUI, that the user will have a number of available actions to perform.
Currently, it is implemented a series of JButtons that the user presses.
But ...

27. How to select a file but allow file system navigation with FileFilter?    stackoverflow.com

I want to display a FileChooser to the user where he can only choose .csv files, but he can navigate through the filesystem to find the .csv he wants. Reading through

28. Best Java UI framework for eye-candy user experience while keeping enterprise requirements in check?    stackoverflow.com

I've been lurking and searching for a few days now, I have not found a satisfying answer yet so here goes: Context: I'm looking to give my developers something to get out of ...

29. Which J2ME framework is best (speed + attractive look and feel)    stackoverflow.com

I am a mobile developer. I have worked on core J2ME API. Now I want to use some free Framework. My main concern is the speed along with attractive look and ...

30. Java GUI libraries    stackoverflow.com

I understand this question has been asked before [Which GUI Library is the best in Java?], but that was back in 2008, and things have changed. I tried looking for ...

31. Swing, how to properly update the UI    stackoverflow.com

What is the right way to update the UI after doing some operations on Swing? For example, after clicking a button, a method is called that may be almost instant or take ...

32. Studies involving the looks of software    stackoverflow.com

Have their been any studies related to the importance of how good a software looks in terms of perception or saleability? I have a feeling this is much more important then people ...

33. Graphical User Interface    stackoverflow.com

This is my program and the problem is that i need to have another window which counts the number of times that the "PRESS ME" button has been clicked. What would ...

34. UI for an intended XSL-FO designer in Java    stackoverflow.com

I intend to write a XSL-FO designer in java for which i need to write an UI. The basic idea is to give the user a work pane wherein he/she can ...

35. how is a user interface usually built?    stackoverflow.com

I have four classes flight, passenger, seating chart, and waiting list. I'm trying to create a gui. I am new to swing so I dont know how it is done. ...

36. What is this GUI Control/Widget Called? Does it Exist For Java/Swing or the .Net Framework?    stackoverflow.com

In filter forge, particle lab and I'm sure lots of other programs, there are controls like this: Control A frame with a title and description, and sometimes other controls. On the ...

37. New GUI Screen Building, Design and enhancements From Existing Legacy Code    stackoverflow.com

All The Gui Builders I heard of in IDES or otherwise would work fine when we start from scratch . But we have plenty of legacy Java code that has custom dialogs, ...

38. Rules for building Graphical User Interface    stackoverflow.com

I like the back-end programming in service and database layers. Mainly because I was never able to figure out how to build decent user interface. I'm talking about GWT and Swing.

Is ...

39. Generate GUI for java based web application    stackoverflow.com

Currently we have a requirement wherein we are suppose to generate the GUI of the web based application. User will add / modify XML file, which will be parsed by our ...

40. Synthetica & Synthetica Addons    stackoverflow.com

I am looking into getting Synthetica and Synthetica Addons. I am really interested in the Addons for better JTable filtering, sorting, and customization ability. Per the demos they seem ...

41. How to identify the monitor from Java Swing application?    stackoverflow.com

I wrote a swing application for my clients and some of them are using multiple monitors. Unfortunately that Java Swing application is confused in environment where multiple monitors present and ...

42. User-Interface question    stackoverflow.com

i'm kinda new to manipulating UI in java, so pls forgive me for this question i cant find the answer anywhere. Description | i'm trying to do a card game and i have ...

43. does Griffon support commond-line(no swing user interface) project    stackoverflow.com

does Griffon support commond-line project ? I don't want to show swing user interface

44. UI Controls for Java    stackoverflow.com

I'm looking for UI Controls for Java Applications. Just like how there are so many libraries for .Net, like Telerik, DevExpress, Infragistics, etc. Are there similar libraries for Java Applications? Thanks!

45. Need Knowledge on creating desktop application    stackoverflow.com

I am very curious to know that there are very beautiful desktop application out there in market i am not taking about functionality wise but look n feel. i am java ...

46. NetBeans: How to change the look and feel with respect to Operating System    stackoverflow.com

I developed a small desktop application in Netbeans using Java. The application is working as expected. I developed it under WIn7. When i run it on Microsoft Windows, the look and feel ...

47. A Java GUI for a C++ application - Is this a good design?    stackoverflow.com

Yes, I was a little surprised when an interviewer mentioned that they use a Java-swing GUI for a C/C++ application. I was curious and asked him how they actually integrate these ...

48. What is the Java SE application life cycle.... or doesn't it have any?    stackoverflow.com

I started with iPhone programming, and I found that iPhone has a clear picture to let developers know what to do, like loadView, viewWillAppear, and so on. Now, I would like ...

49. How to implement my own UI element on Java?    stackoverflow.com

The Java SE don't have a iPhone like segment button. So, I would like to create my own segment button using Java. But my question is...how can I do a customized ...

50. How do I integrate Canvas3D into a swing based user interface?    stackoverflow.com

I am relatively new at programming, and VERY new at java3d (I've only been at it for about a week), so needless to say I am still pretty confused. I'm working on ...

51. Multi-pane User Interface    coderanch.com

Hello! I am trying to figure out how to build a more advanced UI using a multi-pane interface similar to Togerther Control Center or Eclipse. While I can nested JSpliPanes... it is just not the effect I want to have. Can anyone direct me to any resources that can describe how to build a multi-pane UI in Java? Thanks

52. Swing Components - User Interface    coderanch.com

53. Simple user interface    coderanch.com

I'm absolutey a beginner and totally new for java environment.I would like to make a simple user interface using swing with two input fields:Ip address and password. Once the ip address of the machine(a different computer in the network) and the password is matched, i would like to show some other screen. can i use a flat file to store the ...

54. Good User Interface    coderanch.com

import java.awt.*; import java.awt.geom.*; import javax.swing.*; public class NextButton extends JButton { Shape shape; public NextButton() { // This allows us to paint a round background. setContentAreaFilled(false); } public NextButton(String label) { super(label); // These statements enlarge the button so that it // becomes a circle rather than an oval. /* Dimension size = getPreferredSize(); size.width = size.height = Math.max(size.width, size.height); ...

55. Removing user-interface components- HELP!    coderanch.com

I am trying to remove some items from a container/contentpane. These include JButtons, JLabels and JTextFields. Even after these things have been used they remain visible and when other things need to be added to the content pane they go on top of the ones present before. Clearly the whole window becomes messy and incomprehensible. I have tried using, dispose and ...

56. Book for Awesome User Interface Design?    coderanch.com

57. Swing New User Interface - Opinions Please    coderanch.com

Hi! Please take a look at the following code for a new user interface (that I plan to use sometime in the future). I've tied no events to any of the text fields or buttons. I'm mainly interested in your opinions in how I constructed the form itself. I used several JPanels and 3 differnt Layout Managers to get my alignment ...

58. User Interface Look & Feel    coderanch.com

import java.awt.Dialog ; public class Whatever extends java.awt.Frame { public static void main( String[] args ) { Whatever program = new Whatever() ; program.setSize( 300 , 300 ); program.setUndecorated( true ); program.setVisible( true ); Dialog dialog = new Dialog( program ); dialog.setSize( 100 , 100 ); dialog.setUndecorated( true ); dialog.setLocation( 350 , 50 ); dialog.setVisible( true ); } }

61. Griffon user interface responsiveness compared to java/swing app    coderanch.com

Hi Fredrik, Yes. All Groovy code is compiled to .class files before launching the application. As a matter of fact all Groovy based artifacts inherit/extend the same basic classes you would use if you choose Java as your main language when developing a Griffon application. The Griffon compiler is smart enough to weave the required types given each artifacts' placement, naming ...

62. Web User Interface for Existing Java Application    java-forums.org

Hi everyone, I am trying to build a web-based dashboard to my existing Java Application which acts a Server. The dashboard should show statistics like how many clients are signed on, which IP addresses they are from etc. Does anyone know how I should go about implementing the dashboard? Any help would be much appreciated. Thanks.

63. Looking for suggestions to create a graphical user interface. Swing?    forums.oracle.com

It depends - are you just loading these objects into main memory when you fire up your program? If so, serializing them out to a file is find. If you're going to be doing queries and updates while your program is running then using a DB would likely be a Good Thing. Check out [hypersonic |http://hsqldb.org/] and the [JDBC tutorial|http://java.sun.com/docs/books/tutorial/jdbc/]

64. Compliabiality of DOT NET Graphical User Interfaces (GUI) with Java    forums.oracle.com

Hello, At present i'm about to start learning GUI's in Java. I've acquired all the basic knowledge regarding Java enough to be able to learn GUI's. My Questions are: 1) To begin with Learning Java GUI's, is it really necessary to learn AWT before learning Java Swing Framework ?? 2) I heard that VISUAL STUDIO of Dot Net Framework Supports advanced ...