Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to learn gridbag layout and i have been searching the net for good tutorials but havent found any. Can someone recommend from where this can be learnt?
You might have not searched well.
If you had searched well then how did you missed this: Oracle java tutorials: How to Use GridBagLayout
For examples visit this: Java Tutorial » Swing » GridBagLayout
The code generated by the NetBeans GUI editor for GridBagLayout may prove instructive. In the navigator, right click to select GridBagLayout and choose Customize to see an interactive visual guide to the available constraints.
On a side note, you should try Javaspring layout. It was added recently. It is very flexible and is worth trying.
Check "Derek Banas" Java tutorials. His explanation is very good and concise. Look for tutorials 20-28.
https://www.youtube.com/playlist?list=PLE7E8B7F4856C9B19
Official Java tutorials are ok if you are an expert, but useless for a beginner. But then you don't need them anyway.
I am pleasantly surprised, nobody jumped up with "this is not a "recommend me a tutorial" site!"
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've been browsing for a tutorial that covers basic button UI design (e.g. colors, effects, and etc.). Since I'm designing a component of my own, I was hoping there was some sort of tutorial that could guide me in making the correct design choices (aesthetically speaking...).
For instance, this tutorial should be able to guide me in answering some of the following questions:
What should a button look like when it's pressed?
What should a button look like when it's hovered over?
I tagged this as a Java Swing-specific question since that's the language that I will be utilizing. And yes, I've used the existing component behavior as a guideline, but I would like something more definitive.
Note: this tutorial does not need to be Java Swing-specific!
Something like this.
The Java Look & Feel Design Guidelines has some detail on button image design:
http://oracle.com/technetwork/java/hig-142056.html#52291 (thanks Olivier for supplying an updated link)
You should look on UI templates and choose something that look appropriate (even on website template and flash), and then customize the swing components according to this look.
if your want your gui to look a little bit more updated, try swingx
check their UI it look pretty good.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking for a Java library to incorporate into a demo web app and have looked on github, Google Code and sourceforge. So far, sourceforge seems to have the biggest selection. Are there any other places to look, or is sourceforge going to be my best bet?
I believe you should take a look on Java-Source.net and OpenSymphony
Perhaps instead of just wandering randomly, you could tell us what kind of library you need and listen to recommendations. That said, obvious sites include Apache, particularly Jakarta, and Savannah. Also note that not everything hosted on GitHub is FOSS.
Freshmeat is also a large source of open source projects. Here is a list of projects tagged as Java libraries.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am just starting to learn ADF and I am tasked with examining how ADF's gantt chart works.
I have completed Oracle's tutorial of it, however I feel that all the tutorial teaches is how to use the tutorial.
Basically I am looking for a good tutorial to show how from an empty project:
create a collection of dummy data [ not from a database]
attach a view to the data and ideally a chart, doesn't have to be a gantt but that would be a plus.
Thanks in advance
If you are a partner or an employee, check out the Oracle University training titled Oracle ADF 11g Overview. Otherwise, there's a blog post JSF/ADF Faces for Dummies and another useful link.
The tutorials and documentation is almost useless..
Oracle has an online demo of the dvt components here
You can download the workspace for this demo here and examine how they do things. This helped me alot!
Take a look at oracle.dvtdemo.gantt.data.SampleModelFactory which creates a dummy datamodel for the Gantts.
Oracle ADF is a complex technology, diving in trying to understand how the ADF's gantt chart work is very ambishious(that is only my opinion). I come from an Oracle forms environment and have found this tutorial very helpfull to help me understand how the whole framework fits together
http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/index.htm
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
There must be a good book/PDF/HTML file that describes the essentials & good practices of annotations in Java. I sort of know what they are from other good Java books, but I'm looking for something that would teach me most of what I would need to know to make good use of them. (preferably in PDF/HTML so I can print it out & read at my leisure, book ok also but those go out of date so fast...)
Any recommendations?
edit: I found the Sun guides, as well as tutorials like these from O'Reilly and DevX, and the section of Effective Java that covers them... OK, so I know what they are and what tools to read them, but that doesn't tell me much about how they are put to use in practice. (other than a little bit in Effective Java and the O'Reilly article above that suggest their use in automated testing frameworks)
Some opinions on annotations:
http://web.archive.org/web/20120115164115/http://faler.wordpress.com/2007/11/21/when-to-use-and-not-to-use-java-annotations
This guy is very much against them:
https://web.archive.org/web/20060702222249/http://www.softwarereality.com/programming/annotations.jsp
Best Practices: http://willcode4beer.com/opinion.jsp?set=annotations_gotchas_best_practices
Hope this helps. Let us know what you find.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm not committed to any particular GUI tookit or anything - just needs to be Java based. I want to do simple syntax highlighting ( XML and XQuery ) inside editable text areas.
My only candidate so far is Swing's JTextPane, as it supports seems to support the styling of text, but I have no idea how to implement it in this context.
If a particular toolkit has something like this out of the box, that would be awesome, but I'm open to doing this by hand if need be.
JSyntaxPane handles XML and can be extended
http://code.google.com/p/jsyntaxpane/wiki/Using
Or, it should be possible to extract the NetBeans editor, but that would probably be more work...
[edit] btw, I got the XML info from here... it doesn't seem to mention it on the google code pages...
Jide software has a Syntax Highligher component. It is still in beta, but I think it supposed XML. I haven't used it myself, so I don't know how well it will do what you want.
Why not check out Ostermiller's Syntax Highlighter.
Here's a simple code editor demo
It still uses JTextPane though.