Win a copy of Rust Web Development this week in the Other Languages forum!

John Fabiani

Greenhorn
+ Follow
since Dec 20, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by John Fabiani

thanks - it appears that I was comparing apples to oranges.
John
17 years ago
Thanks that helped. I think I understand that servlets are web objects but EJB are different animals. Servlets use the tomcat and EJB's use the JBoss. Is there a better way to get around the servlet issue with swing? Better yet was do you suggest I read to get a better understanding.
John
17 years ago
So if I understand you correctly I can use the framework (OFBiz for example) I just need to understand how to call/use the framework beans? What reading material do you suggest that I read that might explain the general issue of using J2EE servers (I really hope I'm not mixing apple and oranges here) from a swing perpective. TIA
John
17 years ago
HI,
I'm a newbie - that said here's my question.
Most of the stuff I see in the Java world centers around browser interfaces with servers providing the content (tomcat, J2EE stuff). What I don't understand is how swing code interfaces with these servers. Case in point: there is a free framework (ofbiz) that uses tomcat and has many features all written in Java. But the interface (at least as far as I understand) is a web browser. I don't like the general L&F of a browser and would like to use swing. So with that in mind I have centered my reading (learning) on using swing as my interface to database apps. In my reading (Head first Java) I come understand that there are beans I can create to access data (maybe bizObjects) to work with my swing programs - but I don't understand the difference between my bean and the ones in the framesworks like JBoss or how the swing wigets use the access the JBoss beans. TIA
John
17 years ago
thanks all! I'm just in the understanding stage and some of issues are still beyond me. Again thanks all
John
Is it possible to use Hibernate without a J2EE server?
John
Thanks again.... I happy becausing I was begining to think there was not way to change a JMenu in a JMenuBar.
John
18 years ago
Boy thank you, I really thought I wasn't going to get an answer. As far as the controling menu changing I think your right - there is no reason the new JFRAME can't have a menu and of course that new menu would only control the functions associated with JFrame (i.e. accounts payable functions). But it adding the new menu by passes the real question - how do I control the parent from the child JFrame? I have attempted to pass the 'this' to the child JFrame and control the parent menu without sucess.
Again thanks for taking the time.
John
18 years ago
I normally program in MS VFP (Visual FoxPro) and have for most of the last twenty years. I'm new to Java. In VFP we normally have a main menu (the programmer controls the menu via the program) and the menu prompts can be changed along with any submenus, also after selecting a menu item the selected item can be turned off (disabled). In general VFP would match a JDesktop enviroment. However, it appears that JDesktop is not the recommended way of setting up a windows (thick client/application) program. So if I decide to use JFrames as independent windows how does one control the menu that activates the new window? I'd first like to disable the menu prompt and then change the rest of the menu prompts (some call them pads) along with their submenus. What I think I want is a JFrame with a menu that is the controling menu. Imagine an accounting program that had a menu with "Ledgers", "System", "Exit". "Ledgers" has a submenu that contains "Account Recieveable", "Accounts Payable", "General Ledger". If I select "General Ledger" from the "Ledgers" submenu I want the Menu to change to "Ledgers", "Transactions", "Reports", "Maintanence". If I choose a different selection say "Acconts Payable" again the menu would change. And of course the selected menu item would be disabled in "ledgers". Anyway you get the idea. So far I have not found anything that allows me to change the menu from a new JFrame (one opened from the menu). I at first thought I could call the parent but found that it did not work (could be I'm doing something wrong). Thanks in advance for any help or examples.
18 years ago