Return to Home Page
      Blog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     FAQ      Search
 

SwingSeminar

The Swing seminar will be a hands-on seminar, 3-5 days (please state if you have a preference). It will require a sound knowledge of Java, at least a year of full time development experience.

It will deal with the general theory and practice of issues such as:

  • What is Swing, how does it replace or extend the AWT?
  • What are the general design patterns behind the design of Swing?
  • How can you make quick (RAD type) GUI's using Swing?
  • How can you make ultra-powerful, completely tailored controls using Swing components like JTree and JTable, by creating your own renderers, and models?
  • How do you handle multi-threading using Swing?
  • How do you incorporate Swing into the design of your application?
  • What is the Java plug-in, and how does it allow you to write applets using Swing and Java 2?

Note: There isn't time on even a 5 day seminar to go very deeply into every Swing component, so JTree or JTable will be selected as an example of highly detailed tailoring of Swing components.


One thing I noticed about Java Swing applications is that they differ dramatically from other platform such as Delphi, Visual C++/Basic etc.

The layout managers tend to be very confusing to new developers and I personally would like a analysis of how it differs from other languages, and how you can achieve the same results.

This one is probably too common to mention, but thought I'd add it to the melting pot.


I have been developing Swing applicatins for about three years. I have noticed that Swing interfaces slowed down substantially when we changed from Java 1.1.8 to Java 1.2. Java 1.3 is batter but I'd like to find out what causes hte loss of speed and, more importantly, whether I can do anything about it.


Perhaps this is not the right seminar, but somewhere I'd like to learn the deep native code plumbing of Swing/AWT that accomplishes message handling, windowing and screen painting, and how this ties into topics like the creation of a new "Look and Feel" and the implementation of "Drag and Drop". Lacking this, the books I have read on Swing provide rote instruction on how things work but don't create in me a comfortable understanding of why it works that way.

Jonathan Wilcox, jonathan@menai.com


does exists some API to create dialog windows like html?

something like:
//instead of '(' and ')' must be less and more symbols
HtmlLikeDialog dialog = new HtmlLikeDialog("
(form method="post" action="www.site.com")
(table)
(tr)(td)login(/tr)(/td)
(tr)(td)(input type=\"text\" name=\"login\"(/td)(/tr)
(tr)(td)password(/tr)(/td)
(tr)(td)(input type=\"password\" name=\"pass\"(/td)(/tr)
(tr)(td)(input type=\"submit\" value=\"log in\"(/td)(/tr)
(/table)
");
//here user already submitted entered(or not) data
//and submitted dialog
String login = dialog.get("login");
String pass = dialog.get("pass");

if that does not exists, what do You think about it?
maybe someone wants to write this library?


I'd like to more about thread safety as it pertains to Swing GUI development, and lazy evaluation for rendering components quickly.


pls i'm working on a project but i'm having problems with saving a file and opening a file i knew this site thru a friend thanks


pls i'm working on a project but i'm having problems with saving a file and opening a file i knew this site thru a friend thanks
anjiie
anjiie@onebox.com


I attended Sun's Swing course and was rather dissappointed. It was more of an intro to Swing and GUI construction.

What I would like to attend would be a more advanced Swing seminar that would include customizing components and developing a custom look and feel.

Should also cover threading issues, the SwingWorker, etc.

Maybe cover the new TableLayout available from the Swing Connection and recommend it as a replacement for many of the current layout managers.

Anyway, I would not be interested in just going through the material that is available in an introductory Swing book.

Ted Hill
thill@tomotherapy.com


I forgot to give my preference for 3 or 5 days: I definitely prefer the 5 days.

Ted Hill
thill@tomotherapy.com


There are plenty of books and web sites out there to help you learn about individual Swing components so I would skip as much of that as possible.

Drilling down in more detail would not be that useful to me either - I just need to plug all this simple stuff together ;-)

For example, a bunch of different entities are displayed in a tree control. How do you hook up a right mouse click for a pop up menu, enable a toolbar run button, and disable a menu item? How do you do this in a maintainable way when you have to support new entity types with different behaviors? How do you add the ability to save a file iff it has been edited?

I got some inspiration from the NetBeans framework which has many interesting features for building complex guis like modules and cookies. However there is not much out there on building complex uis.

TIJ rocks. Would love to see a Thinking in Swing or a UI Patterns book.

Later

D


asas


I live in the other country. It seems to me impossible to go to USA for seminar only. Could you produce the teching CD like Java. It might cost more but still cheaper to go to USA. One more things, I could watch CD as many times as I want. Thank for good CD like thinking in Java.

Thavatchai Ngamsantivong


Hi Bruce,
I appreciate a lot the idea of a 5 days seminar on that topic.
I think the seminar should be thought as an advanced course on swing customization and usage in real world apps. as there are a lot of good (and bad!) books around talking about the Swing libraries and how can you make simple things with them.
The pre-requisites to attend the course should be a good knowledge of the Java programming languagem a good knowledge in writing OO architectures and

Maybe the points to be stressed are:
-) using Swing and threads (one of the worst nightmare for newbies... and not!)
-) using the JTree and JTable and how to customize it (not in the simple, useless, way.
-) how to create high performance applications using Swing showing how to avoid all those pitfalls that generally makes a Java graphic app. too slow to be used; just now me and my team succeeded in a the development of a Human Machine Interface for a Radar System using Java and Swing, a great experience but an enormous effort to have a performing GUI..
-) most of all the seminar should try to give the right path on writing Java apps. architecture using swing.

