Darrell Morello

Ranch Hand
+ Follow
since Apr 28, 2005
Merit badge: grant badges
For More
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 Darrell Morello

Hi all

Can anyone suggest a good framework like the xui framework but more for developing swing desktop applications that run locally on the computer.

Thanks in advance
Hi all

I'm trying to create an application where on one side of a JSplitPane is the navigation and on the other side panels are loaded.

For example, on the left side, when i click Add Item, on the right side the panel that is for adding an item is displayed. If I click Options on the left side, the Add Item panel is unloaded from memory and the Options panel is loaded. I dont want to use CardLayout because I may have to use as many as 50 panels. Each panel is a different class.

The navigation is also also on a panel that is on the left side of the JSplitPane. On the right side also there is a panel which loads other external panels into it.

So how do I give command to the right side panel to load a specific panel? Any links to example applications with source also really appreciated.

Thanks
17 years ago
So is there anyway I can create a rollover effect on the button text without using an image? I use Netbeans and I couldnt find any such thing from it.
17 years ago
Heres a program that uses hyperlinks and I think its kinda cool.

Program
17 years ago

What you're specifically asking about (tightly integrated Java and HTML all running on the client)



This exactly what I want to do The reason is, I want create a nice looking GUI with links instead of buttons except for functions like "Submit" etc.

Heres an article which talks about hyperlinks in JEditorPane.
Article

Is it worth it for me to try it or would it be too troublesome? (I'm still learning Java )

Thanks again for the replies
17 years ago
So is it possible to use it with Java? I mean by creating the interface using JavaScript and HTML and using Java to perform the operations? Also displaying the required page like panels using JButtons?
17 years ago
Well,not really. I dont know how to code JSP. Is it quite similar to Java? I was thinking more like how to communicate between the HTML text boxes etc, with Java code. Maybe using JavaScript? I'm trying to create something which is mainly built on Java but HTML components are just used on the UI for decoravtive purposes.

Thanks
17 years ago
Is it possible to mix HTML with java when creating an application? For example I make a java browser like thing for the HTML and I use the HTML to create the interface only. Everything else is Java. For example I want to the text boxes, buttons, links, etc in HTML. But everything is processed and stored using Java.

If this is possible, I'd appreciate it if anyone can point to any tutorials or articles.

Thanks
17 years ago
So this means I dont have to create and destroy panels? Will it take up much memory? And can I control the cardlayout panel even though I have the buttons on another panel?

Thanks
17 years ago
Hi all

I have a Main JPanel with a JSplitPane and on the two parts of the split pane are two more panels, panel A and panel B. The panel on one side (eg. A )contain some buttons. Each button calls a panel or form that must be shown on panel B. When another button is pressed, the form should disappear and the panel to which the second button is for, should be displayed.

Do I have to create an instance of panel B in panel A so that the buttons can control whats in panel B? Also, is there a better way than using setVisible, like a way which I can create the instance when needed and remove it when another panel is being loaded or created?

Thanks
17 years ago
Hi all

Is it possible to make Expand/Collapsable panels in Java without writing huge amounts of code?

I want something like this Expand/Collapse

How would I go about it?

Thanks
17 years ago
Is there any rules in how I include it in the manifest file? And this means that I have to create a jar file whenever I want to test it right?
Also, whenever I double-click on my jar files, WinRar always opens it, even though I have dis-associated jar files from it I havent found a way to get around it yet.

Thanks for the quick reply
17 years ago
Hi all.

I'm having a problem with setting the classpath. I'm trying to use the SkinLookAndFeel thingy but for example if I use the



the compiler says "package not found". I've included the class path using the control panel like .;C:\Java\Skins\skinlf.jar but still its not working. However, it works if I put the *.jar files in the ext directory in the JDK../JRE folder. It also works if I include the path in the JDK profile of the compiler, but what if try to run it on another computer?

What am I doing wrong? Is it possible to set the class path in the code?
I've read some articles where they describe running the program like
java -classpath /java/MyClasses/myclasses.jar utility.myapp.app
How will I get it to work if I create an exe using an installer to run my program?

Also, does any of you guys know of an installer(I hope a free one) that would automatically detect the Java Home folder and place the Skin files in the ext folder?

Thanks
17 years ago
Is it possible to design Java applications like they have in graphics applications such as Photoshop and Flash? I mean like how they have small windows or panels which open up when you double-click the title bar.

If so, how?
17 years ago
Does anyone know about this Haystack?
17 years ago