Skip to content

Commit bb9dbb3

Browse files
author
isayan
committed
convert to IP format
1 parent e23f24c commit bb9dbb3

File tree

5 files changed

+504
-25
lines changed

5 files changed

+504
-25
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
netbeans.org-netbeans-modules-javascript2-requirejs.enabled=true
22
release_version_major=2.2
3-
release_version_minor=7.3
3+
release_version_minor=8.0
Binary file not shown.

release/YaguraExtender-v2.2.jar

5.85 KB
Binary file not shown.

src/main/java/yagura/view/JTransCoderTab.form

Lines changed: 246 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,24 +2198,19 @@
21982198
</Group>
21992199
<EmptySpace type="unrelated" max="-2" attributes="0"/>
22002200
<Group type="103" groupAlignment="0" attributes="0">
2201-
<Component id="spnDatetime" max="32767" attributes="0"/>
2201+
<Component id="spnDatetime" pref="319" max="32767" attributes="0"/>
22022202
<Component id="txtExcelSerial" alignment="0" max="32767" attributes="0"/>
22032203
<Component id="txtJavaSerial" alignment="1" max="32767" attributes="0"/>
2204-
<Group type="102" alignment="0" attributes="0">
2205-
<Component id="txtUnixtime" min="-2" pref="299" max="-2" attributes="0"/>
2206-
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
2207-
</Group>
2204+
<Component id="txtUnixtime" alignment="0" max="32767" attributes="0"/>
22082205
</Group>
2209-
<EmptySpace max="32767" attributes="0"/>
2206+
<EmptySpace max="-2" attributes="0"/>
22102207
<Group type="103" groupAlignment="0" attributes="0">
2211-
<Group type="103" groupAlignment="0" max="-2" attributes="0">
2212-
<Component id="btnJavaSerialCopy" pref="72" max="32767" attributes="0"/>
2213-
<Component id="btnExcelSerial" max="32767" attributes="0"/>
2214-
<Component id="btnUnixtimeCopy" alignment="0" max="32767" attributes="0"/>
2215-
</Group>
2208+
<Component id="btnJavaSerialCopy" min="-2" pref="72" max="-2" attributes="0"/>
2209+
<Component id="btnUnixtimeCopy" min="-2" pref="72" max="-2" attributes="0"/>
2210+
<Component id="btnExcelSerial" alignment="0" min="-2" pref="72" max="-2" attributes="0"/>
22162211
<Component id="cmbTimezone" min="-2" pref="174" max="-2" attributes="0"/>
22172212
</Group>
2218-
<EmptySpace min="-2" pref="757" max="-2" attributes="0"/>
2213+
<EmptySpace min="-2" pref="777" max="-2" attributes="0"/>
22192214
</Group>
22202215
</Group>
22212216
</DimensionLayout>
@@ -2248,7 +2243,7 @@
22482243
<Component id="btnExcelSerial" alignment="3" min="-2" max="-2" attributes="0"/>
22492244
<Component id="txtExcelSerial" alignment="3" min="-2" max="-2" attributes="0"/>
22502245
</Group>
2251-
<EmptySpace pref="488" max="32767" attributes="0"/>
2246+
<EmptySpace pref="527" max="32767" attributes="0"/>
22522247
</Group>
22532248
</Group>
22542249
</DimensionLayout>
@@ -2364,6 +2359,244 @@
23642359
</Component>
23652360
</SubComponents>
23662361
</Container>
2362+
<Container class="javax.swing.JPanel" name="tabIPFormatConverter">
2363+
<Constraints>
2364+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
2365+
<JTabbedPaneConstraints tabName="IP Format">
2366+
<Property name="tabTitle" type="java.lang.String" value="IP Format"/>
2367+
</JTabbedPaneConstraints>
2368+
</Constraint>
2369+
</Constraints>
2370+
2371+
<Layout>
2372+
<DimensionLayout dim="0">
2373+
<Group type="103" groupAlignment="0" attributes="0">
2374+
<Group type="102" attributes="0">
2375+
<EmptySpace max="-2" attributes="0"/>
2376+
<Group type="103" groupAlignment="0" attributes="0">
2377+
<Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0">
2378+
<Component id="lblIntIP" max="32767" attributes="0"/>
2379+
<Component id="lblDotDeclIP" max="32767" attributes="0"/>
2380+
<Component id="lblDotOctIP" max="32767" attributes="0"/>
2381+
<Component id="lblHexIP" max="32767" attributes="0"/>
2382+
<Component id="lblOctIP" alignment="1" max="32767" attributes="0"/>
2383+
</Group>
2384+
<Component id="lblDotHexIP" alignment="0" min="-2" pref="95" max="-2" attributes="0"/>
2385+
</Group>
2386+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
2387+
<Group type="103" groupAlignment="0" attributes="0">
2388+
<Group type="102" attributes="0">
2389+
<Group type="103" groupAlignment="0" attributes="0">
2390+
<Component id="txtDotOctIP" alignment="0" min="-2" pref="181" max="-2" attributes="0"/>
2391+
<Component id="txtOctIP" alignment="0" min="-2" pref="181" max="-2" attributes="0"/>
2392+
<Component id="txtDotHexIP" alignment="0" min="-2" pref="181" max="-2" attributes="0"/>
2393+
<Component id="txtHexIP" alignment="0" min="-2" pref="181" max="-2" attributes="0"/>
2394+
<Component id="txtIntIP" alignment="0" min="-2" pref="181" max="-2" attributes="0"/>
2395+
</Group>
2396+
<EmptySpace max="-2" attributes="0"/>
2397+
<Group type="103" groupAlignment="0" attributes="0">
2398+
<Component id="btnDecIPConvert" min="-2" max="-2" attributes="0"/>
2399+
<Component id="btnIntIP" min="-2" pref="72" max="-2" attributes="0"/>
2400+
<Component id="btnHexIP" min="-2" pref="72" max="-2" attributes="0"/>
2401+
<Component id="btnDotHexIP" alignment="0" min="-2" pref="72" max="-2" attributes="0"/>
2402+
<Component id="btnDotOctIP" alignment="0" min="-2" pref="72" max="-2" attributes="0"/>
2403+
<Component id="btnOctIP" alignment="0" min="-2" pref="72" max="-2" attributes="0"/>
2404+
</Group>
2405+
</Group>
2406+
<Group type="102" attributes="0">
2407+
<Component id="txtDec1" min="-2" pref="40" max="-2" attributes="0"/>
2408+
<EmptySpace max="-2" attributes="0"/>
2409+
<Component id="txtDec2" min="-2" pref="40" max="-2" attributes="0"/>
2410+
<EmptySpace max="-2" attributes="0"/>
2411+
<Component id="txtDec3" min="-2" pref="40" max="-2" attributes="0"/>
2412+
<EmptySpace max="-2" attributes="0"/>
2413+
<Component id="txtDec4" min="-2" pref="40" max="-2" attributes="0"/>
2414+
</Group>
2415+
</Group>
2416+
<EmptySpace max="-2" attributes="0"/>
2417+
<Component id="lblIPValid" min="-2" pref="256" max="-2" attributes="0"/>
2418+
<EmptySpace pref="722" max="32767" attributes="0"/>
2419+
</Group>
2420+
</Group>
2421+
</DimensionLayout>
2422+
<DimensionLayout dim="1">
2423+
<Group type="103" groupAlignment="0" attributes="0">
2424+
<Group type="102" alignment="0" attributes="0">
2425+
<EmptySpace max="-2" attributes="0"/>
2426+
<Group type="103" groupAlignment="0" max="-2" attributes="0">
2427+
<Group type="103" groupAlignment="3" attributes="0">
2428+
<Component id="lblDotDeclIP" alignment="3" min="-2" max="-2" attributes="0"/>
2429+
<Component id="txtDec1" alignment="3" min="-2" max="-2" attributes="0"/>
2430+
<Component id="txtDec2" alignment="3" min="-2" max="-2" attributes="0"/>
2431+
<Component id="txtDec3" alignment="3" min="-2" max="-2" attributes="0"/>
2432+
<Component id="txtDec4" alignment="3" min="-2" max="-2" attributes="0"/>
2433+
<Component id="btnDecIPConvert" alignment="3" min="-2" max="-2" attributes="0"/>
2434+
</Group>
2435+
<Component id="lblIPValid" max="32767" attributes="0"/>
2436+
</Group>
2437+
<EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
2438+
<Group type="103" groupAlignment="3" attributes="0">
2439+
<Component id="lblDotOctIP" alignment="3" min="-2" max="-2" attributes="0"/>
2440+
<Component id="txtDotOctIP" alignment="3" min="-2" max="-2" attributes="0"/>
2441+
<Component id="btnDotOctIP" alignment="3" min="-2" max="-2" attributes="0"/>
2442+
</Group>
2443+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
2444+
<Group type="103" groupAlignment="3" attributes="0">
2445+
<Component id="txtOctIP" alignment="3" min="-2" max="-2" attributes="0"/>
2446+
<Component id="btnOctIP" alignment="3" min="-2" max="-2" attributes="0"/>
2447+
<Component id="lblOctIP" alignment="3" min="-2" max="-2" attributes="0"/>
2448+
</Group>
2449+
<EmptySpace min="-2" pref="7" max="-2" attributes="0"/>
2450+
<Group type="103" groupAlignment="3" attributes="0">
2451+
<Component id="lblDotHexIP" alignment="3" min="-2" max="-2" attributes="0"/>
2452+
<Component id="txtDotHexIP" alignment="3" min="-2" max="-2" attributes="0"/>
2453+
<Component id="btnDotHexIP" alignment="3" min="-2" max="-2" attributes="0"/>
2454+
</Group>
2455+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
2456+
<Group type="103" groupAlignment="3" attributes="0">
2457+
<Component id="lblHexIP" alignment="3" min="-2" max="-2" attributes="0"/>
2458+
<Component id="txtHexIP" alignment="3" min="-2" max="-2" attributes="0"/>
2459+
<Component id="btnHexIP" alignment="3" min="-2" max="-2" attributes="0"/>
2460+
</Group>
2461+
<EmptySpace min="-2" pref="10" max="-2" attributes="0"/>
2462+
<Group type="103" groupAlignment="3" attributes="0">
2463+
<Component id="lblIntIP" alignment="3" min="-2" pref="17" max="-2" attributes="0"/>
2464+
<Component id="txtIntIP" alignment="3" min="-2" max="-2" attributes="0"/>
2465+
<Component id="btnIntIP" alignment="3" min="-2" max="-2" attributes="0"/>
2466+
</Group>
2467+
<EmptySpace pref="471" max="32767" attributes="0"/>
2468+
</Group>
2469+
</Group>
2470+
</DimensionLayout>
2471+
</Layout>
2472+
<SubComponents>
2473+
<Component class="javax.swing.JLabel" name="lblDotDeclIP">
2474+
<Properties>
2475+
<Property name="text" type="java.lang.String" value="Dotted Decimal IP:"/>
2476+
</Properties>
2477+
</Component>
2478+
<Component class="javax.swing.JTextField" name="txtDec1">
2479+
<Properties>
2480+
<Property name="text" type="java.lang.String" value="192"/>
2481+
</Properties>
2482+
</Component>
2483+
<Component class="javax.swing.JTextField" name="txtDec2">
2484+
<Properties>
2485+
<Property name="text" type="java.lang.String" value="0"/>
2486+
</Properties>
2487+
</Component>
2488+
<Component class="javax.swing.JTextField" name="txtDec3">
2489+
<Properties>
2490+
<Property name="text" type="java.lang.String" value="2"/>
2491+
</Properties>
2492+
</Component>
2493+
<Component class="javax.swing.JTextField" name="txtDec4">
2494+
<Properties>
2495+
<Property name="text" type="java.lang.String" value="1"/>
2496+
</Properties>
2497+
</Component>
2498+
<Component class="javax.swing.JButton" name="btnDecIPConvert">
2499+
<Properties>
2500+
<Property name="text" type="java.lang.String" value="Convert"/>
2501+
</Properties>
2502+
<Events>
2503+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDecIPConvertActionPerformed"/>
2504+
</Events>
2505+
</Component>
2506+
<Component class="javax.swing.JLabel" name="lblDotOctIP">
2507+
<Properties>
2508+
<Property name="text" type="java.lang.String" value="Dotted Octal IP:"/>
2509+
</Properties>
2510+
</Component>
2511+
<Component class="javax.swing.JTextField" name="txtDotHexIP">
2512+
<Properties>
2513+
<Property name="editable" type="boolean" value="false"/>
2514+
</Properties>
2515+
</Component>
2516+
<Component class="javax.swing.JLabel" name="lblHexIP">
2517+
<Properties>
2518+
<Property name="text" type="java.lang.String" value="Hex IP:"/>
2519+
</Properties>
2520+
</Component>
2521+
<Component class="javax.swing.JTextField" name="txtDotOctIP">
2522+
<Properties>
2523+
<Property name="editable" type="boolean" value="false"/>
2524+
</Properties>
2525+
</Component>
2526+
<Component class="javax.swing.JLabel" name="lblIntIP">
2527+
<Properties>
2528+
<Property name="text" type="java.lang.String" value="Integer IP:"/>
2529+
</Properties>
2530+
</Component>
2531+
<Component class="javax.swing.JTextField" name="txtIntIP">
2532+
<Properties>
2533+
<Property name="editable" type="boolean" value="false"/>
2534+
</Properties>
2535+
</Component>
2536+
<Component class="javax.swing.JButton" name="btnDotOctIP">
2537+
<Properties>
2538+
<Property name="text" type="java.lang.String" value="Copy"/>
2539+
</Properties>
2540+
<Events>
2541+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDotOctIPActionPerformed"/>
2542+
</Events>
2543+
</Component>
2544+
<Component class="javax.swing.JButton" name="btnDotHexIP">
2545+
<Properties>
2546+
<Property name="text" type="java.lang.String" value="Copy"/>
2547+
</Properties>
2548+
<Events>
2549+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDotHexIPActionPerformed"/>
2550+
</Events>
2551+
</Component>
2552+
<Component class="javax.swing.JButton" name="btnIntIP">
2553+
<Properties>
2554+
<Property name="text" type="java.lang.String" value="Copy"/>
2555+
</Properties>
2556+
<Events>
2557+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnIntIPActionPerformed"/>
2558+
</Events>
2559+
</Component>
2560+
<Component class="javax.swing.JTextField" name="txtOctIP">
2561+
<Properties>
2562+
<Property name="editable" type="boolean" value="false"/>
2563+
</Properties>
2564+
</Component>
2565+
<Component class="javax.swing.JButton" name="btnOctIP">
2566+
<Properties>
2567+
<Property name="text" type="java.lang.String" value="Copy"/>
2568+
</Properties>
2569+
<Events>
2570+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnOctIPActionPerformed"/>
2571+
</Events>
2572+
</Component>
2573+
<Component class="javax.swing.JLabel" name="lblOctIP">
2574+
<Properties>
2575+
<Property name="text" type="java.lang.String" value="Octal IP:"/>
2576+
</Properties>
2577+
</Component>
2578+
<Component class="javax.swing.JLabel" name="lblDotHexIP">
2579+
<Properties>
2580+
<Property name="text" type="java.lang.String" value="Dotted Hex IP:"/>
2581+
</Properties>
2582+
</Component>
2583+
<Component class="javax.swing.JTextField" name="txtHexIP">
2584+
<Properties>
2585+
<Property name="editable" type="boolean" value="false"/>
2586+
</Properties>
2587+
</Component>
2588+
<Component class="javax.swing.JButton" name="btnHexIP">
2589+
<Properties>
2590+
<Property name="text" type="java.lang.String" value="Copy"/>
2591+
</Properties>
2592+
<Events>
2593+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnHexIPActionPerformed"/>
2594+
</Events>
2595+
</Component>
2596+
<Component class="javax.swing.JLabel" name="lblIPValid">
2597+
</Component>
2598+
</SubComponents>
2599+
</Container>
23672600
</SubComponents>
23682601
</Container>
23692602
<Container class="javax.swing.JPanel" name="pnlCertificate">

0 commit comments

Comments
 (0)