Java – Jacob N Calvert https://jacobncalvert.com/blog-archive Sat, 10 Feb 2018 20:52:04 +0000 en-US hourly 1 https://wordpress.org/?v=6.0.17 https://jacobncalvert.com/blog-archive/wp-content/uploads/2018/02/cropped-icon-32x32.png Java – Jacob N Calvert https://jacobncalvert.com/blog-archive 32 32 July Update https://jacobncalvert.com/blog-archive/2015/07/02/july-update/ https://jacobncalvert.com/blog-archive/2015/07/02/july-update/#respond Fri, 03 Jul 2015 03:15:26 +0000 http://jacobncalvert.com/?p=114 I’ve not written for a while because I’ve been crazy busy recently. I have started a new internship and moved cities to work. But I’ve also been working on a ton of other things as well. Recently, I have been reading the OSDev Wiki and trying my hand at OS development. I am slightly cheating by using an i686 emulator from QEMU and GRUB to boot me into real mode, but I am writing everything else from scratch. I’ve found the most…

The post July Update appeared first on Jacob N Calvert.

]]>
I’ve not written for a while because I’ve been crazy busy recently. I have started a new internship and moved cities to work. But I’ve also been working on a ton of other things as well. Recently, I have been reading the OSDev Wiki and trying my hand at OS development. I am slightly cheating by using an i686 emulator from QEMU and GRUB to boot me into real mode, but I am writing everything else from scratch. I’ve found the most difficult part to be memory mapping. It’s much more difficult than I ever imagined. I take it for granted that I can simply call

malloc

in C or

 new SomeClass()

in C++. I’m almost finished with a memory manager in C so hopefully I can get a self-hosted system soon.
Alternatively, when I’m not doing OS development, I’m improving my Java multithreading and network programming skills. I recently wrote a library for “hooking up” multiple services via multicast and being able to pass around messages in a bus-like fashion. It’s very rudimentary but it was helpful in learning Java threading and networking. I’ll post the source up here when it’s more mature.
Thanks for reading and have a Happy Independence Day!

 

The post July Update appeared first on Jacob N Calvert.

]]>
https://jacobncalvert.com/blog-archive/2015/07/02/july-update/feed/ 0
Diving into Java (updated) https://jacobncalvert.com/blog-archive/2015/04/19/diving-into-java-updated/ https://jacobncalvert.com/blog-archive/2015/04/19/diving-into-java-updated/#respond Sun, 19 Apr 2015 18:28:55 +0000 http://jacobncalvert.com/?p=120 I have never been heavily exposed to programming in Java, though I’m an Android person. I recently began reading online course material about programming in Java, and specifically, programming with the Swing GUI library. I had a need for a simple application to store information about ICs and other electronic components I have in my possession, so I thought I’d give Java a try! After figuring out Eclipse’s designer windows and GUI editing helpers, I was able to create an…

The post Diving into Java (updated) appeared first on Jacob N Calvert.

]]>
I have never been heavily exposed to programming in Java, though I’m an Android person. I recently began reading online course material about programming in Java, and specifically, programming with the Swing GUI library.

I had a need for a simple application to store information about ICs and other electronic components I have in my possession, so I thought I’d give Java a try! After figuring out Eclipse’s designer windows and GUI editing helpers, I was able to create an application that is usable and backed by a SQLite3 database. My application is cheesily named ‘ICDB’, short for IC Database. I plan on putting the source on GitHub in a little while, and I will post it here as well. Some of the neat features I’ve been able to implement are:

  • Search as you type – results come up in the main table as you type a term into the search box
  • Application wide key bindings – ctrl-N brings up the ‘New Part’ window, ctrl-M maximizes things, etc.
  • Export to Text and CSV
  • Add, edit, delete functionality for the database
  • Sortable rows in the main table – even after searching, you can sort the subset of items

From my limited experience, I like Java. Some things I miss from C++ like multiple-inheritance, but for the most part I can make do with Interfaces, Abstract classes and the other OOP features. 

UPDATE
I have put the source on Github. The pre-built JAR and the dependency JAR is there if you’d like to build it yourself! Documentation is soon to come!

The post Diving into Java (updated) appeared first on Jacob N Calvert.

]]>
https://jacobncalvert.com/blog-archive/2015/04/19/diving-into-java-updated/feed/ 0