Bye,
Luca Sfarzo
luca.sfarzo@trsneapolis.it


hi
my name is rana kashif and i m student of bs.My question is not related to the swing yet i wana work and get some info in the field of AI (NEURO NETWORKS). On which areas i can do my work in java.plz tell me and referred me some books.so that i may work and also suggest me the project.i shall be very thankful for u and waite for ur reply.
my mail adress is "kashif_bahria@yahoo.com"


Hi,
i have a problem plz help me out.does java has an option of regaining focus to window.(actually my problem is to see that the user should not be able to stay away from my window untill i wish(in stand alone applications).


huyang


hi all
it's good to have a seminar like that ..


HI BRUCE
HAVE A PROBLEM WHEN LEARNING "RITT",FOR THE CLASS Class IS VERY HARD TO KNOW.
PLEASE HELP ME!!
MY EMAIL:zhuangluping@163.com


HI Bruce!

I Don't speak English!

ÖÒÎË Û ÏÂÌþ ·Û‰ÛÚ Ô*Ó·ÎÂϰ, ÔÓÁ‚Óθ ÏÌ ÒÔ*ý¯Ë‚ýÚ¸ Û Ú·þ Ìý êÛÒÒÍÓÏ!
ÇÒÂ„Ó iÓ*ӯ„Ó!

Direx Strange

sirnikos@rambler.ru


HI Bruce!

I Don't speak English!

ÖÒÎË Û ÏÂÌþ ·Û‰ÛÚ Ô*Ó·ÎÂϰ, ÔÓÁ‚Óθ ÏÌ ÒÔ*ý¯Ë‚ýÚ¸ Û Ú·þ Ìý êÛÒÒÍÓÏ!
ÇÒÂ„Ó iÓ*ӯ„Ó!

Direx Strange

sirnikos@rambler.ru


Hi Bruce,

I have been working in swing for about 4yrs. Now in my current project we have about 300 swing screens. My client is asking us to repaint all the screens with uniform spacing between components, uniform alignment between components and uniform sizing of components across all 300 screens.

Our current Code Shape:
1.) Do not have any custom layout (every screens has been laid out based on the number of component & complexity during development. Mostly Gridbaglayout, Nulllayout and at very few screen broder and flow layout)
2.) Source code does not strict to one particular standard to change it at one particular place (nothing like initGUI method).
3.) Some of the screens have more than 40 components
4.) This leads bad alingment & shaping during resolution change and resizing (this is one of our clients problem)

One good thing about our framework is that every screen/container is added upon one main screen (framework panel) throughout the application.

Is there any custom way to repaint all the screen from one point and with one layout ( i think this tool needs some artificial intelligence too).

People are suggesting, we have to use TableLayout to repaint and at every screen level(this is a bad idea at every screen level/container level).

From details i have provived above can you provide some helpful details.

MY EMAIL: - lsprakash2003@yahoo.com

Prakash


sos groso bruce!!!!!!!



Add your comment below. Use an empty line between each paragraph. Single carriage returns will be respected. Use <code> to begin a code block, and </code> to end a code block. Please include your name and email address in case we need to contact you directly.


Search     Home     WebLog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     Contact     Site Design     Server Maintenance     Powered by Zope
©2007 MindView, Inc.