GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes How flexible the application is? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How flexible the application is?" Watch "How flexible the application is?" New topic
Author

How flexible the application is?

Rekha Pai
Ranch Hand

Joined: Oct 30, 2008
Posts: 35
Hi Mr Craig Walls,
Is it possible to create tabs and tables dynamically?
Regards,
Rekha
binayakumar patel
Greenhorn

Joined: Jun 26, 2009
Posts: 27
You can use any Swing .. component to build your tab and Table.. This makes your application is more modular
its means the business logic model will be different from your Database Model and UI model.
Rekha Pai
Ranch Hand

Joined: Oct 30, 2008
Posts: 35
binayakumar patel wrote:You can use any Swing .. component to build your tab and Table.. This makes your application is more modular
its means the business logic model will be different from your Database Model and UI model.

Hi,
My question is can any user create the table or a tab when any application is running?
Regards,
Rekha

Sorry Craig,
I understood what is OSGi . How this manages the cross dependency of
different modules and how can one change a module and run the application without restarting it?
Regards,
Rekha
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
My question is can any user create the table or a tab when any application is running?


I'm not sure how this question relates to OSGi. Tabs and tables are UI-kinds of things, but OSGi is not a UI framework. Please rephrase your question to help me understand how this pertains to OSGi.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
binayakumar patel
Greenhorn

Joined: Jun 26, 2009
Posts: 27
Do you mean to this ??

Rekha Pai
Ranch Hand

Joined: Oct 30, 2008
Posts: 35
binayakumar patel wrote:Do you mean to this ??


Thats great!! binayakumar,
Thanks alot.
Regards,
Rekha.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42042
    
  64
Nothing to do with OSGi; moving to the GUI forum.


Ping & DNS - my free Android networking tools app
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

As Binayakumar has shown you, you can quite easily create and add components. But the call to "jp2.validate();" is essential - without that (or revalidate()) the component will not be visible immediately.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: How flexible the application is?