As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've been looking into JGoodies for the last two hours and i don't seem to find a lot of good documentation on the subject. Not even on the JGoodies website. So it made me wondering of JGoodies is a good framework to use to model your gui?
Is there some good documentation on how to get started I haven't found yet?
Thanks in advance.
Well, i don't think it is complicated at all, considering the Head Aches while using other standard layouts from swing.
Keep these tips in mind
JGoodies forms is a powerful layout, what you envision is what you get, unlike others
http://www.jgoodies.com/downloads/articles-and-presentations/ kindly read articles here, 2hours of your research isn't enough.
When using JGoodies forms enable debug mode, to see what exactly you are doing.
Learning curve for most foundation classes are steep it will take time change the gear.
I'm just on a project that uses JGoodies for the UI and the only thing I can say is that it is very complicated and hard to use. I'm sure it's a powerful framework, but the documentation is not very well described and the framework complexity is just to hard to understand. I'm considering to switch to another framework...
It's just that it's not worth the pain, you wont get anything special from it, except headache..
I assume you're referring to JGoodies Binding (and optionally Validation). Yes, it's a good framework. However, there's definitely a learning curve, and it's more suited for larger projects where you need to keep your code modular.
To learn more:
Martin Fowler on the Presentation Model architecture.
Another article that's helpful for understanding Presentation Model.
Tutorial code samples in the older versions in the download archive (unzip, browse to src/tutorial). Documentation is also included in the packages.
Read the articles on the JGoodies site, as alfadx mentioned.
As for JGoodies FormLayout, it's better than the default layout managers, but I think MiG Layout is better. I recommend WindowBuilder for GUI work.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have some questions from UI folks #java technology
I have recently switched from php to java domain. Though I have good experience in front end theming work with CMS application driven by php.
Since, know i am very new to spring framework, and have developed an understanding with jsp files for the UI aspect.
If you may recommend, assist me or give suggestions... what best design ui practices can be followed to make the design live as consistent looking organism in the enterprise level application.
right now, bootstrap is css framework of choice...and is well adopted into application.
Sharing some details, though I find it very challenging to teach the java developers, the aspect of ui design... apart from their primary task of coding, building the logic from product owner requirements and UI inputs from wireframe screen...
as they are not visually inclined to 'pixel' based aesthetics... i have found interface does not come out well at places...and do not look very polished
and since there is resource crunch of good UI/UX foks who can solve their problems and apart from coding the best interaction in the application, new features ...blah etc.
Though, have started to train them slowly, repeatedly and steadily...on teaching them on how to reuse your css code, write efficient styles and to attain the level of well aligned and well thought placed pixels on screen/viewport.
What best or any training module i can bring on, so that they become self sufficient... for e.g. have been done also
http://slid.es/gauravmishr/introduction-to-css-for-jsp-developers
Will like to know your recommendation and thoughts, so that design scalability can be achieved.
Over to java ui/ux gurus :- )
maybe you should give Asual's Summer a try. It is a presentation layer library for Spring MVC. It allows you to reference resources from jars and thus makes modularization really easy. Most importantly for me, you write simple html5 with some custom tags and el expressions instead of JSPs. It also has support for resource caching and compression. Finally, you can prepare html templates to include in your views, thus increasing core reusability. I have used it extensively with twitter bootstrap and it works great.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am developing an app and I wanted to have a TabView for it. Although I've been looking around and around and I can't find any help for it in Java code. All of the help is in XML. My university only taught us the Java portion. Does anybody have a good guide or some good help that I can use to make TabView in java code?
I am developing an app and I wanted to have a TabView for it.
There is no TabView in Android.
Although I've been looking around and around and I can't find any help for it in Java code.
Here are the JavaDocs for TabHost and the JavaDocs for TabWidget.
All of the help is in XML.
There is no XML shown on either of the JavaDocs pages.
Most programmers would use layout XML resources for their GUI development, for ease of development and maintenance, particularly for supporting different screen sizes and orientations. You can certainly create these objects via their constructors, then use addView() to stitch them together. However, since very few developers would use this technique, it is unlikely that you will find much sample code for doing it this way.
My university only taught us the Java portion.
Anyone teaching Android application development without teaching layout XML resources needs to be fired for incompetence. When I teach Android application development, layout XML resources show up in the second or third hour of lecture, and it used to be earlier than that.
Does anybody have a good guide or some good help that I can use to make TabView in java code?
You would be better served taking the time to learn layout XML resources on your own. There are many, many resources for doing this, and it will help you better understand all the rest of the sample code that resides on the Android developer site and elsewhere.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am learning java(J2EE) programming language these days. I wants to create a web-site having features where user can login, logout, post there comment and other features with time using java technology just as a hobby project.
But I don't have any idea from where to begin. It would be very helpful if some one just give some starting guidelines and tools needed.
Thanks
If this is just for fun with no deadline, then I encourage you to go as low-level as you can by making servlets and jsp pages, and getting them to work with tomcat. Once you can get some hello world pages working, then start learning about other complementary technologies like Struts, and Hibernate, and the problems that they solve and the complexity that they introduce. Try to master one technology at a time (e.g. servlets) before going on to the next one. This way you can understand how technologies relate to each other and can avoid trying to climb multiple learning curves simultaneously.
You can have a look at this tutorial. It pretty much explains everything that you need to know to build a website. Hope it might be of your help.
You could start by learning to use the reference web framework which is JavaServerFaces.
Take a look here.
Hope it helps.
Why not try GWT ?
It's a top-level web toolkit (based on RPC), full-Java, easy to learn, intuitive, and well-documented.
Try this tutorial http://netbeans.org/kb/docs/javaee/ecommerce/intro.html
When I was learning J2EE this tutorial was very helpful
This is good video tutorial http://www.vtc.com/products/J2EE-Java-2-Enterprise-Edition-tutorials.htm
Look at this Learning Trail for Java Web Development?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am looking for a book which teaches Java very fast. Basically I am a C++ programmer and do not need to know each and every aspect of programming. I am learning java for android apps development. A lot of books like thinking in Java, learning java and others suggested are pretty big and I want something small to get me going.
A website like http://www.cplusplus.com/doc/tutorial/ for java also can be helpful. please answer ASAP.
I love to think of the javadoc as the equivalent of cplusplus.com. The comments on standard classes are much more detailed than stl comments are (and the code is a lot easier to read, too)
Personally I'd recommend just reading a tiny bit of literature and then using an IDE that provides really quick access to code and comments for any callable method (almost all do if you link sources and javadoc). Usually they provide greate usage exmaples and the code itself teaches best practices and proper design.
Unlinke for C / C++ I don't think using an IDE is much of a problem. Javac hides everything anyway and there is not much to know about something like linking unless you use a lot of libraries and enter "jar hell". But even then there is nothing to be learned by compiling from the shell that might help.
Build scripts to use will most probably ant or maven and both are a lot more high-level than Makefiles. While I'd really recommend never to rely on an IDE for C++, I'd totally do so for java.
What about Beginning Android 3 (http://www.apress.com/9781430232971)
It has 612 Pages but it really focuses on Android development and not really on programming basics.
Check the Table of Contents on that page and you will see.
Head First Java is a great book and very easy to read and understand. It got lots of graphics to support the reading. I find it perfect for beginners.
For pure java - Thinking in java (its nicely written but quite big (+1000pages))
For Android check notepad tutorial on official android page its good for beggining http://developer.android.com/resources/tutorials/notepad/index.html
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I start to migrate an old Swing app to web interface:
Alternatives I want :
Gwt, Vaadin,Smart Gwt, Ext Gwt
The profile of the app is a custom ERP.
Big question is which ?
Why GWT do not have rich components like Vaadin ,SmartGwt and ExtGwt has ?
DO you know any GWT component library ?
Thanks.
Well, I don't think there is a definite answer for this one. I started about 2 years ago with all this web-dev maze and I have theses conclusions:
GWT: This framework is really all about abstracting you from the "real" web development. The framework has evolved a lot since I use it. It has gotten better and they are continually introducing interesting new concepts and options for you to build your app. They leave a hole lot of freedom to the dev. This can be a good thing since it can be nice to choose components you already know. Say you know JQuery, they have GQuery, you know Hibernate you can use it, Spring you can use it. But, to much freedom is kind of daunting for GWT beginners since it's hard to plug all the components to get an enterprise application. Is it that hard? Not really you get used to it's concepts and start liking it. As far as Widget goes, they do not offer as many eye candy stuff as Vaadin, gxt or Smart but I like to stick with the bases.
Smart: I used SmartGWT for enterprise level projets and it does the job. It has many great components that will get you where you want. It is a huge framework though and it gets complex when something doesn't work as you expected. But, you could be happy with it. It gets a bit hard to use layouts sometimes.
GXT: Really nice. They offer a lot of great widgets, yes. They offer good support, yes. You have to pay :( yes. Unless you are an Open source project, you will have to pay fees to use it. The baseline is, I abandoned it until they release the version 3.0. Why? They are syncing with GWT roadmap. They will be using the same event handling and UI binders. I'm waiting for this to ease my dev. time. Sometimes you also want to mix (which might not be the greatest idea) but the event model being different from the GWT one is pretty crappy.
Bottom line, I sticking with GWT for now. They will continue enhancing it and the support community is great! But you won't get a savvy UI which you could get with any of the frameworks.
good luck