Federico Techera

Greenhorn
+ Follow
since Jun 09, 2013
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
12
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Federico Techera




Sorry if this is not the right section to post this question, I didnĀ“t find another place.

I'm learning something of Java on Netbeans.

If I have a database created by right clicking on Services TAB on Netbeans how can I know if the database is encrypted or not?

I mean, I go to Netbeans, Services, Databases, right click on Java DB and CREATE DATABASE, but Netbeans only ask me the database name, user and password but didnt ask if I want the database encrypted or not.

So I guess we have a default state but I cant find where to change on Netbeans. I think the default on Netbeans is not encrypted?

Ulf Dittmer wrote:That sentence is dated May 28th, 2014; was NB 8 released before or after that date? If it was released earlier, does the latest plugin not work with NB 8?



Understand! I downloaded the plugin and seems to work on NetBeans, now I need to learn. Thanks
9 years ago

Ulf Dittmer wrote:See http://sourceforge.net/projects/ireport/files/iReport%20Plugin%20for%20NetBeans/iReport-5.6.0/ for the current and future status of iReport (and thus most likely the plugin).



OK thanks, but still I read "is available as standalone application and as NetBeans plugin for NetBeans IDE 6.5.x and later" and on the page http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=4425 there's no version 8.0.

9 years ago
Hello on http://plugins.netbeans.org/plugin/4425/ireport iReport for Netbeans 8 still is not available.

iReport proyect is discontinued or we just need to wait more time for a Netbeans 8 version?

9 years ago

Scott Winterbourne wrote:

Federico Techera wrote:I'm new into Java but I have small experience on the old Visual Basic. I know is better learn the core of Java first but also I find easy for me build a GUI and then adding the code.



The only books that I have experience with include some chapters on Swing but focus mosly on core Java and OOP concepts. Then later in the book then introduce Swing and how to apply what you have learned about core Java to a GUI.

Building Swing isn't quite like VB where you drag and drop a button, then write some code in the Button OnClick sub routine.

I would highly recomend learning the core Java language first as building a Swing GUI does require you to know about inheritance, interfaces, etc.

The book that I learned from is "Head First Java". It does go over core Java and some Swing toward the end.



Thanks a lot, I will buy the book you say.
10 years ago

Amit Ghorpade wrote:I know GUI stuff like Swing uses event driven approach, but it is transparent to the developer.
The events are fired/triggered for you by the API and all you do is associate the handler and put business logic into it.



Just was I looking for! Thanks. I understand.
10 years ago

Jeanne Boyarsky wrote:Which technology are you thinking about for your GUI? Swing?

I ask because you are correct that what you want would be part of another book. So that book should be on the right technology.



Hello Jeanne.

I'm new into Java but I have small experience on the old Visual Basic. I know is better learn the core of Java first but also I find easy for me build a GUI and then adding the code.

I'm using Netbeans and Swing, yes, and I only need connection to one simple database so I can handle records.

Thanks for any opinion.
10 years ago

Campbell Ritchie wrote:I shall move this discussion because we usually discuss such things on the GUIs forum. Have a look at this recent thread about the same topic.



Thanks for the link
10 years ago

James Harte wrote:If you are going to talk about ActionListener and actionPerformed() then you need to first consider ActionEvent.
- ActionEvent is, as the name would imply, an event which has occurred.
- ActionListener is an object which is listening for the event. Please note that ActionListener is an interface which a class may implement.
- actionPerformed(ActionEvent ae) is the action (method) which a listener is going to do when the listener finds out that the event has occurred.

Please note that if you want a listener to listen for a particular event, then you need to have a line similar to the following:
someComponent.addActionListener(instanceOfActionListener);



Thanks for the help, now I can move on.
10 years ago

Niraj Jha wrote:ActionListener is an interface containing one method actionPerformed(...).
We generally implements ActionListener and override actionPerformed(...) method.



Understand. Thanks a lot
10 years ago
ActionPerformed and ActionListener on Netbeans


Hello, If I create a ComboBox on Netbeans using GUI design, then I right click over the Combobox I can find Events - Action - ActionPerformed... but I can't find ActionListener...


Are ActionPerformed and ActionListener the same?

or...

where is ActionListener on GUI Netbeans?

Do I need to manualy write the ActionListener part?

Thanks
10 years ago
Take a look to the answer on

https://coderanch.com/t/628147/java/java/deploy-java-application-java-db

T.A. Nguyen
Ranch Hand

Joined: Sep 02, 2008
Posts: 36

I like...
Eclipse IDE Java ME Oracle
[Post New]posted 26/2/2014 20:52:29 Quote Report post to moderator
just create yourapp.jar and take along the derby.jar and place them both on the classpath before executing and that should work. All you really need is derby.jar

T.A. Nguyen
http://ta.cnci.org
http://www.linkedin.com/in/nguyenta

10 years ago
Hello!

I think will be easy for me start with a GUI and then make things happens when the user clic on Buttons.

Is there a good book about Event driven development on Java?

Or we jus have some chapters inside generics books?
10 years ago

Maneesh Godbole wrote:Typically you would create different .java files extending JPanel
e.g.



Thanks a lot Maneesh! I will try the weekend and then inform here my results
10 years ago
Hello, I'm learging with a real life program that I need.

Now I have the Swing toolbar with icons, and each icon call to a different panel using Cardlayout.

Now I need to code what every panel need to do.

What is the normal way to do this?

1) Coding every panel inside the same aplication and the same Swing GUI...

or

2) Coding every panel like one individual piece of code, by example a standard jpanel.. and when the code is right copy and paste or import the code inside the real application?

Thanks
10 years ago